Is There A Scipt That Blocks Profanity In A Post?

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > Others

Is There A Scipt That Blocks Profanity In A Post?

owbussey
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
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
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.php

I 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
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



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. invision power board block posts string - 765.96 hr back. (1)
Similar Topics

Keywords : scipt, blocks, profanity, post

  1. Heloo
    An Introductory Post (4)
  2. Welcome Post
    Hello and Hi (4)
    Hi and Hello This is my welcome post. So Hi everyone....
  3. First Post In Over Two Years...
    WOOP! (3)
    Hey guys... I guess, I BACK! wow, feels weird.. anyway anyone fill me in on whats
    happened here over the last two years? /tongue.gif" style="vertical-align:middle" emoid=":P"
    border="0" alt="tongue.gif" /> Coolio. ....
  4. How About Some Lymerics
    This is really funny... post yours too (1)
    She stood on the bridge at midnight her lips were all a quiver She gave a cough her leg fell off and
    floated down the river....
  5. Nfl Thread
    post your nfl news, thoughts and predictions here! (0)
    AFC North 1) Cleveland Browns 2) Pittsburgh Steelers 3) Cincinnati Bengals 4) Baltimore Ravens AFC
    South 1) Indianapolis Colts 2) Houston Texans 3) Jacksonville Jaguars 4) Tennessee Titans AFC
    East 1) New England Patriots 2) New York Jets 3) Buffalo Bills 4) Miami Dolphins AFC West 1) San
    Diego Chargers 2) Denver Broncos 3) Kansas City Chiefs 4) Oakland Raiders NFC North 1) Minnesota
    Vikings 2) Green Bay Packers 3) Detroit Lions 4) Chicago Bears NFC South 1) New Orleans Saints 2)
    Carolina Panthers 3) Tampa Bay Buccaneers 4) Atlanta Falcons NFC East 1) Dal....
  6. Trap17 Gets Supernatural: Topics Disappear!
    We post byt we cannot see it and others cannot read it! Why? (7)
    To whom it may concern, Dear sir, Strange things happen after the rollback thunder and it still
    makes things disappear. No logic at all. Today I posted a topic about Safari we browser . The link
    is there on the forum list but I just cannot open my own post. Elf? UFO? Rollback? Whatever it
    is, it gave me the following error: Board Message CODE Sorry, an error occurred. If you are
    unsure on how to use a feature, or don't know why you got this error message, try looking
    through the help files for more information. The error returned was: Sorry, some r....
  7. Your Dreams
    Had any Dreams lately? Post them here if you remember them. (1)
    Had any Dreams lately? Post them here if you remember them. /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> I'll start with my
    dream. /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />
    Well, my dream this morning around 11:00 AM was crap tbh. But here goes: I was continuously
    killing hundreds of police officers, with an Assault Rifle, one of those M4's or AK's... I
    was In a really good camouflaged spot, so the Police could not find me, also it was a little dark,
    and all... ...anyw....
  8. Post Dem Pics
    (0)
    This is all I have for now. I was like 9 or 10 in this pic.....
  9. Alex's 1,000th Post Topic
    (7)
    When I first joined trap17 almost 3 years ago, I really had no idea that I'd still be here today
    posting. I was looking for a free hosting mainly because I didn't have a job, and I didn't
    want to ask my parents for money for hosting a website. As soon as I was making income, I moved on
    to paid hosting, and I thought at that point I would never return to trap17. And I did go away for
    a while, only coming back to ask the occasional question, however I did something I never would have
    guessed that I would do: I started posting regularly on trap17, not for fr....
  10. How Many More Times Will I Have To Post About This?
    Problem just keeps lingering (11)
    I am wondering how many more times I will have to post about a problem that has been going on for
    far too long now. I know it might not help nagging about it here, but I have submitted tickets,
    which do not even get answered, while the problem happily lingers on. To be quite honest, I am
    really getting enough of it now. What are Xisto/Trap 17 up to? Ever since the server migration,
    there have been nothing but problems, and what is more, I am beginning to get the impression the
    powers that be could not care less, as they do not reply to your tickets, and the problems do ....
  11. Post Your Cs Pictures!
    (0)
    Post your Counter-Strike Picture/Screenshots here. Weather they are from Counter-Strike 1.6,
    Condition Zero, or on Source. I'll post mine: I don't know why I did this, on my CS:S
    server. I was bored. /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
    alt="biggrin.gif" /> Now, post your best pictures of your game. /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> I'll get more soon,
    meanwhile I think I'll find some more. /smile.gif" style="vertical-align:middle" emoid=":)"
    border="0" alt="smile.gif" ....
  12. Post Your Counter Strike Or Cs:s Stories Of Ownage!
    olollololololo (0)
    Once, when I was left by myself, and I had an awp on gungame, and I saw a guy, so I shot. It killed
    him and 2 other guys behind him! It was so awesome! I was alone vs 5 other people, so I
    just started on a rampage, killing 4 of them, before getting killed myself /sad.gif"
    style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> I was in a knife fight, and I
    had 1 hit vs the other guy's 2 hits. He was chasing me and I was running away. I finally turned
    around and got him once, then I got him Again, and I won the game! Post your awesome sto....
  13. Pc Keeps Freezing - Help Please! Xd
    will try to post as much info as possible (6)
    I've got the typical problem of my PC freezing up, and me not being able to do anything but turn
    it off using the power button. There seems to be no link between the freezing, except it always
    happen when i play Guild Wars. but it also happens when I'm not playing it. One thing I have
    noticed is that when it's frozen, the "loading light" on the front of my pc is always on, not
    flickering, but fully on. So i'm guessing my PC's doing too much work and freezes.
    Here's a link to the DxDiag information My setup (as I know it) is: QUOTE Process....
  14. Post Or Get Method
    Explains the difference between the two. (4)
    Ok, I assume you know the basics of forms in html. There are two methods that you can use when
    creating a form in HTML. They are post and get, as in: QUOTE   or: QUOTE   One
    thing is that if you don't specify a method, then the Web server assumes that you are using the
    GET method. So what's the deal? They do the same thing right? Well, almost. You may have noticed
    that the URL looks a lot longer after you submit a form that uses the get method. For example, you
    may see something like: QUOTE http://trap17.com/gamer.php?name=god&a...laying....
  15. Trap17's 400000th Post Giveaway!
    (12)
    As Jlhaslip pointed out in the shoutbox, trap17 has reached 400,000 posts! AND THIS IS IT!
    THE 400,000th post! I was actually looking for a reason to start up another giveaway and now
    I have one! There are 60 credits up for grab! Now those 60 aren't going to all be
    given away to one person. Below I have a crossword puzzle with 30 trap17 related questions. So
    here is the challenge: find as many words as you can. For every word you find you will be given 2
    credits. Make sure to list your answers in quote tags and add a paragraph or tw....
  16. 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....
  17. Post Your Banners Here
    Banner Topic (7)
    I will show you my sigs and banners and you post yours. Please rate. Other is in my Sig....
  18. Post Some Wierd Experiences At Night You've Had In Here.
    WIERD!!! (4)
    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 ....
  19. 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?....
  20. 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....
  21. Ptsd (post Traumatic Stress Disorder)
    post your PSTD experiences & info here (4)
    I have PTSD from a very serious accident my son and I were in 3 years ago and its very difficult to
    deal with if you are not in touch with others who suffer from the same disorder, regardless of how
    it came about. So this thread is for everyone trying to cope with any form of PTSD.....
  22. Best Plot Twist
    Post the best in-game plot twists you've encountered (2)
    So, it's pretty self explanatory, just post the most amazing plot twist in a game you've
    played. Please try to be detailed because someone may not have played the game. I'll go first
    to give you an idea: In Star Wars: Knights of the Old Rebublic, you end up being faced with the
    challenge of ridding the galxy of the evildoer, Malak. Malak rises to first in command when he
    shoots the ship containing Revan, his master, and the jedis who were attemting to capture Revan. As
    you go through the game you learn that Revan was killed in the blast, but that the jedis w....
  23. What Movies Are You Waiting For
    just post a reply about what movie your wait to come out. (34)
    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....
  24. What Football Team Is Your Favorite?
    Post here (45)
    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....
  25. Advice On Impressing Someone In My Class
    in post (8)
    Ya well basically i need help with impressing/asking out someone, i have plety of oppurtunities in
    my 4th hour class she sits behind me in my 5th hour class she sits to the right of me and in 6th
    hour she sits diagonal to me so i have oppurtunities to talk to her but i dont know what to do,last
    time i had a crush on someone i never built up courage to ask her out or talk to her much and i
    ended up just like hating myself whenever i saw her...not like hitting myself lol jus mentally and i
    ended up just hating it whenever i saw her for 2 years and i finally just let it go ....
  26. 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 ....
  27. Cs Glitches
    Post Them Here (21)
    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 ~....
  28. Free Mmorpgs
    post free MMOrgs here (62)
    have any post them here and their website....
  29. Halo 2 Glitches
    Post your halo 2 glitches here. (51)
    Do any of you guys know any glitches for halo 2 on Xbox Live?....
  30. **** Read Before You Post! ****
    THIS MAY AFFECT YOUR HOSTING CREDITS (48)
    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&....

    1. Looking for scipt, blocks, profanity, post

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for scipt, blocks, profanity, post

*MORE FROM TRAP17.COM*
Similar
Heloo - An Introductory Post
Welcome Post - Hello and Hi
First Post In Over Two Years... - WOOP!
How About Some Lymerics - This is really funny... post yours too
Nfl Thread - post your nfl news, thoughts and predictions here!
Trap17 Gets Supernatural: Topics Disappear! - We post byt we cannot see it and others cannot read it! Why?
Your Dreams - Had any Dreams lately? Post them here if you remember them.
Post Dem Pics
Alex's 1,000th Post Topic
How Many More Times Will I Have To Post About This? - Problem just keeps lingering
Post Your Cs Pictures!
Post Your Counter Strike Or Cs:s Stories Of Ownage! - olollololololo
Pc Keeps Freezing - Help Please! Xd - will try to post as much info as possible
Post Or Get Method - Explains the difference between the two.
Trap17's 400000th Post Giveaway!
My Thoughts On Few Browsers - A quick review on browsers I've tried (post your own too)
Post Your Banners Here - Banner Topic
Post Some Wierd Experiences At Night You've Had In Here. - WIERD!!!
Ever Got Scammed? - Did anyone ever fool you or did you get scammed? Post you story here
Windows Vista Sp1 Blocks Antivirus Programs
Ptsd (post Traumatic Stress Disorder) - post your PSTD experiences & info here
Best Plot Twist - Post the best in-game plot twists you've encountered
What Movies Are You Waiting For - just post a reply about what movie your wait to come out.
What Football Team Is Your Favorite? - Post here
Advice On Impressing Someone In My Class - in post
Get Paid To Post On Forums? - Links, Resources for Pay for Writing, Earn from Forums
Cs Glitches - Post Them Here
Free Mmorpgs - post free MMOrgs here
Halo 2 Glitches - Post your halo 2 glitches here.
**** Read Before You Post! **** - THIS MAY AFFECT YOUR HOSTING CREDITS
advertisement



Is There A Scipt That Blocks Profanity In A Post?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE