• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Check for thread starter

Jake Bunce

XenForo moderator
Staff member
#2
Assuming $thread contains the thread record:

Code:
$visitor = XenForo_Visitor::getInstance();

if ($visitor['user_id'] == $thread['user_id'])
...