Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Unresolved Private Forums


michael3185
Member

@michael3185

I’ve tried messing around in Admin in all sorts of ways, and cannot get Private Forums to reset again now. However, in case it might in future, I’ve installed Hidden Forums to test that. I got the impression it hid the forums from guests completely, but I may be wrong as it has a forum label (which I’ve changed to an asterix to keep things subtle). It fails though. I have the following set up in the php file;

$hidden_forums=array(2,3,4,5,7); // hide these forums, list by comma seperated number

$hidden_forums=array(‘keymaster’,’administrator’);

$hidden_forums[2]=array(‘administrator’,’moderator’, ‘member’);

$hidden_forums[3]=array(‘administrator’,’moderator’, ‘member’);

$hidden_forums[4]=array(‘administrator’,’moderator’, ‘member’);

$hidden_forums[5]=array(‘administrator’,’moderator’, ‘member’);

$hidden_forums[7]=array(‘administrator’,’moderator’, ‘member’);

$hidden_forums=”*”;

But on accessing the front page I get;

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/letsdoo/public_html/MB/my-plugins/hidden-forums/hidden-forums.php on line 37

Have I misunderstood the instructions..?

[edit]

I disabled it, and re-enabled Private Forums, and the latter came back with all settings intact and works fine. Hmm…

Skip to toolbar