MyBB Community Forums
MyBB Community Forums
>
Extensions
>
Plugins
>
Plugin Support
> How to check user group
Full Version:
How to check user group
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
deniol13
2010-03-25, 06:32 PM
I need to check if user is a moderator or not, how can i do that from PHP level ?
Matt
2010-03-25, 06:34 PM
if(is_moderator()) or if($mybb->usergroup['canmodcp'] == 1)
MyBB Community Forums
>
Extensions
>
Plugins
>
Plugin Support
> How to check user group