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

custom bbcode that implies a [plain] block?

Discussion in 'XenForo Questions and Support' started by seebs, May 6, 2015.

  1. seebs

    seebs Member

    I'd like to have a custom bbcode which has the same effects as and wraps stuff in HTML tags. (Specifically <tt>, for inline code samples as opposed to code blocks.)

    I can do <tt>{text}</tt>, but bbcode in {text} is still parsed. If I put [plain]{text}, the plain tags show up and the other tags are still parsed. Can this be done without a PHP callback?
     
  2. Mike

    Mike XenForo Developer Staff Member

    You just need to enable the "Stop parsing BB code" option for the custom BB code.
     
  3. seebs

    seebs Member

    Thanks! I had somehow failed to see the "Advanced Options" tab.
     

Share This Page