How to :: Display Most Active Users
Posted: 13 October 2008 10:30 PM   [ Ignore ]  
Summer Student
Total Posts:  13
Joined  01-16-2008

How can I display a list of most active users based on the total comments they post?

Thank you for your time

Profile
 
 
Posted: 14 October 2008 12:26 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

A custom query, I should think:

SELECT name, COUNT(name) AS number FROM `exp_comments`
WHERE status = 'o' GROUP BY name ORDER BY number DESC, name ASC

That should do nicely.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64904 Total Logged-in Users: 49
Total Topics: 81848 Total Anonymous Users: 22
Total Replies: 440038 Total Guests: 254
Total Posts: 521886    
Members ( View Memberlist )