if ($vbulletin->userinfo['userid'] == $post['userid']) { $user_posted = true; $user_postids[] = $post['postid']; }