Ever wondered how other proxy owners put banners and ads on their proxified pages? In this article, I’ll show you how to place Adversal / AdBrite or both into PHProxy templates. You can also use this technique to implement your own banners and text links, or the code from any other programmes.
Firstly open up index.php, if you’re using Dreamweaver or Frontpage, go to line 1147. For people without those programs, open up notepad and press CTRL+F and search for this code:
This is where you want to place your AdBrite / Adversal code, make sure it’s between the apostrophe (‘) and the above code. However we are not completely done yet, if you are intending to use AdBrite, you must take out the following var lines from your given AdBrite code or else the proxy script will not work.
var AdBrite_Title_Color = '0000FF';
var AdBrite_Text_Color = '000000';
var AdBrite_Background_Color = 'FFFFFF';
var AdBrite_Border_Color = 'FFFFFF';
An alternate way, would be to change the var lines of the AdBrite code into this:
var AdBrite_Title_Color = \'0000FF\'; var AdBrite_Text_Color = \'000000\'; var AdBrite_Background_Color = \'FFFFFF\'; var AdBrite_Border_Color = \'FFFFFF\';
This method will allow you to change and keep the colours of the banner texts, border and background. Removing the code is easier than editing it, but it really depends on whether you want control over the colours etc. In addition make sure you add a break:
after the AdBrite code, otherwise your ads will collide with the check boxes.
If you’ve successfully done that, your proxified menu should now look somewhat like the following screen shot.
I opted to go with 2 x 468×60 banners instead of the large 728 x 90 banner, this is because the proxified menu will be 30px lesser in height than it would be if I choose the 720×90 and also because 2 x 468×60 banners will give you a higher CTR.
You do not need to change anything for Adversal, just place your code in and off you go!
IMPORTANT Note: You cannot put your Google AdSense on the proxified menu, this is against their TOS and if you do so, you’ll get banned immediately.
You can also use this technique to put your own banners and text-links. If your site is very popular, you can make some easy money by selling text-links on your proxified pages!
That ends it for now, thanks for reading this article! I hope I’ve given you some knowledge to go out there and increase your earnings! If you wish to post any comments or suggestions, please feel free to do so.