PDA

View Full Version : How to get access to the vbulletin object from templates?


hochun
01-14-2010, 02:59 AM
For example I need to get access from template to some option. Before 4.x it was very simple:

$vbulletin->options[vfsms_sticky_num]

and how to do it in 4.x?

--------------- Added 1263447543 at 1263447543 ---------------

ohh sorry. {$vbulletin->options['name']}

it must be some cache mechanism exist coz directly after product deletion and re-importing there were no settings variables in the options array.