![]() |
What variable in the code is the path to the forum and home page?
Trying to write a plug-in...
What variables can I access to get: a) the path to the forum (i.e. http://www.mydomain.com/forum) b) the home page path (i.e. http://www.mydomain.com) In vB 2.3, these used to be the global variables $bburl and $homeurl. This no longer appears to be the case. Thanks! |
a) $vboptions[bburl]
b) $vboptions[homeurl] check out the variables list in my signature !! |
Hey, thanks! - excellent resources.
However, I'm a bit new to this, so as a test I put this into a plug-in that is on the "global_setup_complete" hook: Code:
echo "<font color=#FFFFFF>"; bburl homeurl ...so the variables are not there (or perhaps not initialized yet?) Basically, I want to initialize something one time that will then be used by other plug-ins. |
Use the $vbulletin->options array. $vboptions is for templates only.
|
Thanks - got that part working now.
$vbulletin->options['bburl'] $vbulletin->options['homeurl'] |
All times are GMT. The time now is 02:57 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|