MyBB Community Forums

Full Version: Is that PHP expression valid??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
if($mybb->user['gid'] == "1")

I mean, I want to check if the user's Group ID is equal to 1, is there a $mybb->user['gid'] variable??


PS: How can I find further MyBB variables in the future? Huh
if($mybb->user['usergroup'] == 1

this might help : MyBB variables List - Question
oh thank you very much