MyBB Community Forums

Full Version: See but not read threads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm looking for something that will allow guests to see that threads exist in forums, but not allow them to open the thread and read it. Has anybody found one like that or will anybody make it?
Thanks!
The MyBB permission system already does it. Look at it a little more, should be able to find it out on your own.
I think you mean how mybb 1.4.4 handle permissions. If you want back this you have to modify forumdisplay.php and inc/functions_forumlist.php.

Find and remove in forumdisplay.php line 447
$threadcount = 0;

if($fpermissions['canviewthreads'] != 0)
{ 

remove line 474
{

Find line 552:
if($foruminfo['allowtratings'] != 0 && $fpermissions['canviewthreads'] != 0)
replace with:
if($foruminfo['allowtratings'] != 0)

remove line 658:
if($fpermissions['canviewthreads'] != 0)
{
and also line 693:
}
else
{
	$tids = $threadcache = null;
}

Find and remove in inc/functions_forumlist.php line 59:
if($permissions['canviewthreads'] != 1)
{
    $hideinfo = true;
}

Thats all. Have fun!
Best regards
NetHunter
When you set perms for each user group just click "Set Permissions" for the custom ones.