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

Add-on Limit BBCode usage by Usergroup

Discussion in 'Resource and Add-on Requests' started by Arno Nühm, Mar 6, 2015.

  1. Arno Nühm

    Arno Nühm Active Member


    I created a special [MOD]Text[/MOD] BBCode, so that this text gets more attention inside a thread. But it should be only used by Moderators, not by any user.

    Is there any way to limit the BBCode usage by usergroup?

  2. Xon

    Xon Well-Known Member

    I use the addon BbCodes & Buttons Manager by @cclaerhout for exactly that purpose.

    I had a horrible example somewhere for a [mod] tag, but ended up throwing it away as the styling was horrible.
    Arno Nühm and cclaerhout like this.
  3. Xon

    Xon Well-Known Member

    @Arno Nühm I actually found it.

    There are 2 parts.
    • The XF addon part; which creates the template and style properties (please oh please replace the contents, it is an unusable colour).
    • The BBcode Manger XML bits.

    The permission selection bits occur under "Parser permissions" "Editor button" under /admin.php?bbm-bbcodes when you edit a bbcode. You'll need to fix them up, as the direct mapping to user group ids will be nonsensical for your install.

    The attached zip has the two xml bits for an example.

    Attached Files:

    Arno Nühm likes this.

Share This Page