1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Replacing censored words with "nothing"

Discussion in 'XenForo Questions and Support' started by bogus, Aug 23, 2012.

  1. bogus

    bogus Guest

    I would like to add some censored words/phrases in Xenforo´s Censoring Options but instead to replace a censored word/phrase with anything less offensive I just want to make it "disappear" means replace with a space or similiar... Is that possible?
  2. Chris D

    Chris D XenForo Developer Staff Member

    You can have space as your censor character. But continuous spaces only display one space.

    So this is a ****ing censorable word


    So this is a ing censorable word.

    Multiple spaces aren't supported in HTML in general when used like that.

    I'd suggest the replacement character being _ looks better IMO:

    So this is a ____ing censorable word.
    Jake Bunce and CyclingTribe like this.
  3. bogus

    bogus Guest

    Its a whole Text i want to get rid off, so a space might be better.... Thanks for your Help

    Edit: Is there a way to use joker. Like... Words to Censor: I want to *

    If someone writes "i want to read a book" this gets "vanished"?!
  4. Neil E.

    Neil E. Active Member

    For a longer blank, you might try inserting a "space"+"non-breaking space"+"space"+"non-breaking space" as needed to get a wide actual space

    "space" = spacebar

    "non-breaking space" = &nbsp

Share This Page