top ten authors hack
Posted by dustin
|
top ten authors hack November 28, 2000 03:02PM |
SELECT author, count(*) as total FROM table GROUP BY 1 ORDER BY 2 DESC LIMIT 10
where table is your forumtablename variable.
i formatted the output in a simple table and used total w/ per author to get percentage of all overall.
- an example is here:
[www.e46fanatics.com]
|
RE: top ten authors hack November 29, 2000 11:58PM |
|
RE: top ten authors hack December 22, 2000 11:20PM |
|
RE: top ten authors hack December 24, 2000 03:25AM |
Has anyone written a code which will loop through all the forum tables and output the top ten posters. I am currently running phorum with several forums and I want to determine the top posters when it comes to all the forums.
If anyone can gimme a snippet of code or start me off on the right direction on how to do this, I would really appreciate it.
Thanks.
If anyone can gimme a snippet of code or start me off on the right direction on how to do this, I would really appreciate it.
Thanks.
|
RE: top ten authors hack February 18, 2001 09:08AM |
|
RE: top ten authors hack March 13, 2001 02:46AM |
|
RE: top ten authors hack April 08, 2001 04:24PM |
|
RE: top ten authors hack April 08, 2001 11:11PM |
Sorry, you do not have permission to post/reply in this forum.