Quote:
Originally posted by hadley
You mean the id of the group I wish to keep out, right? So, if there are three, how do I name them? (COPPA, unregistered, and awaiting email confirm)
|
its the usergroup of the group which can list the threads but can not view them.. If there are more than 1, apply the line in this context:
PHP Code:
if ($forumid==X AND ($bbuserinfo[usergroupid]==Y OR $bbuserinfo[usergroupid]==Z OR $bbuserinfo[usergroupid]==W))
Now you can replace Y, Z and W with the usergroupids..(COPPA, unregistered, and awaiting email confirm in your example)
Quote:
Originally posted by hadley
..whose permissions do I need to enable? I already have registered users' permissions set to read posts; will this hack change something for them? Or do I need to set permissions differently for unregistered users? Sorry, I'm confused...
|
You have to enable access permissions for these 3 usergroups (COPPA, unregistered, and awaiting email confirm) in that forum so that they can view other's threads.. Then apply the hack..
Otherwise your board will not display the thread list to them so hack will be pointless..