Staxed
01-31-2007, 02:01 AM
I've been looking through the code for some of these mods that show top posters and such, but still...as much as I try at the moment...i remain a designer and not a coder...
I'm hoping someone will be kind enough to make a simple mod.
What should it do?...
Keep a running daily tally of the top poster and referrer from the 1st of the month. This number will reset on the first of each month and start again.
The script should send this info to two variables ($topposter, $topreferrer..or similar) each night...just need the username of the top person sent to the variable.
not very good at explaining all this...but i'll explain it in context.
What i want, is I have two images...one for top poster of the month, and one for top referrer of the month.
On the first day of the month, sally posts 5 times, and referrs 2 people)...she is the only one...so at midnight between the 1st and 2nd her name will be sent to these variables and will be displayed. On the 2nd, sally posts 3 times, bob posts 11 times and referrs 1 person. So now at midnight between the 2nd and 3rd, sally will be sent to the refer variable because she still has the most, but bob will be sent to the post variable because now he has the most...etc, etc until the first of next month...in which case the counts will reset and start again...
I'm hoping someone will be kind enough to make a simple mod.
What should it do?...
Keep a running daily tally of the top poster and referrer from the 1st of the month. This number will reset on the first of each month and start again.
The script should send this info to two variables ($topposter, $topreferrer..or similar) each night...just need the username of the top person sent to the variable.
not very good at explaining all this...but i'll explain it in context.
What i want, is I have two images...one for top poster of the month, and one for top referrer of the month.
On the first day of the month, sally posts 5 times, and referrs 2 people)...she is the only one...so at midnight between the 1st and 2nd her name will be sent to these variables and will be displayed. On the 2nd, sally posts 3 times, bob posts 11 times and referrs 1 person. So now at midnight between the 2nd and 3rd, sally will be sent to the refer variable because she still has the most, but bob will be sent to the post variable because now he has the most...etc, etc until the first of next month...in which case the counts will reset and start again...