Quote:
Originally Posted by kh99
The global_bootstrap_complete hook is called from inside a function (line 87 of class_bootstrap.php, if you want to se where), and there is no "global $vbulletin;" in that function, so $vbulletin isn't defined at that hook. Your function works because you do have the global statement. If you put "global $vbulletin;" in your plugin code it should work.
|
Son of a gun. I swear on my life, this crossed my mind right before I hit the submit button on the thread, so I went and tried it to no avail.
Low and behold I just re-applied the change and it works as expected.
Thanks again.