SMF For Free Support Forum
Signup For Free Forum
November 21, 2008, 07:57:54 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1] 2
  Print  
Author Topic: word censor  (Read 1059 times)
0 Members and 1 Guest are viewing this topic.
MR.SATAN
SMF For Free Member
*
Offline Offline

Posts: 61



View Profile WWW
« on: August 13, 2008, 07:41:15 pm »

I have noticed that meny of my members avoid the word filter on my forums by useing the code of bold or underline in the middle of the word.

For example lets assume the word sponge is filtered they would get around this by doing the following.

Code:

s[b][/b]ponge


Is it possible to make it so [ b] etc cant be used unless there is something contained between them?

Obviously I don't want to filter the word sponge it was just an example, I wouldn't like to post any of the words that I want to censor.
Logged



simply sibyl
Global Moderator
*
Offline Offline

Posts: 9133


Please do not PM me for Support


View Profile WWW
« Reply #1 on: August 13, 2008, 07:50:28 pm »

blech no matter how you try to censor words they will always find another way around it
Logged

ccbtimewiz
SMF For Free Newbie
*
Online Online

Posts: 17



View Profile WWW
« Reply #2 on: August 13, 2008, 08:22:02 pm »

What I did was use a preg_replace in the post(); function in combination with strip_tags. So any BBcode used, the tags will be stripped and the words will be replaced.

Though other alternatives are quite meaningless as people look for other ways to circumvent word filters.
Logged

ccbtimewiz
Simple Machines Support

MR.SATAN
SMF For Free Member
*
Offline Offline

Posts: 61



View Profile WWW
« Reply #3 on: August 14, 2008, 05:35:00 pm »

blech no matter how you try to censor words they will always find another way around it

some times i think the worst part about forums is the fact that people sign up.
Logged



simply sibyl
Global Moderator
*
Offline Offline

Posts: 9133


Please do not PM me for Support


View Profile WWW
« Reply #4 on: August 14, 2008, 06:20:54 pm »

lol
Logged

Lucas A33
SMF For Free Full Member
*
Offline Offline

Posts: 128


View Profile
« Reply #5 on: August 15, 2008, 03:32:23 pm »

It wouldn't stop them Then. They can use
Sponge and the word still not filtered
Logged

Stitch
SMF For Free Full Member
*
Offline Offline

Posts: 215


VMK will always remain in my heart.


View Profile WWW
« Reply #6 on: August 15, 2008, 05:58:52 pm »

heres what i have i dotn have any words censored if someone puts 1 ill edit it and give them a warning they do it again they get a ban if alot of people do it then i will censor words and remove BBC code see how they like that.
Logged

Celebrus
SMF For Free Hero
*
Offline Offline

Posts: 815


Previously known as Omikron


View Profile WWW
« Reply #7 on: August 17, 2008, 06:17:18 am »

To be honest, if someone doesn't stop using profanity even after being told to, they obviously want to create trouble and your site can do without them after all. You should be able to moderate a small board yourself, and when it reaches a stage where you can't is when you need to start looking for staff. Auto censoring is never worth it imo. Occasionally, words that don't need censoring get censored* and there are ways around it.
* It used to be set up on Simple Machine Codes so that it doesn't censor only individual words, even when it is a part of another word. So, you couldn't spell out class without half the word vanishing.
Logged


||
Lucas A33
SMF For Free Full Member
*
Offline Offline

Posts: 128


View Profile
« Reply #8 on: August 17, 2008, 06:29:44 pm »

I think I can code a word censor, But since it is going to be my first code, Ittl take a while
Logged

MR.SATAN
SMF For Free Member
*
Offline Offline

Posts: 61



View Profile WWW
« Reply #9 on: August 17, 2008, 06:38:54 pm »

cool but if it uses java script couldn't they avoid it by turning it off for the browser?
Logged



+JwD.Sharp
SMF For Free Hero
*
Online Online

Posts: 891


Winning isn't everything, but wanting to win is.


View Profile WWW
« Reply #10 on: August 17, 2008, 06:47:51 pm »

cool but if it uses java script couldn't they avoid it by turning it off for the browser?

 I am no coder but I do believe it is possible.
Logged



MR.SATAN
SMF For Free Member
*
Offline Offline

Posts: 61



View Profile WWW
« Reply #11 on: August 17, 2008, 06:50:57 pm »

I can do html and the most basic css and that's it, still cant hurt to try
Logged



Lucas A33
SMF For Free Full Member
*
Offline Offline

Posts: 128


View Profile
« Reply #12 on: August 21, 2008, 04:39:42 pm »

Code Completion for Word Senser: 10%
Like I said, Its going to take a while.
Logged

Lucas A33
SMF For Free Full Member
*
Offline Offline

Posts: 128


View Profile
« Reply #13 on: August 21, 2008, 04:42:26 pm »

Estimated Time Remaining: 2 weeks
Logged

tytyt
SMF For Free Member
*
Offline Offline

Posts: 32


View Profile
« Reply #14 on: September 04, 2008, 05:45:05 pm »

ohh 2 weeks but its different now I think hopefully! lol
Logged


Pages: [1] 2
  Print  
 
Jump to:  

cheap low cost web hosting reviews

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.46 seconds with 17 queries.