MyBB Community Forums

Full Version: Group Check
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So basically I'm looking for if statement like the one you would use for a single uid, like
<if $post ['uid'] == 1 then>

But instead of finding a uid, it would find a group id.
I tried <if $post ['gid'] == 1 then>, but no luck.

Any help?
Have you tried $post ['usergroup']?
(2015-11-17, 09:51 AM)StefanT Wrote: [ -> ]Have you tried $post ['usergroup']?

Did this while half asleep. That did the trick.
Thank you a bunch!