Log in

View Full Version : Getting the $vboptions array


richever
06-11-2008, 07:22 PM
I'm somewhat new to vbulletin and the work I'm doing with it is more on the integration side of things. So, I'm mainly writing php to integrate an existing webapp with vbulletin.

What I'd like to do is get the values for cookiedomain and cookiepath that are set in admincp (and in the setting table) without having to do two separate queries of the setting table.

After some searching, I've seen references to an array called $vboptions from which the values I'm looking for can be found.

But, where do you get this array from?

Thanks!

Rich

nexialys
06-11-2008, 07:47 PM
$vbulletin->options is the array you are searching for, $vboptions is the transformed array for templates only...

richever
06-11-2008, 08:26 PM
That was it. Thanks!

Rich