The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
Just wondered if somebody could direct me to where I might find all values that would come under the 'vboptions' array used in the templates (vB4.0.7)? i.e. {vb:raw vboptions.xxx} I placed {vb:raw vboptions} into my header templete but it just output array; maybe somebody could explain how I'd get VB templates to display an array (might be better)? Of course, I tried the usual PHP methods without any luck and I'm still getting to grips with the vB template language. Kind regards, Kris... --------------- Added [DATE]1285335435[/DATE] at [TIME]1285335435[/TIME] --------------- OK, I found this. http://forum.vbulletinsetup.com/f18/...list-1064.html If you know of any other, more recent sources, please post here. ;o) Regards, Kris... |
#2
|
||||
|
||||
![]()
Create a file called something like "optionsview.php", inside the file paste this code:
Code:
<?php error_reporting(E_ALL & ~E_NOTICE); require_once('./global.php'); echo '<pre>'; print_r($vbulletin->options); echo '</pre>'; Also note it'll show options from any modifications you have, not just the default vbulletin ones. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|