The Arcive of vBulletin Modifications Site. |
|
Number of new members statistic on forum home Details »»
|
|||||||||||||||||||||||||||
|
Number of new members statistic on forum home
Developer Last Online: Oct 2023
I wanted to show potential advertisers as well as potential forum members how many people are registering to use our forums every day.
So I wrote this hack to display a 30 day average in the stats box of the forum home. It counts the number of people in user group 2 - registered members, ignoring those people who haven't activated their accounts, yet. It's very easy, takes just a few minutes and requires 1 additional query. You can see it working at www.avforums.com. Please click Install if you use it. Thanks to Bryan Ex for doing a bit of bug fixing help ![]() Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Great idea... well, at least for active forums. LOL Adding it in today - thanks!
|
|
#3
|
||||
|
||||
|
Something you will likely get asked about is a query to update the stats after a new install. I can see many not wanting to display 0.00 to start out with.
|
|
#4
|
||||
|
||||
|
I doubt anyone having done a new install will want to have this hack working for a wee while. Anyway all they'll have to do is revert back to the original FORUMHOME template. Glad you think it's useful.
|
|
#5
|
||||
|
||||
|
LOL... yeah, that I agree with but what I meant was even for an established board the stats start out at 0 and I would presume it will take a month for them to be accurate (each day that passes getting a little closer). I've done exactly what you've suggested and left it installed but commented out the forum display until later this month when it looks a little better. I'll just have to remember to uncomment next month. Nice hack though and it will be very helpful to me.
|
|
#6
|
||||
|
||||
|
You could use the round() function to get a whole number out of the average.
|
|
#7
|
||||
|
||||
|
Quote:
PHP Code:
PHP Code:
|
|
#8
|
||||
|
||||
|
Nice Hack, I like it
|
|
#9
|
||||
|
||||
|
i dont understand how this mod works spinball...
i looked on ur site and it says: New registrations per day (30 day average): 66.20 whats the decimal part for? i thought each new register counts as one and not as a decimal |
|
#10
|
||||
|
||||
|
It's averaged over a 30 day period... in this case 1986 new joins in 30 days (1986 / 30).
|
![]() |
|
|