The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
preg_replace if condition in template
im trying to replace everything inside of an if condition in the quick reply template
my parse_template code is: Code:
$vbulletin->templatecache['showthread_quickreply'] = preg_replace("/<if condition=\"$show\['qr_require_click'\]\">(.*)<\/if>/",fetch_template('drc_ac'),$vbulletin->templatecache['showthread_quickreply']); Code:
$vbulletin->templatecache['showthread_quickreply'] = fetch_template('drc_ac'); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|