The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Currently Active Users: Members only?
Is there a hack where you can make the 'Currently Active Users' only count registered members??
Some times I get so many Googlebots here that half the 'users' arn't even humans, and at the same time set a new record, which of course isn't very correct, since half the 'users' arn't human. |
#2
|
||||
|
||||
I believe you can turn showing guests off in the control panel but I may be totally wrong. It might just not show what guests are doing but counts them anyway.
Amy |
#3
|
||||
|
||||
You can change it so it doesn't show or count them on the Who's Online page, but it still counts them on the index page. Is there any way to make the index page not count guests, and is there a way to reset the record to zero?
|
#4
|
||||
|
||||
Change $totalonline in forumhome to this:
$numberregistered for number of members online. For guests, use $numberguest |
#5
|
||||
|
||||
The total users online can be reset to zero, but it will still count guests - to make it not count guests, you need to hack index.php
In index.php: Find: $totalonline=$numberregistered+$numberguest; Change it to: $totalonline=$numberregistered; Then, run this query: UPDATE template SET template='0 0' WHERE title='maxloggedin' AND templatesetid=-2; |
#6
|
||||
|
||||
Thanks!! It worked!!
|
#7
|
||||
|
||||
You're welcome.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|