XenForo
Administrative
- Thread starter
- Admin
- #1
Is this the right way for a permission set as (forum, eatNuts)?
Code:
Then I can set permission to the usergroup and/or to a forum->permission->usergroup->permission?
My example does not work, and I dont know why.
ادامه مطلب...
Code:
Code:
if (($visitor->hasPermission('forum', 'eatNuts')
|| $visitor->hasNodePermission($forum->node_id, 'eatNuts'))
Then I can set permission to the usergroup and/or to a forum->permission->usergroup->permission?
My example does not work, and I dont know why.
ادامه مطلب...