The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi all
I'm searching an easy way to count (every n minutes) users online (both members and guests), display the value and write the value to a db table. I need this for statistics, monitoring and optimization purposes. Any ideas? Thank you |
#2
|
|||
|
|||
![]()
You could use the code from online.php and make a scheduled task that counts users and appends a record to a db table. If you want to display the value you could also stick the current values in the datastore.
|
#3
|
|||
|
|||
![]() Quote:
The solution you suggested is easy to describe, but unfortunately, I'm not able to write any php code... ![]() This is why I asked if someone has a ready solution ![]() |
#4
|
||||
|
||||
![]()
This mod does all that https://vborg.vbsupport.ru/showthread.php?t=196458
|
#5
|
|||
|
|||
![]() Quote:
![]() |
#6
|
||||
|
||||
![]()
Actually, that mod probably doesn't do what he wants. It counts users in the last 24 hours, not every few minutes, and it stores the number in datastore, which means it's written over everytime a new number is calculated.
This forum is more for discussion how *you* can program this. If you need someone else to write the code, you need to post in either the Unpaid Requests forum or the Paid Requests forum. |
#7
|
|||
|
|||
![]() Quote:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|