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.
It is ok to take out that AdBrite code right? I remember someone said about Adsense that you can’t edit any of the codes. So just want to be sure.
Thank you for the tutorial btw :)!
Yep, you are allowed to take out the AdBrite code and it will still show, but if you’re worried you should use the alternative way.
With AdSense, if you take out any of the codes, their ads won’t show up and of course, they don’t allow any of their banners to be placed on proxified pages.
Hope that clears things up for you, good luck with your site!
i was ask in template 3 article yesterday
and now you make an article about it
thanks, guys…. you help me out
and… any new proxy phproxy template?
..and when your paid template will publish
can`t wait…. to get a new template
thanks you
Thanks for the kind comments, I hope to be releasing a few templates in the next few days!
Also feel free to sign up to our RSS feed to receive automatic updates straight from our site :)
How did you place two of them next to each other? Did you create two seperate adzones, or just paste the same adzone code two times? Please let me know, thanks!
@FreeSurfer, just copy and paste the Adzone code twice, straight after the first one.
Nice guide!
Thanks for the template and the proxified pages ads info !
this is great!
but how would you put the adlogger coder around that on the proxifired page?
I have tried and the code adlogger gives you does not work when added directly tot he index.php file of phproxy
any ideas?
Are you familiar with a way to do this with Zelune’s script?
great tutorial
thanks for the info, well laid out
Nice tutorial… thank you very much for this…!
Nice, this was a big help.
Nice work! worked okay for all my proxies. thanks for the information as i looked everywhere!
Very nice info, so web proxy masters can now double their income potential.
I am using Dreamweaver to edit the script but when I follow the tutorial, it still indicates there is a syntax error in the ad code for adBrite. I can’t figure out why, maybe I am just dumb but please help.
Hi,
I tried with adbrite but I always get this error:
Parse error: syntax error, unexpected ‘<' in /home/juszieco/public_html/index.php on line 1148
Pls adv how to solve it.
Thanks