View Full Version : Top Of the Page Advertising?
Hotwire
12th April 2007, 16:12
Is it possibel to have a script setup that will display a full width banner across the top of a customers webpage. I would like to impliment this feature for select hosting plans, mainly the free, and affiliate plans I offer.
falko
13th April 2007, 16:11
I'm not sure, but maybe you can pipe the pages through some kind of proxy and then add your ads.
jnsc
13th April 2007, 17:35
I once saw an apache module who was doing this, but this was more than 5 years ago, and I don't recall the name.
edge
13th April 2007, 18:04
I tested this some time ago with Apache's mod_rewrite.
Not sure if this is the code I used (I can not access my test server at the momen)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME}!add.php
RewriteRule ^(.*) /add.php
</IfModule>
You will need to code "add.php" to handle the banners.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.