Weird. I always assumed that global_start was... well, global.
I guess you'll just have to use postbit_display_start. For your Custom Page, it'd probably be simpler to just include the PHP code within the file itself, rather than using hooks.
i thought it was global also, and supprisingly in the global_start works for my custom page but not the postbit template! lol
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.
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.