The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Using variables in a Custom Page
Hello guys
I created my own template and page but when I tried using $vbphrase[posts] $post[posts] the $vbphrase[posts] works BUT $post[posts] does not work any ideas why? |
#2
|
|||
|
|||
The $post array only has scope inside the postbit, none of the variables will work elsewhere.
|
#3
|
|||
|
|||
Quote:
so how can i display the number of posts in a custom page then? |
#4
|
||||
|
||||
Do you want to display the number of posts in the entire forum?
|
#5
|
|||
|
|||
Thanks i figured out how and for anyone with the same question here it is:
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|