The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi all!
I want to give a little statsinfo in the header. - amount of members - amount of posts - amount of threads With what code can I pull this info into my header ? Thanks in Advanced! |
|
#2
|
|||
|
|||
|
PHP Code:
|
|
#3
|
|||
|
|||
|
tried that allready but didn't worked out. Any other suggestions ?
|
|
#4
|
|||
|
|||
|
A quote from the index.php.
PHP Code:
|
|
#5
|
|||
|
|||
|
I hate to do this 'cos it makes me feel stupid but all what you said is not working. I have put that exact code (first) into the header and also put your second code into my index.php (witch there allready was)... How can it not work ?
|
|
#6
|
|||
|
|||
|
Timing.
If the header template is already evaluated before thoe variables are set, nothing will happen. |
|
#7
|
|||
|
|||
|
Note that you need some datastore elements to be loaded for that block of index.php code to work. Look at the $specialtemplates variable at the top of the file.
|
|
#8
|
|||
|
|||
|
Quote:
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|