![]() |
$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) |
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.
|
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" |
Did you make sure $vbulletin was defined as global?
|
Hmm...no I didn't.
Oh my god. I feel like a idiot now. LOL Thanks. |
<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.
|
All times are GMT. The time now is 07:05 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:
|