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

Restrict certain BB Code for Admin only?

Discussion in 'XenForo Questions and Support' started by Vishal Rao, Aug 3, 2012.

  1. Vishal Rao

    Vishal Rao Member

    Is there a way to restrict certain BB Code for Admin/Moderator only? Say font size/color for example?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. Vishal Rao

    Vishal Rao Member

    I have that Jake and it's really a boon to restrict images, etc. in the signature. However, I wanted to be able to restrict certain BBCodes in the post body or make available only for Admin. I think an if (user is admin) statement before parsing the BBCode in the appropriate file could do the trick.

Share This Page