The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|