This is coming soon!

Word censor parsing ?

Discussion in 'XenForo' started by Dorfy, Feb 29, 2012.

Oh noes!

You need 20 posts to be able to download resources, post links and other things. Read more...
  1. Dorfy Review Team

    Does anyone know how to make the "Alternative Word" field in the word censor accept HTML, I want to use it to set up automatic anchor text.
  2. forumhookers Active Member

    Can't understand :(
  3. Darthmaul Uncle Darth

    I don't quite understand what you're trying to say here, either, @Dorfy ...
  4. Dorfy Review Team

    Ok heres what I think is an explanation.

    We are talking Xenforo :

    When you use the word censor you have two fields
    The first field is for the word you want censored for example you want to censor the word "Poo"
    In the second field you now enter the word that will automatically replace the word "Poo", when it is typed.

    In phpBB3 you can parse the replacement word like this

    HTML:
    [url=http//www.manutdreds.net]Replacement word[/url]
    This allows you to use the word censor to set up automatic anchor text links.

    EG:
    If I want to link to the Wayne Rooney page on Wiki I would do this in the word censor

    Censored word would be "Wayne Rooney"

    Replacement would be this :
    HTML:
    [url=http://en.wikipedia.org/wiki/Wayne_Rooney]Wayne Rooney[/url]
    a much easier way of setting up internal links ( which google loves)
  5. Darthmaul Uncle Darth

    Ah I see now :)
    I think it was the wording that got me ;) Not so sure about XF's support of this quite yet, haven't played around with it quite yet ;)