News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

[WIP] SMF Word Censor Populator

Started by jblazeofek, November 16, 2009, 06:56:39 AM

Previous topic - Next topic

JBlaze

Hey there all!

First off, please note that this script contains 150+ bad words that aren't for young eyes, so if you are sensitive to said words, don't open the script.

I know a few people have been asking why SMF doesn't come standard with a database of "bad words". Well, simple answer is: There's too many!

Anyways, I am starting a small mod that will solve this problem for you so that you don't have to spend countless hours inputting them all in manually. This script will input all "bad words" into your database into the word censor.

My hope is to get a version out for the more prolific languages as well, not just English.

Also, any feedback here can help too, but please don't post any "bad words" here ;D

This works for 2.0 RC3 only. I will work on updating one for 1.1.11 as well.

Thanks,
JBlaze
Jason Clemons
Former Team Member 2009 - 2012

JBlaze

Jason Clemons
Former Team Member 2009 - 2012

Antechinus

Ok, how do you deal with words like "cock"? It has at least four completely different meanings, only one of which is somewhat less than polite.

JBlaze

Quote from: Antechinus on December 21, 2009, 05:44:38 PM
Ok, how do you deal with words like "cock"? It has at least four completely different meanings, only one of which is somewhat less than polite.

That's up to the forum owner :P
Jason Clemons
Former Team Member 2009 - 2012

MrMike

Quote from: Jingle Blaze on November 16, 2009, 06:56:39 AMI could always use some extra help as well finding out all the swears out there.

I recently sprained my ankle very, very painfully...I could provide you with an extensive, fairly creative list based on this experience.  ;)

Liam.

Quote from: Jingle Blaze on November 16, 2009, 06:56:39 AM
I could always use some extra help as well finding out all the swears out there.

Being asked to swear? I'll do it!
I was thinking of doing something similar with less features, but I never got around to it.
A couple of feature ideas.

Blank filter, so "insertrandomswearwordhere" will be " ".
Kerfuffling, or something. So, the F word will become "farg", etcetera.

Arantor

Blank is a bad idea actually. Messes with other stuff that should be left alone.
Holder of controversial views, all of which my own.


JBlaze

Jason Clemons
Former Team Member 2009 - 2012

~DS~

This actually kill freedom of speech. :P
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

vbgamer45

Nice idea! I tried doing something like that on one of my more family based sites lol I changed all the swear words to animal names.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

JBlaze

I want to work on it more later to add customized censors, but for now it works :P
Jason Clemons
Former Team Member 2009 - 2012

~DS~

"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Yağız...


~DS~

Quote from: Yağız... on May 28, 2010, 09:12:38 PM
In the root (next to SSI.php) :)
Thanks, it's not censoring anything at all...
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

JBlaze

Quote from: Dismal Shadow on May 28, 2010, 09:15:24 PM
Quote from: Yağız... on May 28, 2010, 09:12:38 PM
In the root (next to SSI.php) :)
Thanks, it's not censoring anything at all...

Do you have word censor enabled? All it does is add censors to the database.
Jason Clemons
Former Team Member 2009 - 2012

~DS~

Yes it's enabled but not censoring any words unless...?
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

JBlaze

Quote from: Dismal Shadow on May 28, 2010, 09:30:59 PM
Yes it's enabled but not censoring any words unless...?

Do you have word censoring disabled in your profile?
Jason Clemons
Former Team Member 2009 - 2012

TheListener

I had fun changing words in the censor.

Words like 'retard' became leotard and bas***d became mustard.


~DS~

Quote from: JBlaze on May 28, 2010, 09:33:07 PM
Quote from: Dismal Shadow on May 28, 2010, 09:30:59 PM
Yes it's enabled but not censoring any words unless...?

Do you have word censoring disabled in your profile?
"Leave words uncensored." unchecked.  :)

Let's drop this as it isn't a big deal
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

JBlaze

One last thing, see if they are added into the settings table under censor_vulgar and censor_proper
Jason Clemons
Former Team Member 2009 - 2012

Advertisement: