Version: 3.35, by Paul M
Developer Last Online: Nov 2023
Category: Miscellaneous Hacks -
Version: 3.6.x
Rating:
Released: 07-23-2006
Last Update: 09-17-2007
Installs: 565
Uses Plugins Auto-Templates
Translations
No support by the author.
This modification is no longer available or supported.
Top Posters mod for vb 3.6.
This displays a page with the Top Forum Posters for a given set of periods. Two periods are fixed ('This Month' & 'Overall') but can be turned off in the options. The other three periods are user definable (in days) - the default values are 1 day (24 hours), 7 days & 28 days. These three columns cannot be turned off.
The number of posters to be shown can also be set, the default is the top 10 posters. You can also select which usergroups are included (or excluded) in the count, so members in banned groups etc are not shown. Excluded is only available from v3.29 onwards.
If enabled, it will also attempt to add a link to your Quick Links or Navbar. There is an option to prefix this path if you use something like CMPS.
To install just unzip the xml file and import it using the Product Manager
History:
v3.20 - First 3.6 release - auto adds link to quick links. v3.21 : Dependancies updated for 3.6.0 Gold. v3.22 : Updated for Version Checking. v3.23 : Dependancies updated, URL's updated (not released). v3.24 : SQL changed to use slave. v3.25 : SQL Changes to use slave. v3.26 : Added autolink options. v3.27 : Fixed table index creation. v3.28 : Added automatic version in template (not released). v3.29 : Added option to include or exclude usergroups. v3.30 : Internal version, not released. v3.31 : Internal version, not released. v3.32 : Internal version, not released. v3.33 : Internal code changes, no funcionality change. v3.34 : Defaults on first install updated. v3.35 : Option for link path prefix added.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Great hack. It has been installed on our site for at least a month and I just noticed a huge flaw (well, maybe not) but check this:
So we have a Top Posters Competition where each month a top poster wins $20 for having the most posts in that given month. Fine, no problem.
A new month is finally here (Aug 1st) and the top posters system HAS NOT RESET back to 0. Is this something we're going to code in ourselves to reset these stats?
Anyways, obvisouly the script doesn't support stat resetting, so I ask .. is there an easy method to reset all stats on a given month maybe via CRON or my manuallly typing something in or by running a script to reset?
Please advise what tables I need to clean out to reset each month?
Here is what I found in topposters.php:
// List usergroups to be included //
$groups = '2,5,6,7,12,20,21';
These groups were just hardcoded in module code, so settings in vBulletin options were useless!
Why should my programmer have looked more carefully? He got it working, that's all I care about. If you weren't so busy defending your "code" you would have realized you weren't helping solve the problem. Like I said in my last post - thanks, buddy.
Why should my programmer have looked more carefully?
Perhaps to save himself/herself the trouble of fixing something that wasn't actually broken.
Quote:
Originally Posted by wolfyman
If you weren't so busy defending your "code" you would have realized you weren't helping solve the problem.
I responded to you at least three times (posts 38, 41 & 43). I'm not quite sure how I'm supposed to realise you are trying to use a file that doesn't even exist in this version, or the current 3.5 version. As for "defending my code" - yes, I will, and make no apologies for it - if you choose to post an e-mail from a "programmer" saying that something is "useless" then you can be sure you will get a respose pointing out thier mistake.
If you have something that is working then great - but JFYI - what you have is not this mod, it guess it must be a very early 3.5 conversion (released while 3.5 was still in the beta stage) and you could [I think] uninstall this mod completely and that file would continue to work.
Is there any way to exclude a specific forum from counting towards the posts totals (while still allowing "Count Posts Made in this Forum Towards User Post Counts" to be yes in the vb adminCP)?
You can change the 28 days to whatever value you want.
Quote:
The other three periods are user definable (in days) - the default values are 1 day (24 hours), 7 days & 28 days. These three columns cannot be turned off.