moderation queue hack
This makes it so when a board requires moderation a user can see their own posts even if they have no been accepted yet.
in forumdisplay.php find PHP Code:
$visiblethreads = " AND visible = 1 ";
PHP Code:
$visiblethreads = " AND (visible = 1 OR (visible = 0 AND postuserid = " . $vbulletin->userinfo['userid'] . ")) ";
PHP Code:
if ((!$thread['visible'] AND !can_moderate($thread['forumid'], 'canmoderateposts'))
PHP Code:
if (($thread['isdeleted'] AND !can_moderate($thread['forumid'])))
PHP Code:
if (!$postinfo['postid'] OR $postinfo['isdeleted'] OR (!$postinfo['visible'] AND !can_moderate($threadinfo['forumid'], 'canmoderateposts')))
PHP Code:
if (!$postinfo['postid'] OR $postinfo['isdeleted'])
PHP Code:
if (!$threadinfo['threadid'] OR $threadinfo['isdeleted'] OR (!$threadinfo['visible'] AND !can_moderate($threadinfo['forumid'], 'canmoderateposts')))
PHP Code:
if (!$threadinfo['threadid'] OR $threadinfo['isdeleted'])
Download No files for download. Screenshots |