TBDragon
Active member
hi how r u
i just saw in some addon
XenForo_Visitor::getInstance()->isSuperAdmin()
so it can check whether the visitor is super admin or no
but what if i need to check of moderator or some group id ?!
which class i need to extend so i can use that
or its same in the XenForo_ControllerPublic_Abstract ?!
and thank ^_^
i just saw in some addon
XenForo_Visitor::getInstance()->isSuperAdmin()
so it can check whether the visitor is super admin or no
but what if i need to check of moderator or some group id ?!
which class i need to extend so i can use that
or its same in the XenForo_ControllerPublic_Abstract ?!
and thank ^_^