1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

User is Supermoderator ?

Discussion in 'XenForo Development Discussions' started by Stepel, Nov 20, 2014.

  1. Stepel

    Stepel Member


    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" ?
  2. Chris D

    Chris D XenForo Developer Staff Member

    A super moderator is listed in the xf_moderator table with is_super_moderator = 1
  3. Stepel

    Stepel Member

    Ok but I don't have direct access to this info in template ? So I need "simple" helper probably..

Share This Page