MyBB Community Forums

Full Version: Change UID to GID?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
if ($mybb->user['uid'] == 0)

Is there anyway to change that code snippet into group and gid?

if ($mybb->group['gid'] == 1)

didn't work.
if ($mybb->user['usergroup'] == 1)
thanks a bunch malcolm!