mrkhm
06-23-2008, 04:24 AM
Hi,
how do i display the user ip address or guest ip address in the forum pages e.g. your ipaddress is xxx.xxx.xxx
I dont know whether this can be done via plugin/hook? but i really need it.
i have tried the usual:
$_SERVER['REMOTE_ADDR']
but when i try to save my template page i get a parse error.
i would also like to be able to add this ip info as a hidden custom field in my payment buttons, but this button is also available to unregistered guests so it is not necessarily a memberinfo(ipaddress) function i am after but rather currentbrowser(ipaddress). please anyone?
thanks
how do i display the user ip address or guest ip address in the forum pages e.g. your ipaddress is xxx.xxx.xxx
I dont know whether this can be done via plugin/hook? but i really need it.
i have tried the usual:
$_SERVER['REMOTE_ADDR']
but when i try to save my template page i get a parse error.
i would also like to be able to add this ip info as a hidden custom field in my payment buttons, but this button is also available to unregistered guests so it is not necessarily a memberinfo(ipaddress) function i am after but rather currentbrowser(ipaddress). please anyone?
thanks