Cupara
Well-known member
I'll come right out and ask specifically about Admin Permissions.
I'm having a huge issue with getting mine to work. I'm sure it is due to me being a Super Admin but I'm trying to figure out why the following codes won't work.
I have double checked the permission group ID and permission ID.
Trying to use it in admin templates and I really hope it is because I'm a Super Admin, which I'm going to test now.
I'm having a huge issue with getting mine to work. I'm sure it is due to me being a Super Admin but I'm trying to figure out why the following codes won't work.
PHP:
$canManage = $visitor->hasAdminPermission('xfpoints_manage_points');
PHP:
$canManage = $visitor->hasAdminPermission('xfPoints', 'xfpoints_manage_points');
I have double checked the permission group ID and permission ID.
Trying to use it in admin templates and I really hope it is because I'm a Super Admin, which I'm going to test now.