Quote:
Originally Posted by Dismounted
In the plugin 'Guest Check', find:
PHP Code:
if (($show['guest']) AND (!$bot) AND ($post['postcount'] == 1) AND ($gfpo == 1))
Replace With:
PHP Code:
if (($show['guest']) AND (is_member_of($vbulletin->userinfo, 3)) AND (!$bot) AND ($post['postcount'] == 1) AND ($gfpo == 1))
Find:
PHP Code:
elseif ((!$show['guest']) OR ($bot) OR ($gfpo == 0))
Replace With:
PHP Code:
elseif ((!$show['guest']) OR (!is_member_of($vbulletin->userinfo, 3)) OR ($bot) OR ($gfpo == 0))
|
If I do that, the guests can see all again AND Usergroup 3 also.
In Standard working fine for guest, but I also need it for other usergroups (primary and secondary).
Do you have an idea, what to change ?
I also tried:
PHP Code:
is_member_of($bbuserinfo, 3,1)
but not working.