great hack but can be modifyed to TOP Thread Starter of Month or new hack?
I believe this is where we need to do changes:
PHP Code:
SELECT COUNT(post.dateline) AS vsapcount, post.userid, post.visible, post.dateline, thread.forumid, user.usergroupid, thread.forumid
FROM " . TABLE_PREFIX . "post AS post
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (post.userid = user.userid)
LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (post.threadid = thread.threadid)
WHERE user.username != '' AND post.visible = '1' AND post.userid > 0 AND post.dateline > $fromtime AND post.dateline < $totime $vsattsomy_exclgroups $vsattsomy_exclusers $vsattsomy_exclforums
GROUP BY userid
and this
PHP Code:
SELECT COUNT(post.dateline) AS vsapcount, post.userid, user.username, user.usergroupid, post.visible, user.posts, user.joindate, thread.forumid
FROM " . TABLE_PREFIX . "post AS post
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (post.userid = user.userid)
LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (post.threadid = thread.threadid)
WHERE user.username != '' AND post.visible = '1' AND post.userid > 0 AND post.dateline > $fromtime AND post.dateline < $totime $vsattsomy_exclgroups $vsattsomy_exclusers $vsattsomy_exclforums
GROUP BY userid
ORDER BY vsapcount DESC
LIMIT " . ($limitlower - 1) . ", $perpage