Topic: No permissions with EFAM
I have installed EFAM with the hope that i could set viewing permissions for the individual user, to each forum individually.
My problem is that the user can access the locked forum but not view the topic in it.
I did some alterations to the code were the user status was checked.
viewtopic.php
---------------
if($locked == '1' && $cur_user['status'] < 2 && !eregi("$username", $locked_users))
message($lang_common['No permission']);
viewtopic.php after alteration
--------------------------------
if($locked == '1' && $cur_user['status'] < 1 && !eregi("$username", $locked_users))
message($lang_common['No permission']);
Still the user can not access the topic unless set as moderator.
I do not want the user to be given the moderator status in order to access the topics in the locked forums. (I have done the same type of modification in the viewforum.php)