owbussey
Oct 19 2006, 12:48 AM
| | I am goign to start a dynamic site most likly a small blogging site. I was wondering if there was any code that prevented people form typing in certain words? I do not want people to get carried away becuase a lot of people are goign to be usign the site. When peopel see a lot of profanity they exit the page and I do not want that ti happen. Ideally this would be a post like this psot where you would prevent certain words to show up in the post or there would be a warning box that would come up and say you need to modify post becuase of profanity. Is this even possible? |
Reply
jlhaslip
Oct 19 2006, 12:59 AM
Most Forums and CMS 's today have a 'word censor' built in to them which gives you a list of un-acceptable words and their replacement values. Phpbb, IBP all have the script. It is done using sub-string replacement. Simple enough to figure out. Perform the replacement before the information id stored in the file or database, about the same time as you do a strip_slashes or html_entity check.
Reply
Plenoptic
Oct 19 2006, 01:30 AM
Like jlhaslip has told you most forums and CMS have a profanity filter. I know Invision Power Board allows you to choose which words you want to be filtered and you can add on at any time. After doing a little search I found a tutorial on how to make on yourself. http://www.phpfreaks.com/tutorials/122/0.phpI am not sure if this is will fit in with what you are trying to do but hopefully it can help point you in the right direction.
Reply
seez
Apr 7 2007, 09:45 PM
Yes, there must be a script that can block profanity in a post. But I don't know what it is.... so sorry... and I know it's probably unlikely, but see if you can use HTML or PHP or some other code to block profanity in a post. It is good however, that you want to do this.
Reply
Similar Topics
Keywords : scipt, blocks, profanity, post
- Trap17's 400000th Post Giveaway!
(12)
My Thoughts On Few Browsers
A quick review on browsers I've tried (post your own too) (2) Ok, I currently use Firefox 3 because I think it has the most features, security and it is fast!
I thought I should start a topic (and I don't know if there is one like it) in which I talk, and
you guys too, about the browsers that are out there for any OS. So, I'm going to start off by
saying a few things about internet browsers that I have tried in the past. Internet Explorer
(Windows)- This is build into Windows when you first turn on your computer. I think it starts up
fast, but has a few flaws- which I will reach in a minute. The things that I like are....
Post Your Banners Here
Banner Topic (3) I will show you my sigs and banners and you post yours. Please rate. Other is in my Sig....
How To Make A View New Post Script?
(5) Ok so i'm still working on the forum software i posted about a while back, but I have no idea
how to do this. I want to make a view new post script, as this is one of the main things that my
forum software dose not have that all other forums have. so does any body have an idea on how i
would do this? Thanks.....
Posts To Mailing List Are Blocked
Every post to the mailing list returns a Delivery failure notice. (1) The mailing list appears to be intact but every attempt to post to it receives a Delivery failure
notice. Here are 2 examples from 2 different emails. QUOTE
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ---------------------------------EXAMPLE
NOTICE #1--------------------------------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> This is an automatically generated Delivery
Status Notification Delivery to the following recipient failed permanently:
future@renaissance.trap17.com Technical details of permanent failure: PERM_FAILURE: Gm....
Kobra's Php Project Official Post
(2) Kobra500's PHP Project This is the Official Post for My Project to Learn PHP. Below
is the list of things I will do... Thanks to KansukeKojima and Jlhaslip QUOTE *
Redirect a page with php * Parse a variable. * Build a random page title chooser....
* Build a template in php and parse it AROUND the content of a page. * Create a flat file
shoutbox. * Create a shoutbox with a database. * Read the list of files in a directory *
List the images from that list * Display those images as thumbnails with ....
I Suppose I Should Post Something Here
Hello (2) Yes indeed. I am new. This seems like a great site. unfortunately there does not seem to be many
people on at 4:30am. I looked around the site, made a couple of different posts, then after a while
I noticed I had made the last three posts. But that is beside the point. I am new to these forums,
and I am interested in seeing what they have to offer. Have a great day everyone.....
Trap17 Dynamic Recent Post/topic Image
(17) Some may remember a while back I created a dynamic image that would tell you your post count and
last active for trap. It had a bit of a run but then died off. It just wasn't very useful.
BUT NOW I am presenting the most epic trap17 image Ever. This one is SUPER customizable and already
works for ALL MEMBERS ! It is designed to be put in your sig so other members can see the
recent topics you have written. It is still in early early beta stage but soon it will have the
date posted along with some other cool features. So I'm sure you are all excited t....
Post Some Wierd Experiences At Night You've Had In Here.
WIERD!!! (2) Here are a couple of Experiences I've had at night. I was 2 years old living in British
Columbia, Canada. I lived in a two story house, all of the bedrooms where we slept were upstairs. My
parents told me that I slept in their room in a crib right beside the window, they also said that if
I stood up, I could look outside and see our front door. Not many people remember what happened when
they were at the age of 2, but this is one very vivid memory that I have yet to forget. It was late
at night and I had just awoken from my sleep, I had a tendency not to cry when ....
What Is Post-traumatic Stress Disorder
(1) On Monday May 5th I will be giving one of the biggest, and hardest speeches of my life, and I
thought I would give everyone a better that soldiers are not the cruel and EVIL people that some of
these idiots out there talk about. Also since I am giving my story for the first time, I except a
little respect on this topic. I don't care where you live or what your views are but attack me
personally and expect to be severally punished for this is about inform people not so people can be
judgmental. Post-traumatic Stress Disorder is a soldier’s worse nightmare. We hav....
Post It!
(3) Has anyone ever drawn picture in every post it and replay it by flipping the post its really fast. I
got it from my friend and it is really awesome. It helps to make the picture easier, because if you
do it detailed. The picture or show would take longer to make with every post it having to be
similar......
Ever Got Scammed?
Did anyone ever fool you or did you get scammed? Post you story here (2) There have been a lot of scam in runescape. (It has been fixed since the update) Did someone scam
you? How, and what did you lose?....
Question Regarding Cpanel Backup
Will my CN post be saved, too? (4) Hello. I have been wondering for this a while now, just never dared to ask. I use CuteNews at my
site, and my question is that it I use tha backup function at my cpanel, will all my CuteNews posts,
news and everything also be "backed up"? So if the server crashes or something I can use the backup
to restore all my files? Thank you!....
Can Anyone Post Your Free Site To Show Samples?
(8) Hello, I'm new here and was just curious if we can see some of the sites made by the users. I
think it would be interesting to see how creative they made their sites on the web hosting services
provided here. Thanks! /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
alt="smile.gif" />....
Post Rating Module Installed
Rate member posts (38) hey everyone, i know opaque worked pretty hard to set up the new rating system (eRate! mod for
ipb), however i believe it should be removed. my reasons: 1. people can abuse the system by rating
people badly, just for the fun of it 2. to see a post's rating, you must actually click on the
'list' link, which i believe is inconvenient, because if i'm flicking through posts and
wanna see the good ones, i'd like to see their rating without having to click on a link. 3. i
actually believe the rating system is a bad idea - it is pointless, because it i....
Dreamweaver Cs3 Help With Php
dunno where to post topic. webdesign based but software? (1) i have installed cs3 and its good with html and such but when im previewing .php files its showing
not connected to internet. do i still need to install php,mysql and such? xamp right?....
Windows Vista Sp1 Blocks Antivirus Programs
(5) Well it seems this is the first major problem for Vista SP 1 in the sense for those who have the
following Secuirty Suites installed on your ocmputer that is running Vista. They block the
following programs; Zone Alarm Security Suite 7.1, Trend Micro Internet Security 2008, BitDefender
10, and the 2008 version of the Jiangmin antivirus. As for the reason why these programs don't
work, Microsoft says "they are incompatible and so they must be block". Well not exactly like that
but you get the point they also mention that other small programs might now work either b....
Post Your Favorite Easy To Make Meal.
add ingredients and instructions (16) Heres mine =) TATER TOT HOTDISH Ingredients. A bag of tator tots. 2 cans of cream of mushroom
soup (any cream soup can be substituted for optional flavor) 2 lb. of ground beef 1 can of corn (or
any other desired vegetable(s)) Instructions. Cook the hamburger and strain the fat. Spread the
hamburger into a baking dish then pour the soup and can of vegetables over. Stir until mixed well.
Cover the mixture with tator tots and Bake for the amount of time it says for the tator tots to get
done and add 5 minutes. (or until mixture is boiling and tator tots are crisped.)....
What Movies Are You Waiting For
just post a reply about what movie your wait to come out. (33) what movie are you just waiting for to come out. i want spider man 3 to come out thts what i wanna
see spider man 3.spidy to the rescue lol....
What Football Team Is Your Favorite?
Post here (44) If you have a favorite football team than post here i got alot i do and stuff so i will only check
this maybe once or twice a week so...My favorite team would be the new orleans saints for the NFL.
My favorite for AFL is the Orlando Predators.For the EFL(Eurpoean Football League) i have to say
Amsterdam is the best that or the Galaxys if anyone would like to sign up for my Football Newsletter
than e-mail me but ask me for my e-mail thanks....
What Kind Of Script Do You Need ?
post here and get free script (15) Hi everybody sorry if i posting here , i know I want design free PHP script and i dont know
webmasters what kind of scripts want i think its better to aks here becuase trap17 is very nice
webmasters forum So , Plz post here what kind of script with details you need ! sorry may en
is not very well for example you need "upload center" : write "upload center" with upload center
options ( like Ajax , Fast , multi lan and ... ) with this post we can give script details and
webmasters idea /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.....
W810
Post Here All info about this phone (7) Hi Dears today i buy W810 , but i think here many user use nokia phones , i *BLEEP* make this topic
about w810 info ( codes , nice tem ( not free ) , ringtone ( notfree ) , games ( woow i like it ) )
share your think about w810 phone and options for example my first question is : how can fix w810
to read wma File /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />(
its very funny its walkman with out read wma file thanks all....
Get Paid To Post On Forums?
Links, Resources for Pay for Writing, Earn from Forums (17) Get Paid to Post on Forums I have seen these all over, could people maybe give me a
short list on where I could post on forums and get paid? I am a freelance writer, and I know this
is one option. I tried searching it, but word of mouth always works best. Thanks in advance!
Note: Please move if needed, I wasn't sure if I should do it in the Make Money forum, or not.
At Trap17.com - This very site, You get paid in terms of CREDITS. These credits are used to keep up
your Web Hosting account (which we give for FREE). The Web Hosting is of top ....
Where In The World Are You From?
vote and post (81) Well seeing as how many people come from different backrounds, I just wanted to know where
everyone is located. Due to the fact that we all are from different locations. So when I am on in
the morning some people are just going to sleep. So when do you think we get the most traffic to
the site, and where are people located the most, in Europe, Middle East, North America, South
America, Australia? For me is the United States, the people that get critized the most, are
obsessed with fighting in Iraq and military power, have a crappy President ( /ph34r.gif" style="v....
Post Your Server Ips
(10) Well first off Im the leader Of TEAM|EXT Some clan's may know us some won't if you don't
play cal or on my server Here is my public server 100*tic San diego IP= teamext.ventgaming.com ....
What's Your Favorite Song?
post the lyrics to it (24) Artist: Trapt Title: Headstrong Album: Trapt Lyrics: QUOTE Circling your head contemplating
everything you ever said Now I see the truth I got a doubt A different motive in your eyes and now
I'm out See you later I see your fantasy you want to make a reality paved in gold See inside,
inside of our heads yeah Well that's over I see your motives inside decisions to hide Back
off I’ll take you on Headstrong to take on anyone I know that you are wrong Headstrong we're
Headstrong Back off I’ll take you on Headstrong to take on anyone I know ....
Cs Glitches
Post Them Here (19) Hey, I am sure there are many glitches on CS (unless you were clever enough to sort them), post the
ones you have found here /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' />
Heres one I noticed. If you use the M4 without the silencer, then you die, when you see your weapon
on the floor next too you it suddenly has the silencer on it /wink.gif' border='0'
style='vertical-align:middle' alt='wink.gif' /> /biggrin.gif' border='0'
style='vertical-align:middle' alt='biggrin.gif' /> ~ Munchie ~....
The Most Annoying Website
post the most annoying website you've encountered here (57) As you know, there are quite a few websites out there, some are professional while others are not so
professional. This is where you come in. Have you ever been to a website where it was so bad that
you had to use your hands to cover the annoying content? I know I had. This website that I visited
today , in my opinion, tops the list in annoying websites. The links (and there are a lot of them)
blinks. That's right, this author uses the tag so all links blink. Because of this technique,
the majority of the site is very hard to read which is why I nominate http://....
Halo 2 Glitches
Post your halo 2 glitches here. (48) Do any of you guys know any glitches for halo 2 on Xbox Live?....
**** Read Before You Post! ****
THIS MAY AFFECT YOUR HOSTING CREDITS (47) These rules were re-written by Dooga THESE RULES ARE IMPORTANT! FAILING TO READ THESE NOTES
WILL RESULT IN YOUR HOSTING CREDITS TO BE DEDUCTED! This forum is a forum to post tutorials
that YOU have written. You are NOT allowed to post a tutorial copied from another site,
regardless of any reference you make! (However, you may PARAPHRASE it with correct
referencing). Your tutorial is going to be moderated (that means, anything you post won't be
viewable until a moderator has accepted it). Do not re-post your tutorials if they don't show
up&....
Looking for scipt, blocks, profanity, post
|
|
Searching Video's for scipt, blocks, profanity, post
|
advertisement
|
|