MyBB Central

Full Version: How to make threads "readable" only to members?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have created a new section on my forum that I want to be

Visible to all (guests & members)

But

Readable only to members.

In Admin panel, for that section I have set the permissions for GUESTS as YES for "Can View Board" and "Can View Threads" but this way they are able to see the threads content too.

If I choose NO to "Can View Threads" they are not seeing the threads, but I want them to see the threads titles only but to read the content they must register.

This setting is working on this MyBB forum http://www.hackforums.net/forumdisplay.php?fid=50

Try to open any thread, it will not let you read the content because you are not registered there.

How can I do it?
Add this to showthread.php
PHP Code:
if(!in_array($mybb->user['usergroup'], array('1'')))
{
    error_no_permission();

.. Clone you need some type of reward ... you help out here a lot.