MyBB Community Forums
MyBB Community Forums
>
Extensions
>
Plugins
>
Plugin Support
> How to detect Admins/Moderators in the template?
Full Version:
How to detect Admins/Moderators in the template?
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
expat
2015-09-29, 12:49 AM
How do I detect Admins/Moderators in the template?
if usergroupID == x ? or is there a more elegant solution?
thanks
Leefish
2015-09-29, 11:00 AM
The if else construct is from a plugin; moving to plugin support.
expat
2015-09-29, 11:52 AM
if you using phptemplate
$mybb->user['usergroup'] == 4
MyBB Community Forums
>
Extensions
>
Plugins
>
Plugin Support
> How to detect Admins/Moderators in the template?