Took me a while to figure out why Guests / Visitors could not view my website. Well the problem turned out to be this hack. This line of code change is what did it.
In forumdisplay.php, find :
*********************************************
eval('print_output("' . fetch_template('FORUMDISPLAY') . '");');
*********************************************
and replace with :
*********************************************
if ($foruminfo[access_nb]<=$bbuserinfo[posts] || $bbuserinfo[usergroupid]==6)
eval('print_output("' . fetch_template('FORUMDISPLAY') . '");');
else print_no_permission();
*********************************************
Now for the good news is, the hack still works, even with this portion of the code taken out. Yes all the defaults were at 0 but still no guests could even view the website. So in the end I would like to understand WHY the above code did not allow the guests to view the website and what mods could be done to allow me to upgrade this on portion of the code back into forumdisplay.php
I am running 3.0.3 if that matters.
Guns Network Staff
|