Anyone know how to make this running on VB 3.8.4?
Need to make the posts and threads visible to moderated users.
Code:
if (!can_moderate($forumid, 'canmoderateposts'))
{
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canseedelnotice']))
{
$visiblethreads = " AND visible = 1 ";
}
else
{
$visiblethreads = " AND visible IN (1,2)";
}
}
else
{
$visiblethreads = " AND visible IN (0,1,2)";
}
I only have that part there.
Nothing found about post #2 in the forumdisplay.php in 3.8.4 which is why I asked:
Code:
if ((!$thread['visible'] AND !can_moderate($thread['forumid'], 'canmoderateposts'))