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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
2 members (Nightcrawler, Ruben), 524 guests, and 148 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)