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

Exclue a usergroup

Discussion in 'XenForo Development Discussions' started by CentOS 6, Apr 22, 2015.

  1. CentOS 6

    CentOS 6 Member

    How do I exclue a usergroup
     
    Last edited: Apr 22, 2015
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The visitor object has a function for this. Example:

    Code:
    !$visitor->isMemberOf(2)
    
    Refer to:

    XenForo_Visitor
     

Share This Page