The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
fetch_template() calls should be replaced fix
Hello,
I upgraded to vbulletin 4 and i want to install a old plugin that was made for vb3. I fixed most problems but the last step left is to fix the fetch_template() calls should be replaced error. I tried to edit it myself after reading some articles but no luck. Could any of you guys edit the fetch_template line to make it work with vb4? This is my code: Code:
function generate_form_html($hash, $cost, $currency, $subinfo, $userinfo, $timeinfo) { global $vbphrase, $vbulletin, $stylevar, $show; $item = $hash; $currency = strtoupper($currency); $form['action'] = 'payment_gateway.php?method=rbspoint'; $form['method'] = 'post'; // load settings into array so the template system can access them $settings =& $this->settings; eval('$form[\'hiddenfields\'] .= "' . fetch_template('subscription_payment_rbspoint') . '";'); return $form; } |
#2
|
||||
|
||||
Replace:
PHP Code:
PHP Code:
|
2 благодарности(ей) от: | ||
MarkFL, TheLastSuperman |
#3
|
|||
|
|||
thank you for your help.
|
2 благодарности(ей) от: | ||
MarkFL, TheLastSuperman |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|