View Single Post
  #9  
Old 04-13-2006, 07:01 PM
 
jbart976 jbart976 is offline
 

Member
  
Join Date: Mar 2005
Location: Miami
Posts: 13
 

Default

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
Reply With Quote