Quote:
Originally Posted by Gizmo999
How would I get it to include the forum users name and email address automatically in the output? I'd restrict use to members only.
it would need to save to database and send an email.
|
Either use custom output or use hook before complete:
PHP Code:
$formoutput .= $form[preq] . "Username:" . $form[pstq];
$formoutput .= $form['prea'] . $vbulletin->userinfo[username] . $form[psta];
$formoutput .= $form[preq] . "Email:" . $form[pstq];
$formoutput .= $form['prea'] . $vbulletin->userinfo[email] . $form[psta];