Stepel Member Nov 20, 2014 #1 Hi, how is the easiest way to check if user is supermoderator, example in template ? there is $visitor.is_moderator.. but how to check if its supermoderator ? Do I have to write "helper" ?
Hi, how is the easiest way to check if user is supermoderator, example in template ? there is $visitor.is_moderator.. but how to check if its supermoderator ? Do I have to write "helper" ?
Chris D XenForo developer Staff member Nov 20, 2014 #2 A super moderator is listed in the xf_moderator table with is_super_moderator = 1
Stepel Member Nov 20, 2014 #3 Ok but I don't have direct access to this info in template ? So I need "simple" helper probably..