Not Solved Is there an equivalent to cancp for moderators?
#6
Not Solved
(2017-01-15, 07:12 PM)ConnerKid Wrote: I know you can do $mybb->user['cancp'] to see if is a user is an admin, but is there anything equivalent for forum moderators?


In your example it should be $mybb->usergroup['cancp'].  Anytime you want to check if a user has a certain permission you use $mybb->usergroup['permission_name'].
Reply


Messages In This Thread
RE: Is there an equivalent to cancp for moderators? - by dragonexpert - 2017-01-16, 11:51 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)