PDA

View Full Version : Private forum bug



werehere
Tue 2nd May '00, 7:42am
The private forums cannot be viewed, but you can access them from putting the url with the thread number in the URL bar. It should catch them and ask for a password I would guess:)

John
Wed 3rd May '00, 2:57am
You are right - it should be asking for a password. I'm sure it did, but looking now, I cannot find the code. Put this in at line 78 of showthread.php if you are worried:



$getperms=getpermissions($bbuserid,$bbusergroupid, $forumid);
if ($getperms[canview]==0) {
eval("echo standarderror(\$bbtitle,\"".gettemplate("error_nopermission")."\");");
exit;
}


John

werehere
Wed 3rd May '00, 3:07am
Thanks john, it seems to have worked fine:)