Place it towards the bottom of the file, before the WARNING comment.
Add this afterwards to call the IP anywhere:
Code:
$smarty->assign("customers_ip", fetch_remote_address());
And call the variable in any .tpl {$customers_ip}
Boomer, what do you mean by "And call the variable in any .tpl {$customers_ip}"
I copied the code into config like you said and added the line afterwards, but I'm still not seeing an IP.
Thanks.[/quote]
__________________
jbart976
X-Cart 4.0.12
|