Be Excellent To Each Other
https://www.beexcellenttoeachother.com/forum/

READ ME: Rude words
https://www.beexcellenttoeachother.com/forum/viewtopic.php?f=3&t=1246
Page 1 of 3

Author:  Grim... [ Wed Jul 09, 2008 9:56 ]
Post subject:  READ ME: Rude words

Hello.
Out of respect for our excellent friends who have strict work browsing policies, I have censored a bunch of rude words.

You can turn this censoring on and off in your profile: click here
ucp.php?i=164
and change the one at the bottom.

Author:  Grim... [ Wed Jul 09, 2008 9:57 ]
Post subject:  Re: READ ME: Rude words

shit fuck arse cunt wanker piss bollocks pussy

Author:  Dudley [ Wed Jul 09, 2008 9:57 ]
Post subject:  Re: READ ME: Rude words

Well that ruined my plan to say "good work commander cuntface"

Author:  Dudley [ Wed Jul 09, 2008 9:58 ]
Post subject:  Re: READ ME: Rude words

Or not :)

Author:  Grim... [ Wed Jul 09, 2008 9:59 ]
Post subject:  Re: READ ME: Rude words

If that doesn't work I'm sending this software back to the manufacturer.

Author:  Grim... [ Wed Jul 09, 2008 10:00 ]
Post subject:  Re: READ ME: Rude words

Phew :)

Author:  Joans [ Wed Jul 09, 2008 10:01 ]
Post subject:  Re: READ ME: Rude words

Just going for a day trip to Scathorpe. Wait, that's even worse. :'(

Author:  Joans [ Wed Jul 09, 2008 10:02 ]
Post subject:  Re: READ ME: Rude words

I don't seem to be able to turn it off?

Author:  Cras [ Wed Jul 09, 2008 10:03 ]
Post subject:  Re: READ ME: Rude words

fuck shit wank

Author:  Cras [ Wed Jul 09, 2008 10:04 ]
Post subject:  Re: READ ME: Rude words

Craster wrote:
fudge sweet wank


Turning off the swear filter in the profile does nothing. They are still filtered.

Author:  Bluecup [ Wed Jul 09, 2008 10:05 ]
Post subject:  Re: READ ME: Rude words

For fucks sake, i don't seem to be able to turn it off either unless you cocksuckers are playing some trick.

Ooo, cocksuckers gets though and so does bastards.

Author:  Joans [ Wed Jul 09, 2008 10:06 ]
Post subject:  Re: READ ME: Rude words

Grim... needs a better swearing dictionary.

Author:  Grim... [ Wed Jul 09, 2008 10:08 ]
Post subject:  Re: READ ME: Rude words

Joans wrote:
I don't seem to be able to turn it off?

Arses. Hang on.

Author:  Bluecup [ Wed Jul 09, 2008 10:11 ]
Post subject:  Re: READ ME: Rude words

I assume it won't filter cock out because cock could be in other words like peacock because fuck and motherfucker both come out as fudge.

This is fun :D

Author:  Grim... [ Wed Jul 09, 2008 10:14 ]
Post subject:  Re: READ ME: Rude words

Not really, it's not working.

Author:  Plissken [ Wed Jul 09, 2008 10:14 ]
Post subject:  Re: READ ME: Rude words

Thank fuck for that.

Author:  Plissken [ Wed Jul 09, 2008 10:16 ]
Post subject:  Re: READ ME: Rude words

It seems to be stuck on.

Twunt.

Author:  Grim... [ Wed Jul 09, 2008 10:16 ]
Post subject:  Re: READ ME: Rude words

Learn to read, twunt :)

Author:  GazChap [ Wed Jul 09, 2008 10:17 ]
Post subject:  Re: READ ME: Rude words

This reminds me of the afternoon I spent at work once writing a word filter for a website. We all had a great time shouting out random expletives to help me compile my list. The boss wasn't pleased.

Author:  myp [ Wed Jul 09, 2008 10:19 ]
Post subject:  Re: READ ME: Rude words

You complete twunt - you've crudged it right up.

Author:  Joans [ Wed Jul 09, 2008 10:20 ]
Post subject:  Re: READ ME: Rude words

Perhaps we should do that now.

Author:  Bluecup [ Wed Jul 09, 2008 10:20 ]
Post subject:  Re: READ ME: Rude words

GazChap wrote:
This reminds me of the afternoon I spent at work once writing a word filter for a website. We all had a great time shouting out random expletives to help me compile my list. The boss wasn't pleased.


I once had to go though a mailing list and try and make sure that some old dear wouldn't receive a letter addressed to a Mrs Fuck-Off or similar. That was a fun afternoon.

Author:  ElephantBanjoGnome [ Wed Jul 09, 2008 10:29 ]
Post subject:  Re: READ ME: Rude words

pull your twatting fucking shitlicking finger out Grim..., I want my swear words back.

Author:  CUS [ Wed Jul 09, 2008 10:29 ]
Post subject:  Re: READ ME: Rude words

I can see the point, but, with my hands slick and lightly damp with the sweaty exertions of my regular morning rod slapping, and whilst my anus does still belch forth great putrid clouds of fetid and rank effluence into the faces of newborn babes... does a sweary filter really work?

Author:  Bluecup [ Wed Jul 09, 2008 10:31 ]
Post subject:  Re: READ ME: Rude words

Bluecup wrote:
I assume it won't filter chicken* out because chicken* could be in other words like peacock because fudge and fudge both come out as fudge.

This is fun :D


Ooo, good work that man you bastard.

Author:  ElephantBanjoGnome [ Wed Jul 09, 2008 10:32 ]
Post subject:  Re: READ ME: Rude words

Wanking isn't filtered. Wank wank wank.

Fscking WANKAH.

Author:  Scarysheep3000 [ Wed Jul 09, 2008 10:34 ]
Post subject:  Re: READ ME: Rude words

Shit piss fuck cunt cocksucker mother-fucker tits.

Author:  Scarysheep3000 [ Wed Jul 09, 2008 10:35 ]
Post subject:  Re: READ ME: Rude words

Titwank! Titwank! Titwank!

Crap dick prick fanny ass bastard.

EDIT "Bastard" is truly excellent. I'll stop now.

Author:  Joans [ Wed Jul 09, 2008 10:35 ]
Post subject:  Re: READ ME: Rude words

What on earth is filtered to Bruce?

Author:  Bluecup [ Wed Jul 09, 2008 10:36 ]
Post subject:  Re: READ ME: Rude words

Joans wrote:
What on earth is filtered to Bruce?

Bastard

Author:  The Rev Owen [ Wed Jul 09, 2008 10:36 ]
Post subject:  Re: READ ME: Rude words

BRUNO DIAZ!

Author:  CUS [ Wed Jul 09, 2008 10:37 ]
Post subject:  Re: READ ME: Rude words

rape murder incest genocide

Also, slitmunching dickslurper, cummy hair all spooged over and bled in, with vile runs of bubbling toss-juice congealing around the pooey hole.

Author:  Joans [ Wed Jul 09, 2008 10:39 ]
Post subject:  Re: READ ME: Rude words

Disappointingly, my scun thorpe = scathorpe post earlier isn't what happens.
scun thorpe = cat.
Word Filters, gotta love 'em.

Author:  Grim... [ Wed Jul 09, 2008 10:40 ]
Post subject:  Re: READ ME: Rude words

Stupid fucking forum :(

Author:  ElephantBanjoGnome [ Wed Jul 09, 2008 10:41 ]
Post subject:  Re: READ ME: Rude words

Fix it or I'm unsubscribing and you'll get no more free consoles from me

Author:  Grim... [ Wed Jul 09, 2008 10:48 ]
Post subject:  Re: READ ME: Rude words

Take a look at this:
Code:
function censor_text($text)
{
   static $censors;
   global $cache;

   if (!isset($censors) || !is_array($censors))
   {
      // obtain_word_list is taking care of the users censor option and the board-wide option
      $censors = $cache->obtain_word_list();
   }

   if (sizeof($censors))
   {
      return preg_replace($censors['match'], $censors['replace'], $text);
   }

   return $text;
}


Code:
   function obtain_word_list()
   {
      global $db;

      if (($censors = $this->get('_word_censors')) === false)
      {
         $sql = 'SELECT word, replacement
            FROM ' . WORDS_TABLE;
         $result = $db->sql_query($sql);

         $censors = array();
         while ($row = $db->sql_fetchrow($result))
         {
            $censors['match'][] = '#(?<!\w)(' . str_replace('\*', '\w*?', preg_quote($row['word'], '#')) . ')(?!\w)#i';
            $censors['replace'][] = $row['replacement'];
         }
         $db->sql_freeresult($result);

         $this->put('_word_censors', $censors);
      }

      return $censors;
   }


Who can spot the deliberate mistake? Fucking Idiots.

Author:  ElephantBanjoGnome [ Wed Jul 09, 2008 10:51 ]
Post subject:  Re: READ ME: Rude words

I can't, but then I have trouble comprehending code other than my own, and even then it's a struggle.

Author:  CUS [ Wed Jul 09, 2008 10:53 ]
Post subject:  Re: READ ME: Rude words

It looks like it needs to be 'function obtain_word_list($censors)' at first glance. Edit: and there's no mention of it being a class variable or global, so yes, that. The twotty spackers. Flids all of them.

Author:  Grim... [ Wed Jul 09, 2008 11:03 ]
Post subject:  Re: READ ME: Rude words

Alright, fixed. Second announcement coming soon.

Author:  ElephantBanjoGnome [ Wed Jul 09, 2008 11:11 ]
Post subject:  Re: READ ME: Rude words

Now of course the forum is filled with far more vulgarity than before, because I've turned my filter off. :DD

Author:  MrD [ Wed Jul 09, 2008 11:16 ]
Post subject:  Re: READ ME: Rude words

Image

Commander Cat.

Author:  Cras [ Wed Jul 09, 2008 11:17 ]
Post subject:  Re: READ ME: Rude words

Uh - I just turned censoring back on to test if it filtered my sig, and it's not filtering anything.

Author:  Malabelm [ Wed Jul 09, 2008 11:19 ]
Post subject:  Re: READ ME: Rude words

Sphincter.

Author:  MrChris [ Wed Jul 09, 2008 11:21 ]
Post subject:  Re: READ ME: Rude words

Um - nothing at all is filtered on BEEX as I can see it here. I have not fiddled with my settings.

Your whatsit is broked.

Author:  Mimi [ Wed Jul 09, 2008 11:25 ]
Post subject:  Re: READ ME: Rude words

Nope, I can see all the many swear words, too.

Author:  MrChris [ Wed Jul 09, 2008 11:26 ]
Post subject:  Re: READ ME: Rude words

Bum! Wee! Poo!

Author:  Joans [ Wed Jul 09, 2008 11:30 ]
Post subject:  Re: READ ME: Rude words

Ha, I assumed you meant you'd fixed the whole thing as it was all showing up ok for me with the censor set to No.
Now you just need to fix it so that it censors everything when pople turn it on. :)

Edit - I hope LaceSensor doesn't try to look at this thread as there's more swearing in these two pages than the rest of the forum (may be an exaggeration).

Author:  MrChris [ Wed Jul 09, 2008 11:31 ]
Post subject:  Re: READ ME: Rude words

Is "flange" a rude word?

Author:  Grim... [ Wed Jul 09, 2008 11:45 ]
Post subject:  Re: READ ME: Rude words

Joans wrote:
Ha, I assumed you meant you'd fixed the whole thing as it was all showing up ok for me with the censor set to No.
Now you just need to fix it so that it censors everything when pople turn it on. :)

None of that made sense to me.

Joans wrote:
Edit - I hope LaceSensor doesn't try to look at this thread as there's more swearing in these two pages than the rest of the forum (may be an exaggeration).

Everything is censored for lacesensor. Nothing is censored for anyone else. I'm working on it.

Author:  MrChris [ Wed Jul 09, 2008 11:49 ]
Post subject:  Re: READ ME: Rude words

Grim... wrote:
Everything is censored for lacesensor.

Awesome.

BEEX as LaceSensor will now see it:

Lacesensor's BEEX wrote:
******** *** ********** ** ****. **** **** ******** ** ***, * ******* ***** **** ***** * ** **** * ** *** ***. *******!

:***:

Page 1 of 3 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/