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

XF 1.5 Attempting To Add A New [sarcasm] BBS Code

Discussion in 'Styling and Customization Questions' started by LT Jennifer, Oct 18, 2015.

  1. LT Jennifer

    LT Jennifer Member

    To whom it may concern,

    I want to add a new BBS code. I found the screen where you do that, and I successfully bound [sarcasm] to <font=eufm10>. So far so good. But I need a [/sarcasm] tag bound to </font> to close it off, and it won't allow a / in the name of the tag.

    What do I do?

    My BBS is at www.alemontree.eu . If it asks for a password up front, click on the w.


  2. Liam W

    Liam W Well-Known Member

    You don't need to do that. In the bbcode name, just add sarcasm, and then enter the entire HTML replacement into the replacement box, including the ending font tag.

    It might look like this:

    Screen Shot 2015-10-18 at 10.04.21.png Liam
  3. LT Jennifer

    LT Jennifer Member

    I see I didn't understand how it works. I tried it as you suggest but it still doesn't work -- I think the <font ... > tag is wrong.

    Do you happen to know what should go in there?

  4. Liam W

    Liam W Well-Known Member

    This replacement should work:

    <span style="font-family: eufm10;">{text}</span>

Share This Page