Quote:
Originally Posted by CrazyProgrammer
Code:
eval( '$comment_boxes .= "' . fetch_template('App_Question_box') . '";' ) ;
i have this how can make this into the new vbulletin format im not understanding this 
|
You're gonna translate into something like this, but only you know the variables that will need to be registered:
PHP Code:
/* render template and register variables */
$templater = vB_Template::create('App_Question_box');
$templater->register('my_var', $my_var);
$templater->register('my_array', $my_array);
$comment_boxes .= $templater->render();