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

XF 1.5 BBCode in Help Pages?

Robust

Well-known member
#1
I guess it's not possible to use BB Code in the help pages. That's fine, but for spoilers it makes it difficult, because the replacement for spoilers is a bit different to a simple replacement, so it'd be a lot of code repetition just to get that going.

Any work arounds or ideas you could suggest to use BB Code in help pages?
 

Mike

XenForo developer
Staff member
#2
Short of custom development, the only option is really to render it to HTML (such as by making a post and viewing the source) and then pasting the result in.
 

Chris D

XenForo developer
Staff member
#4
Personally, I'd go for just calling the bb_code_tag_spoiler template in the help page template, e.g.

Code:
<xen:include template="bb_code_tag_spoiler">
    <xen:set var="$titleHtml">
        I have something to tell you...
    </xen:set>
    <xen:set var="$content">
        It's a secret!
    </xen:set>
</xen:include>
upload_2015-12-30_11-18-29.png