The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
i thought it was global also, and supprisingly in the global_start works for my custom page but not the postbit template! lol |
#12
|
||||
|
||||
global_start is called on all vb pages.
I believe the postbits are built from within functions so you are likely to need to call global $yourvariable in a postbit hook to get it to work. An easier way would be to create your own array $vbulletin->myvars and then use $vbulletin->myvars['var1'] etc, as $vbulletin is already globalised in most places. |
#13
|
||||
|
||||
Quote:
that's a good idea, ill give that a shot. |
#14
|
|||
|
|||
Quote:
:up: |
#15
|
|||
|
|||
global_start is called once on each page. The postbit_* hooks are called for each post.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|