Zen Cart Logo
Forums / Basic Configuration / IP won't turn off?

IP won't turn off?

Locked

Views: 3,814

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
6 Jun 2006, 10:57 PM
#1
scoutj avatar

scoutj

New Zenner

Join Date:
Jun 2006
Posts:
71
Plugin Contributions:
0

IP won't turn off?

Bruce - of the Almighty Sermon Zone has been unbelievably helpful with my shop set-up but thought I should come here to see if anyone knows what's up with this.

He had recommended that I turn off the IP address at the bottom of the page. When I did it. It still shows up. I even turned it on and off a few times and it still shows up. He said he wondered if the breadcrumb might be messing with it?

Anyone? Bueller? Thanks!:thumbsup:

Here's the site:

http://www.scoutsswag.scoutj.com

6 Jun 2006, 10:58 PM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: IP won't turn off?

where are you turning it off at?

6 Jun 2006, 11:01 PM
#3
scoutj avatar

scoutj

New Zenner

Join Date:
Jun 2006
Posts:
71
Plugin Contributions:
0

Re: IP won't turn off?

Admin/config/layout settings/ Footer - Show IP Address status

6 Jun 2006, 11:07 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: IP won't turn off?

If it is not turning off with the setting in the Admin ... then I would have to say that your template is lacking the code for this in your footer ...

You would need to do this manually, or fix the code so that in the future you can use the Admin setting for this ...

6 Jun 2006, 11:20 PM
#5
scoutj avatar

scoutj

New Zenner

Join Date:
Jun 2006
Posts:
71
Plugin Contributions:
0

Re: IP won't turn off?

That's no problem for me to mess with the code. Do you know exactly what I'd need to do though? I don't like going into the php files without knowing what to change exactly.

Thanks if you do!

Bruce/Sermon Zone was wondering if that (Home) link was messing it up somehow.

6 Jun 2006, 11:23 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: IP won't turn off?

What you need to do is a search on your code via the Admin ... Tools ... Developer's Tool Kit ...

In the bottom input box type in:

$_SERVER['REMOTE_ADDR']

Select Catalog ... and Click Search ...

This will show you where this code is hiding in your template so you can comment it out or fix it ...

6 Jun 2006, 11:26 PM
#7
scoutj avatar

scoutj

New Zenner

Join Date:
Jun 2006
Posts:
71
Plugin Contributions:
0

Re: IP won't turn off?

Okay I'm assuming this is where it needs to be changed? (It showed up in quite a few files) But to what exactly? I'm a total ghetto hacker so I don't touch stuff unless I know exactly WHAT to do!

/home/scoutj/http/scoutsswag.scoutj.com/includes/templates/template_default/common/tpl_footer.php

Line #30 : <?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>

Line #42 : <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div>

6 Jun 2006, 11:48 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: IP won't turn off?

this is the line to address ...

Line #42 : <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div>

You can delete that or comment it out ...

I am not sure if you have an IF around there or not that should be controlling it or not ...

6 Jun 2006, 11:50 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: IP won't turn off?

Note: this is the original code that should be responding to the setting in the Admin:

<!--bof-ip address display -->
<?php
if (SHOW_FOOTER_IP == '1') {
?>
<div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . '  ' . $_SERVER['REMOTE_ADDR']; ?></div>
<?php
}
?>
<!--eof-ip address display -->

If you see that, then you need to check if there is an override doing something different, or if you might have multiple configuration_keys for the:

SHOW_FOOTER_IP

7 Jun 2006, 2:16 AM
#10
scoutj avatar

scoutj

New Zenner

Join Date:
Jun 2006
Posts:
71
Plugin Contributions:
0

Re: IP won't turn off?

I completely deleted that out of the tpl_footer and nothing happened. Weird.

Where else do I look?

I mean, I don't really care about it but do people not like seeing that?

7 Jun 2006, 2:32 AM
#11
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: IP won't turn off?

you deleted it from includes/templates/your_template/common/tpl_footer.php

7 Jun 2006, 2:34 AM
#12
scoutj avatar

scoutj

New Zenner

Join Date:
Jun 2006
Posts:
71
Plugin Contributions:
0

Re: IP won't turn off?

Sorry. I'm tired. Where was I suppsed to delete it from? I'm normally not so slow....

7 Jun 2006, 2:44 AM
#13
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: IP won't turn off?

Scout,

On your site it should be includes/templates/purpleshades/common/tpl_footer.php.

7 Jun 2006, 2:58 AM
#14
scoutj avatar

scoutj

New Zenner

Join Date:
Jun 2006
Posts:
71
Plugin Contributions:
0

Re: IP won't turn off?

Bruce to the rescue! It worked.

Thanks everyone!

Nite nite.

7 Jun 2006, 3:06 AM
#15
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: IP won't turn off?

I mean, I don't really care about it but do people not like seeing that?

Customers shouldn't be concerned about their visible IP from the footer page, since it is only designated to be shown to each proper users (signed on from each sessions - seperately).

However, it is true that a link note (like: [ Note ] - same way as the Zen Cart's installation popup notes are being actually presented) should be added aside the IP so that customers doesn't have to question themselves regarding IP distributions during their activities. It would assure their safety from each Zen Cart stores. :thumbsup:

30 Nov 2006, 3:45 AM
#16
fatsheldon avatar

fatsheldon

New Zenner

Join Date:
Nov 2006
Posts:
6
Plugin Contributions:
0

Re: IP won't turn off?

Hi, thanks for this post. I'm also using the purpleshades template and ran into this little issue.

I'd also like to point out that the exact same issue exists in this template for the banner #5 display in the footer. Easily fixed using the same method as pointed out for the IP.

thanks again!

fatsheldon