JPnyc
01-12-2007, 02:57 PM
3.0 and 3.5 ? The code below was working fine with 3.0, now the test to see if the current user is the thread author, no longer functions
if ((! preg_match("/\[RESOLVED\]/i",$thread['title']) && //1
(($thread['open'] && $thread['postuserid'] == $bbuserinfo['userid']) || // this part no longer works
(can_moderate($thread['forumid'], 'caneditthreads') &&
can_moderate($thread['forumid'], 'caneditposts'))))) { //3
if ((! preg_match("/\[RESOLVED\]/i",$thread['title']) && //1
(($thread['open'] && $thread['postuserid'] == $bbuserinfo['userid']) || // this part no longer works
(can_moderate($thread['forumid'], 'caneditthreads') &&
can_moderate($thread['forumid'], 'caneditposts'))))) { //3