The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
top posters within a certain period of time
Is there a way to get the top 10 posters within XX period of time for v3.5.2? Help!
|
#2
|
|||
|
|||
I'm looking for the same thing for 3.6 to place in the left column on all of my forum pages.
|
#3
|
||||
|
||||
Quote:
|
#4
|
|||
|
|||
Paul - I have your 3.6 RC version installed already. Is there a way to pull the top posters from the last 24 hours (only) and display it in a left column on the forum pages?
|
#5
|
||||
|
||||
Not with that hack their isn't.
You could copy the relevant SQL and write your own code to display it. |
#6
|
|||
|
|||
I have no clue how to do that.
I'll keep looking - I see there are several hacks that include "top poster" info, they just all seem to only count total posts. |
#7
|
||||
|
||||
I could give you code to display that, but you might want to rethink this. It can be a pretty server heavy thing to add on main pages, let alone every forum page...
If that was the goal I'd probably go with setting up a sperate table to store the results in and getting a cron job to update it every hour or so. But you aren't going to want to run that query everytime someone visits a forum page... |
#8
|
|||
|
|||
Thank you! I'm a newbie to all of this so please bear with me.
Quote:
Quote:
As another thought, would it be easier to try to modify this hack to display last 24 hours instead of all time? (provided it works with 3.6) |
#9
|
||||
|
||||
Yes, you could modify the sql in that to just pull out the last 24 hours.
|
#10
|
|||
|
|||
Quote:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|