Quote:
Originally Posted by bananalive
Fixed vBulletin editor issue with attached file.
Username is already held in hidden field.
IP address could be added as hidden field (there are 3 hiddenfields added into template and a template hook) or add it to the end of the form output
Add to bottom of form hook: before submit
PHP Code:
$ip = $vbulletin->input->clean($_SERVER['REMOTE_ADDR'], TYPE_STR); $formoutput .= $form[preq] . "IP:" . $form[pstq]; $formoutput .= $form['prea'] . $ip . $form[psta];
|
thank you, but still not sure where to put this, also i think that this should be implented if possible
for now please help me with this