This is ok! I understand that I must change the file forum.php-hidden at the beginning.
But can I have an example?
If the forum that I want to hide it id = 5, what I write?
Thank you
This will hide forum #5 and only allow keymaster,administrator, or moderator to see it.
$hidden_forums['hidden_forums']=array(5); // hide these forums, list by comma seperated number
$hidden_forums['allow_roles']['all_forums']=array('keymaster'); // these roles can always see ALL forums regardless
$hidden_forums['allow_roles'][5]=array('administrator','moderator'); // exact formal role name, *not* ability
Do you want to hide the forum from everyone? Then you can use this:
$hidden_forums=array(5); // hide these forums, list by comma seperated number
If you want certain people to be able to access the forum, I believe this should work:
* If they are all adminstrators or moderators, you can use this: $hidden_forums[5]=array(‘administrator’,’moderator’);
* If you want only certain users (say, userID numbers 10 and 11) to be able to access forum #5, you can use this: $hidden_forums[5]=array(10,11);
Hope that helps…
Oops, ignore what I wrote – ck would know best, since she wrote the plugin!
oh thank you….johnhiler and _ck_