
02-04-2010, 11:36 AM
|
|
|
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by simonhind
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
|
Click Edit Form then scroll down to Form Hooks
Add it to the textbox ' 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];
|