2012-02-15, 07:10 PM
In 2010 a user posted a tutorial on how to let guests see the forums and the threads and yet cannot enter the post. The code is this:
foumdisply.php
find:
if($fpermissions['canview'] != 1)
{
error_no_permission();
}
Replace with:
if($fpermissions['canview'] != 1 && $thread['tid'])
{
error_no_permission();
}
Now all the usergroups that don''t have permissions at certain forums, will be able to see all the topics inside that particular forum, but not the posts themselves.
Okay I found the correct area and replaced the information as stated, and nothing..it did not change,,.,. why?
foumdisply.php
find:
if($fpermissions['canview'] != 1)
{
error_no_permission();
}
Replace with:
if($fpermissions['canview'] != 1 && $thread['tid'])
{
error_no_permission();
}
Now all the usergroups that don''t have permissions at certain forums, will be able to see all the topics inside that particular forum, but not the posts themselves.
Okay I found the correct area and replaced the information as stated, and nothing..it did not change,,.,. why?