The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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"> <head> <!-- no cache headers --> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> <meta http-equiv="Cache-Control" content="no-cache" /> <!-- end no cache headers --> <title>Array[bbtitle] - Donations</title> .....<SNIP>..... <img src="Array[bburl]/includes/pp_image.php?fill=Array[bar_fill_color]&border=Array[bar_border_color]&background=Array[bar_background_color]&percentage=0&width=200&height=9"> anyone? |
#2
|
|||
|
|||
![]()
Try
{$vbulletin->options[blah]} (and $vboptions still works too ![]() |
#3
|
||||
|
||||
![]() Quote:
|
#4
|
|||
|
|||
![]()
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).
|
#5
|
||||
|
||||
![]() Quote:
Thank you guys! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|