Three basic places should cover most of your issues, in addition to the functions_general change you made and any required changes to your epay module:
In /includes/application_top.php, near the end of the file, change this line:
Code:
$customers_ip_address = $_SERVER['REMOTE_ADDR'];
to this:
Code:
$customers_ip_address = zen_get_ip_address();
For whos_online, change includes/functions/whos_online.php:
Code:
$wo_ip_address = (isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : 'Unknown');
to:
Code:
$wo_ip_address = zen_get_ip_address();
For the footer, change your template file tpl_footer.php:
Code:
<div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div>
to:
Code:
<div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . zen_get_ip_address(); ?></div>
And strongly evaluate why you moved to this particular host
Fortunately, the upcoming 1.4.0 version of Zen Cart has more central control over this.
Bookmarks