Previous Thread
Next Thread
Print Thread
Hop To
#239788 10/01/2010 10:58 AM
Joined: Sep 2010
Posts: 12
H
stranger
stranger
H Offline
Joined: Sep 2010
Posts: 12
I am running a contest on my site and it is running from October 1-31. It is to the top poster for the month. How do I reset the posting numbers to 0 for the month?

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
you'd need to:

1. rewrite the current top_posters_30.php (cache_builders) to have a start date of Oct 1 (1285891200 in unixtime)
2. replace that value into $limittime
3. change the language string for the Top 30 posters to what is more appropriate

and BAM.. workie

smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 458 guests, and 91 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)