OK, well hopefully I get it now. I think the problem is that when the plugin reads the latest post info from the db it doesn't get enough info to do what you want. But if you're willing to edit the plugin you can add it pretty easily. The plugin is "Cyb - Advanced Forum Statistics - FH", and you want to find this section (pretty near the top)
Code:
$get_stats_newposts = $vbulletin->db->query_read("
SELECT thread.threadid, thread.title, thread.lastpost,
thread.lastpostid, thread.forumid, thread.lastposter,
thread.dateline, thread.views, thread.replycount, thread.visible,
thread.open, thread.prefixid, user.username, user.userid,
user.usergroupid, user.displaygroupid
FROM " . TABLE_PREFIX . "thread AS thread
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.username = thread.lastposter)
then add ", thread.postuserid" to the end of the list of fields, so it looks like this (you have to scroll right to see what I added):
Code:
$get_stats_newposts = $vbulletin->db->query_read("
SELECT thread.threadid, thread.title, thread.lastpost,
thread.lastpostid, thread.forumid, thread.lastposter,
thread.dateline, thread.views, thread.replycount, thread.visible,
thread.open, thread.prefixid, user.username, user.userid,
user.usergroupid, user.displaygroupid, thread.postuserid
FROM " . TABLE_PREFIX . "thread AS thread
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.username = thread.lastposter)
Then, I assume you're editing the template cyb_topstats_newposts, you should be able to use this condition:
Code:
<if condition="$get_new_posts[postuserid] == $get_new_posts[userid]">
// user started thread
<else />
// user didn't start thread
</if>