The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
parse_template crazy trouble ! help !
I've spent several hours to fight with absolutely strange problem:
plugin parse_template: Code:
$search='/\$stylevar\[imgdir_button\]\/edit.gif/'; $replace='$vboptions[cleargifurl]'; $vbulletin->templatecache['postbit_legacy'] = preg_replace($search,$replace,$vbulletin->templatecache['postbit_legacy']); What's the shit ? can somebody explain ? Only one solution that i found - this construction: Code:
$replace="{$GLOBALS['vbulletin']->options['cleargifurl']}"; and how to do this correctly ? |
#2
|
||||
|
||||
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|