2013-12-12, 08:59 PM
Hi all,
I want to have the entire forums shown to everyone but does not wish the content to be known except to registered. So, I set the guest able to see the forums but not the threads.
However, I also wish to direct the guest to a no permission page if they ever click on any forums that they do not any any permissions to view the thread, how can I do that?
Oh well.
It appears that there is no way mybb can do this without any forms of modifications to the source file.
I understand that mybb allow you the option to display all "private forums" but that is not what I want, because there are some forums I want it to stay hidden.
So, I modified the functions_forumlist.php for visual change, changing the "-" under "Latest thread" to "Private forum".
Then, I modified the forumdisplay.php to include permission check for "canviewthreads" and "canonlyviewownthreads".
I hope the new mybb version will put this into consideration as "-" is not a universal understood sign and better handling of private forums.
I want to have the entire forums shown to everyone but does not wish the content to be known except to registered. So, I set the guest able to see the forums but not the threads.
However, I also wish to direct the guest to a no permission page if they ever click on any forums that they do not any any permissions to view the thread, how can I do that?
Oh well.
It appears that there is no way mybb can do this without any forms of modifications to the source file.
I understand that mybb allow you the option to display all "private forums" but that is not what I want, because there are some forums I want it to stay hidden.
So, I modified the functions_forumlist.php for visual change, changing the "-" under "Latest thread" to "Private forum".
Then, I modified the forumdisplay.php to include permission check for "canviewthreads" and "canonlyviewownthreads".
I hope the new mybb version will put this into consideration as "-" is not a universal understood sign and better handling of private forums.