Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 3 Years, 7 Months, 3 Weeks ago Group Check
#1
Solved: 3 Years, 7 Months, 3 Weeks ago
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?
Reply
#2
Solved: 3 Years, 7 Months, 3 Weeks ago
Have you tried $post ['usergroup']?
[Image: banner.png]
Reply
#3
Solved: 3 Years, 7 Months, 3 Weeks ago
(11-17-2015, 09:51 AM)StefanT Wrote: Have you tried $post ['usergroup']?

Well now I feel completely retarded.
Did this while half asleep. That did the trick.
Thank you a bunch!
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)