Quote:
Originally Posted by Skyrider
There a way this code can be converted to vBulletin 4? I tried it myself, but I keep getting a blank page.
|
I got blank pages as well until I did the change in post #2 differently.
I changed:
Code:
if ((!$thread['visible'] AND !can_moderate($thread['forumid'], 'canmoderateposts'))
OR ($thread['isdeleted'] AND !can_moderate($thread['forumid'])))
TO:
Code:
if (($thread['isdeleted'] AND !can_moderate($thread['forumid'])))
Instead of what is shown in post #2.
I have no idea if I've broken something else by doing it this way, but at least it works now...