The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Site Statistics Changes
Anyone modify the VB4 statistics so that the members count only includes registered users (not Banned or users awaiting confirmation email) and that the newest member is the latest user that is not banned or has not responded to the confirmation email.
I would like to ban SPAM users rather than delete them but do not want them to be part of the members count or appear as a new user. Is there an easy way to accomplish this? (I did a search and could not find anything on this topic). Joe |
#2
|
|||
|
|||
I guessing this can't be done?!
|
#3
|
||||
|
||||
Look in /includes/functions_databuild.php at the function build_user_statistics. You'll have to modify that.
|
#4
|
|||
|
|||
Quote:
Are these stats saved or cached somewhere? I made a change to the function and it took a while before it appeared on the forum page. Then I restored the function back and it is still showing the modified status information (and I can't get the original stats back). |
#5
|
||||
|
||||
It's the databuild function.... they are cached. But, that function only gets called when necessary. Read it. See what it does. There is no need to call the function unless there is a something that happened that requires it to be called.
|
#6
|
|||
|
|||
I just noticed that it pull the information from the datastore table and that table only gets updates after certain events... like a new user registration.
So I guess my new question is if there is a way to update the stored stats in the datastore table so that I can see the results of the changes to the Build_user_statistics functions immediately? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|