The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
can i use $totalthreads... variable in footer template?
can i use $totalthreads variable in footer template?
Firstly, i'm trying to put the right side bar in my site, but i want the right side bar to display in every page on my site, so i did put the right side bar code in footer template. Actaully it could work well, but when i try to put the "statistics" table code which were originally in the forum home template code, all the variables like $totalthreads, $totalposts, $numbermembers, $activemembers, $newusername don't work and don't display anything. How can i make all the varibles work properly in the footer??? Please tell me...it's urgent!!! |
#2
|
|||
|
|||
zoma, you would need to make a plugin in the function the template is called and declare the variables you need as global etc.
|
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
Somebody answer this question please? I need a reply too.
|
#5
|
|||
|
|||
And I.
I have the idea that it needs to go in the global.php, but I am not certain how to declare them or where in the php file. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|