PDA

View Full Version : Google Ads on Free Sites


QuickFreeHost
07-30-2006, 03:39 PM
I have noticed that users are removing my Google Ads in the header SOMEHOW. Can someone please tell me how they are doing this and how to stop it? Thanks in advance.

gryffin
07-30-2006, 03:53 PM
i reported this to xpanel, i guess it wasnt fixed.

the ad code i persume as with most xpanel ads is in a div

set all divs to hidden, then make a visible exception for divs you want to show
(or use a design built on tables)

= no ads

QuickFreeHost
07-30-2006, 03:57 PM
So how exactly can i fix this?

QuickFreeHost
07-30-2006, 06:29 PM
Anyone?

peterz
07-30-2006, 06:35 PM
Your best bet is to look at the code for the page where the ad code is missing and see how they did it. Once you have that figured out you may be able to attack the problem.

QuickFreeHost
07-30-2006, 06:48 PM
Could this be doing it?

<div id="header">

QuickFreeHost
07-30-2006, 07:08 PM
It also seems that Apache 2 is the only one that Xpanel supports putting ads into PHP files uploaded from users. :|

gryffin
07-31-2006, 10:35 AM
yes

xpanel places google ads in a div

remove the div code, use a table or something, then run the ads updater perl file

QuickFreeHost
07-31-2006, 02:30 PM
Do i need to do this in the category templates? or do i need to just change it in the header.js files?