Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Swear Filter

  1. #1
    New Coder
    Join Date
    Jun 2012
    Posts
    36
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Swear Filter

    I'm going to be contructing a site with community interaction, is there any way I can create a 'hotlist' of words that aren't allowed to be entered? If a word that is on that list is written at the time of publishing it's changed to stars.

    For example if the word "CODE" is on the banned list, the following sentence -

    "So how does all this code stuff work"

    Would be changed to

    "So how does all this **** stuff work"

    Thanks

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,667
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    isee (01-17-2013)

  • #3
    New Coder
    Join Date
    Jun 2012
    Posts
    36
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Perfect Thanks. Profanity filter... Easy when you know the correct name for the product.

    Thanks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •