MyBB Community Forums

Full Version: Disable font color for normal users
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!
I'ld like to disable font color menu for normal users in my forum. Only admins and moderators should can use this tool.

Can I use any code in templates such as:

<-- IF_ADMIN_OR_MODERATOR -->
html code
<-- ENDIF ->>
[it's only example]

???

If not, how can I disable this tool for users?
You'll need a plugin to do this. You can have a plugin to add PHP conditionals to templates, but the editor isn't made of HTML, it's javascript, so it won't be as easy.