Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banners and problem with adBlock


Guest

Recommended Posts

Hi again

 

This is my website (under constraction):  husaria.dk

I have a problem with adBlock, because it is blocking my banners, making my page less attractive for customers.

 

I have discovered that the reason for that is the word "banner" in the links under every single banner displayed.

You can see what Im talking about, if you put mouse over any banner on my site and check your status bar. You can see a link which includes phrase "action=banner&goto".

 

What I did to solve the problem:

 

- I have found that phrase in the file banner.php and changed it temporarily to "action=nerban&goto"

 

Now, adblock cannot see it as an advert and my page is displayed properly.

 

The problem is of course , that the link is broken and when Im clicking on the banner, the page refresh itself and that's it.

 

How and where should I make changes to eliminate the problem for good?

 

My version of OsCommerce: 2.3.3

 

Thank You and have a nice weekend.

Link to comment
Share on other sites

I think I have fixed the problem by myself.

 

Maybe this information will be useful for others with the same problem.

 

1) In the file banner.php I have changed the "action=banner&goto" into something like "action=nerban&goto"

2) In the file redirect.php I have changed text  " case 'banner' "  into " case 'nerban' "

 

and that's it :)

Of course instead of "nerban" can be any other word. This is just an example.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...