Don?t work by me
In the ACP i set the "View other Threads" for Unreg User
on yes.
Than i insert the code in showthread.php
but the guest can see all :beard:
any idea?
PHP Code:
$forumid=$foruminfo['forumid'];
if ($bbuserinfo[usergroupid]==1 OR $bbuserinfo[usergroupid]==3 OR $bbuserinfo[usergroupid]==4)
{
eval("standarderror(\"".gettemplate("error_youdonthavepermission")."\");");
exit;
}