Topic: Checking for Guest and Default User in an Extension
So I'm trying to limit an extension so it can't be viewed by either a guest or the default user group (named "Visitor" on my forum). I'm not quite sure how to call that in the $forum_user variable.
if($forum_user['is_guest'] != true || $forum_user['Visitor'] != true) { blahblah }
returns
Notice: Undefined index: Visitor in header.php(133) : eval()'d code on line 28
How do I go about checking for both the guest and default user group (or specific group, in the case my "Visitor" group)?