hi! i have a problem with mbc in some kind of way (well actually i dont think that its mbcs fault, but i dunno where else to post)
i have one board hidden, it can be only accessed by admins and mods. now i want that the normal user cant see any evidence of this board. but the problem is, that the info center counts the threads and posts of the hidden board together with the normal boards.. so the normal user sees that there is something wrong. also, i have the who is online mod installed, and the normal user can see when a mod or admin is in that board, which in my case obviously isnt wanted
ok, i tried to edit some things, but it didnt work out.. pls dont laugh at me, but this was my idea
for the infocenter, my idea was to change this code in boardindex.pl:
$lastposter{$curboard} = $lastposter eq 'N/A' || ! $lastposter ? $txt{'470'} : $lastposter;
$messagecount{$curboard} = $messagecount || 0;
$threadcount{$curboard} = $threadcount || 0;
$totalm += $messagecount;
$totalt += $threadcount;
}
}
to this:
$lastposter{$curboard} = $lastposter eq 'N/A' || ! $lastposter ? $txt{'470'} : $lastposter;
if ($curboard ne "dsfW30dfsolkrjopp_siu99SSFjws034wsdljwsdq09sSFF0s78fsS9s_") {
$messagecount{$curboard} = $messagecount || 0; } else { $messagecount{$curboard} = 0;}
if ($curboard ne "dsfW30dfsolkrjopp_siu99SSFjws034wsdljwsdq09sSFF0s78fsS9s_") {
$threadcount{$curboard} = $threadcount || 0; } else { $threadcount{$curboard} = 0 ;}
$totalm += $messagecount;
$totalt += $threadcount;
}
}
---------------
dsfW30dfsolkrjopp_siu99SSFjws034wsdljwsdq09sSFF0s78fsS9s_ <-- thats the id of the hidden board.
well, it didnt work
so can someone tell me how to do it correctly please?
was this idea slightly right, or a complete idiotical idea?
and for the whos on mod, i thought of, if a user is in the hidden forum, not to let anything be written to the online log, but i dunno if that is the easiest idea.
pls help
greetz, chaospixel