Quote:
Originally Posted by bananalive
PHP Code:
$ip = $vbulletin->input->clean($_SERVER['REMOTE_ADDR'], TYPE_STR);
$formoutput .= $form[preq] . "IP:" . $form[pstq];
$formoutput .= $form['prea'] . $ip . $form[psta];
|
First, great mod, thanks! I'm trying to use the above to log the IP of the person submitting the form. I have the results sent to me via PM and logged to the database so that I can see the results in table view as well. I'm inputting the code above into the "before submit" hook box and it successfully sends me the results including the IP in the PM, but it doesn't show it in table results view. Is there any way that I can get the IP to show in the table view?
Thanks again