Here is a patch I did on cvs, it includes
- restrict adsense to certain pages (useful to not show adsense on home page or admin pages, but everywhere else)
- style div to customize display of adsense through css
- function to observe Adsense limit of 3 per page
- added new format 234x60
Please let me know if you use this.
| Comment | File | Size | Author |
|---|---|---|---|
| adsense_0.patch | 4.9 KB | RobRoy |
Comments
Comment #1
kbahey commentedThanks for the changes. They all make sense.
I only modified the limit to be configurable, since Google may change that in the future. It still defaults to 3, so does the same thing anyways.
Comment #2
kbahey commentedThe page matching in this patch was not working, and therefore no ads were being displayed at all.
I got that fixed now.
Comment #3
(not verified) commentedComment #4
(not verified) commentedComment #5
RobRoy commentedWhatever you changed in the patch matching has broken it for me, the old code I submitted worked for me.
Comment #6
kbahey commentedThanks for noticing this.
Fixed in HEAD and 4.6.
Comment #7
(not verified) commentedComment #8
(not verified) commentedComment #9
(not verified) commentedComment #10
(not verified) commentedComment #11
(not verified) commented