MyBB Community Forums

Full Version: Identify a group leader through code?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know if I want to identify all members of a group for an if statement I'd use something like this

if $GLOBALS['mybb']->user['usergroup'] == 22 then....

But is there a way through code to identify the group leader of usergroup 22?