The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Query: Display most participating users from actual forum
This query displays the most participating users from actual forum - you can place it in plugin forumdisplay_start:
Code:
SELECT user.userid, user.username, count( * ) AS postcount FROM user, post, thread, (SELECT " . $foruminfo[forumid] . " AS forumid UNION SELECT forumid FROM forum WHERE parentlist LIKE \"%," . $foruminfo[forumid] . ",%\" ) AS tmp_a WHERE thread.forumid = tmp_a.forumid AND user.userid = post.userid AND post.threadid = thread.threadid GROUP BY user.username ORDER BY postcount DESC LIMIT 5 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|