MyBB Community Forums
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.6
>
1.6 General Support
> Change UID to GID?
Full Version:
Change UID to GID?
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
Clone
2011-10-20, 02:16 PM
if ($mybb->user['uid'] == 0)
Is there anyway to change that code snippet into group and gid?
Because
if ($mybb->group['gid'] == 1)
didn't work.
Nathan Malcolm
2011-10-20, 02:30 PM
if ($mybb->user['usergroup'] == 1)
Clone
2011-10-20, 02:48 PM
thanks a bunch malcolm!
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.6
>
1.6 General Support
> Change UID to GID?