The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$vboptions in postbit via plugin (getting information)
I cannot seem to get this working, I've tried init_startup, global_startup, global_complete, postbit_display_complete, postbit_display_start, etc.
Where should I put $vbulletin->options['myhackname'] to be able to go into postbit_display_complete? (I tried placing it in the same plugin and it didn't work.) All the best, Guru (toonysnn) |
#2
|
||||
|
||||
What do you mean "where should I put" it? $vbulletin->options are defined in the Admin CP under vBulletin Options. Once they are defined there, they are available for use in most any template, I believe. If you are writing your own product, then turn on debug mode and you may make your own options in there.
|
#3
|
|||
|
|||
Yes, I know, but it won't work. I've set my custom $vbulletin->options['ezcredits_name'] to "Credits" (Default and set customly) but in all but two of those plugins, it didn't allow me to use it.
Is it just trying to piss me off? O_o I've set it where "EzCredits" will only show up if $vbulletin->options['ezcredits_name'] is "empty" |
#4
|
||||
|
||||
Did you make sure $vbulletin was defined as global?
|
#5
|
|||
|
|||
Hmm...no I didn't.
Oh my god. I feel like a idiot now. LOL Thanks. |
#6
|
|||
|
|||
<font face="Courier">$this->registry->options['ezcredits_name']</font> will probably work as well, though I haven't tested it. But it is a better way to access the options settings.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|