The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Display total posts, users, and # currently online on all pages?
I am trying to figure out the best way to display the forum's total posts, total users, newest user, and currently active users (just the number, not the names) on every page in a vB 3 install.
The obvious way is to just clone the code from index.php into global.php and add it to the header template, but that is likely not the best way. I know that I could simply unserialize the total members and newest member from datastore, but is it a good idea (performance-wise) to do something like that in global.php? Would I be better off creating my own mini-cache table for this information and putting that in global, thereby limiting the whole process to a single query (plus whatever it takes to keep it updated elsewhere)? Any ideas, or has anybody done anything like this? Thanks! |
#2
|
|||
|
|||
Any ideas? Anybody?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|