The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
sql call header stats
Hi
I would like to add some stats in the header (like postcount, members, ...) I found a thread which explains you can only use the variables in FORUMHOME (or something similar). THere is a way around which I tried and was explained, but I dont have the full code. -------------------------------------------------------------------------------------------------------------- Go to AdminCP > Plugins Add a new plugin using global_start. Use this code. PHP Code:
these work perfectly. But how do I add the amount of people online and newest member? these are the variables in the theme: PHP Code:
Kind regards |
#2
|
|||
|
|||
Plese ask in the thread where you found this code.
|
#3
|
|||
|
|||
euhm okay, and is there a reason for asking it elsewhere?
problem is that thread has been dead for over a year. And I really would like to fix this template within the next three days. EDIT: I've been trying to search further and went into phpmyadmin. I found the 'stats' table but don't think I can use it. Are these updated regulary? or just when they are called upon? If I you can just help me with the place to look for, I would be a step further. I will try to solve it if i could just get a boost. regards EDIT_2 SOLVED Well I've finally found it after 3 hours of searching, learning, headaches... For those who are interested in this feature: First off go to AdminCP > Plugins Add a new plugin using global_start. Use this code. PHP Code:
In your header you can then use: PHP Code:
Hope this helps. Regards |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|