![]() |
Total Members (Registrations) Hack
TOTAL MEMBERS (REGISTRATIONS) HACK
Version 1.0 ~ 17 June 2003 This is a really elementary hack, but I was surprised that no one had publicized it for people who know little/nothing about PHP to use. (I did several extensive searches and found no mention of this. If someone else has already posted this, please just let me know and I'll defer appropriately.) This is also the first hack that I've decided to publish on vBulletin.org, even though I'm capable of a bit more complex, but probably because I was fairly certain of what I was doing here. ;) What does it do? The Total Members (Registrations) Hack will display the total number of people who have ever registered an account, at one time or another, on your forums, next to your forumhome Members count. Why is this useful? If you run a very large forum, with tens of thousands of registrations, but you like keeping your database's users table pruned to reflect only active members (e.g., we regularly prune members who don't post every x days and have less than x number of posts), you can still display the total number of people that have ever registered, at one time or another, on your forums. What is involved? 1 php file edit (index.php) and 1 template edit (forumhome) Will this slow down my forumhome? No. It adds only one calculation and adds only one variable, both of which are expunged by vBulletin after use. Screenshot posted below. Enjoy! Regards, Kaelon www.Alleria.com |
Screenshot.
|
it says on the pic above members= 4,070
but the active says 9,152 why? |
because its says that because of how many ACTIVE users at your forums that post on a regular basis ...
|
Nice idea.. :)
Installed and running perfectly. |
If members signed up on your forums, then later were pruned, then signed up again, it would throw your numbers off.
|
And why is that?
|
This hack could throw users off into thinking the "total ever registered" was actually "the total amount ever existent on the forum at the same time," which of course is false. So unless you label it more specifically, users could get confused (unless that is what you're trying to do). ;)
|
The labeling is simply a matter of personal preference, and should reflect your patterns of pruning. For instance, since we prune all people who have 0 posts, then we could call it (with Non-Posters).
Kaelon |
-- edit kicked self in ass --
i see it now. good hack, will use when forums get bigger --------------------------------- Quote:
i wasl also confused but then i noticed if you put a comma right after (active) it will all make sence |
All times are GMT. The time now is 11:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|