![]() |
$vbulletin->options[someoption] usage within the templates...
I seem to be having difficulty with this, I can only get the options to show in the templates when I use $vboptions[someoption].
So what's the deal, do I use $vbulletin->options in the templates, or $vboptions? What the standard for this? I'm wanting to get everything in line with the new system, and not use some legacy thing from previous versions, so if we are to be using $vbulletin->options in the templates, then I want to use that and not the legacy way... P.s. I use PHP Code:
PHP Code:
For example: I eval the template and everything is parsed correctly for $vbulletin-options, UNLESS the $vbulletin->options[bbtitle] is in the header area of the template...See following: HTML Code:
<html dir="ltr" lang="en"> anyone? |
Try
{$vbulletin->options[blah]} (and $vboptions still works too :)) |
Quote:
|
The curly braces mark the begin and end of a variable. You can use this in situations where php might not be able to find it automatic (or you can always use it).
|
Quote:
Thank you guys! |
All times are GMT. The time now is 09:49 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:
|