Log in

View Full Version : load global functions in php includes


doob
02-16-2012, 05:53 AM
How does one use vbulletins global functions such as $vbphrase in a php includes?

I've got the basic includes file working, but using $vbphrase, $vboptions, and some other variables that frequently show up in the templates will not work.

Do I need to initialize them in my php somehow or am I just not using the right hook for my includes template?

Any help is appreciated!
Doob