Zen Cart Logo
Forums / General Questions / which File needs to be edited to remove the adsense?

which File needs to be edited to remove the adsense?

Locked

Views: 1,010

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
14 Dec 2010, 12:24 AM
#1
arty101 avatar

arty101

New Zenner

Join Date:
Aug 2010
Posts:
22
Plugin Contributions:
0

which File needs to be edited to remove the adsense?

Hi,
There is a problem with my sidebar that recently it started showing adsense which i never put there on the sidebar?
Which file needs to be edited to remove the adsense code?
Can you please help me.
Thanks in advance.

14 Dec 2010, 12:41 AM
#2
jace avatar

jace

New Zenner

Join Date:
Nov 2010
Posts:
91
Plugin Contributions:
0

Re: which File needs to be edited to remove the adsense?

Hmm... if it's in a sidebox of it's own, you could check in to Tools -> Layout Boxes Controller and turn it off in there. Or if it's in a sidebox with something else, then it could involve editing the code for it.

If you can't turn it off in the Layout Boxes Controller, maybe post a link to your site and the exact page you'd need to fix could be identified?

14 Dec 2010, 12:44 AM
#3
arty101 avatar

arty101

New Zenner

Join Date:
Aug 2010
Posts:
22
Plugin Contributions:
0

Re: which File needs to be edited to remove the adsense?

Jace:

Hmm... if it's in a sidebox of it's own, you could check in to Tools -> Layout Boxes Controller and turn it off in there. Or if it's in a sidebox with something else, then it could involve editing the code for it.

If you can't turn it off in the Layout Boxes Controller, maybe post a link to your site and the exact page you'd need to fix could be identified?

Thanks for your msg. i am seeing this ad on every page on the sidebar. i think someone hacked the site and put it.
avanz.com.au

15 Dec 2010, 2:07 AM
#4
arty101 avatar

arty101

New Zenner

Join Date:
Aug 2010
Posts:
22
Plugin Contributions:
0

Re: which File needs to be edited to remove the adsense?

I checked there is no new layout boxes created. Can some one tell me which file is needed to be edited to remove the adsense from all the pages?

15 Dec 2010, 3:33 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: which File needs to be edited to remove the adsense?

You can't do it by editing files if you have been hacked - they will come back even if you remove all of them. You need to go to the "Concerns About Hack Attempts" forum and follow ALL of the directions in the big link at the top of that page.

15 Dec 2010, 3:40 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: which File needs to be edited to remove the adsense?

Where is the "adsense" content you are talking about? I don't see anything on your site now that doesn't look like it belongs there.

15 Dec 2010, 11:11 PM
#7
arty101 avatar

arty101

New Zenner

Join Date:
Aug 2010
Posts:
22
Plugin Contributions:
0

Re: which File needs to be edited to remove the adsense?

gjh42:

Where is the "adsense" content you are talking about? I don't see anything on your site now that doesn't look like it belongs there.

I have attached the picture. I have changed the admin name and related things ...But The question remain same, Which file i need to edited?
Can you kindly tell me where this adsense code would be?
Thanks

15 Dec 2010, 11:30 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: which File needs to be edited to remove the adsense?

It only shows up when I enable javascript for your site. It is not in the standard sidebox format, and it is javascript, so there is no telling where the file(s) might be.

If you didn't install anything from Google, someone else did, and you have to follow all the "recovering from hacks" steps to clean up and keep them from doing it again.

15 Dec 2010, 11:33 PM
#9
arty101 avatar

arty101

New Zenner

Join Date:
Aug 2010
Posts:
22
Plugin Contributions:
0

Re: which File needs to be edited to remove the adsense?

gjh42:

It only shows up when I enable javascript for your site. It is not in the standard sidebox format, and it is javascript, so there is no telling where the file(s) might be.

If you didn't install anything from Google, someone else did, and you have to follow all the "recovering from hacks" steps to clean up and keep them from doing it again.

Nah, I did not install anything from Google. It came automatically.
Can you do all that thing?:)

15 Dec 2010, 11:38 PM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: which File needs to be edited to remove the adsense?

You have to do the recovery steps yourself, or hire someone to do it. Post in Commercial Help Wanted if you need help beyond advice.