Quote:
Originally Posted by subvertbeats
Do you know of (or can you add) a way to view the forms without forum header and footer? (ideally add an option with the definition of each form to use a given vB style)
Im trying to use the forms inside an iframe on page outside of the main forums, and this page already has its own separate header/footer,
Thanks!
|
Find in Plugin:
Easy Forms Part 1:
PHP Code:
eval('$html = "' . fetch_template('form_view') . '";');
$canviewformlist = unserialize($vbulletin->options['canviewformlist']);
if (!$canviewformlist OR !is_member_of($vbulletin->userinfo, $canviewformlist))
{
$navbits = construct_navbits(array(
'' => construct_phrase($vbphrase['view_form'], $form['title'])
));
}
else
{
$navbits = construct_navbits(array(
'misc.php?do=forms' . $vbulletin->session->vars['sessionurl_q'] => construct_phrase($vbphrase['forms']),
'' => construct_phrase($vbphrase['view_form'], $form['title'])
));
}
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('shell_blank') . '");');
Replace:
PHP Code:
eval('print_output("' . fetch_template('form_view') . '");');