The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
help retriveing VB options into forum blocks vbulletin->options[''] - SOLVED
Want to use this option in forum blocks
$highcol = vB::$vbulletin->options['ew_highcol']; Getting this error Fatal error: Class 'vB' not found in C:\xampp\xampp\htdocs\emod\includes\block\html.php (89) : eval()'d code on line 2 so i am worried that i cannot retrive vb options in blocks? cant find any code bits using that in blocks.. --------------- Added [DATE]1265845400[/DATE] at [TIME]1265845400[/TIME] --------------- okay if i remove the vB:: infront then i dont get any errors lol... --------------- Added [DATE]1265846228[/DATE] at [TIME]1265846228[/TIME] --------------- Well errors might be gone.. but i simply cant get a response from options as if no data is there.. but if i print the option in a template to test, it returns 1 PHP Code:
Solved Need to add global $vbulletin, $vbphrase; infront of it all.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|