The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Global variables on postbit_display_start
I am coding a plugin using the postbit_display_start hook, but gobal variables like $vbulletin->options[] doesn't work. Is there a way or getting the global variables to work on that hook, or am I doing something wrong?
|
#2
|
||||
|
||||
Just make the variable global at the beginning of the plugin:
PHP Code:
|
#3
|
||||
|
||||
Ah, it works. Thank you very much.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|