does anyone know how to add adbrite ads in the proxified pages below the surf bar.IO tried to add.but most of the time the page just goes blank or the ads dont appear at all. I want to add this flexible ad code <!-- Begin: AdBrite --> <style type="text/css"> .adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #0000FF;} .adText {font: normal 10pt Arial; text-decoration: none; color: #000000;} </style> <script type="text/javascript" src="http://ads.adbrite.com/mb/text_group.php?sid=xxxxxxxx&br=1&dk=7469636b6574735f355f315f776562&col=5"> </script> <div><a class="adHeadline" target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=xxxxxxxafsid=1">Your Ad Here</a></div> <!-- End: AdBrite --> Code (markup): Any idea how can i add it
in phproxy .4 open the url_form.inc file and paste it in there. mess around with it until you get it located where you want it to be
it was easy in phprox 4 but in the latest version u hav only 3 files index.php,index.inc.php and a style sheet I just don't understand where to add the code and how to coz there is a different method in inserting the code in the index.php
This post is correct "url_form.inc".. or as we see it ..the top frame can be modified and the ad set in there .. look for the "links back" to MAIN PAGE stuff and place it to the left of it ..good luck
In 0.4 paste your code in url_form.inc as it was mentioned in previous posts One way to to do it, in 0.5 is: # Open index.php # Find the code $_url_form .= ‘</form></div> # Place your adbrite code just after that. Code (markup):
doesnt seem to work..i added my code <!-- Begin: AdBrite --> <style type="text/css"> .adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #0000FF;} .adText {font: normal 10pt Arial; text-decoration: none; color: #000000;} </style> <script type="text/javascript" src="http://ads.adbrite.com/mb/text_group.php?sid=xxxxxxxx&br=1&dk=7469636b6574735f355f315f776562&col=5"> </script> <div><a class="adHeadline" target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=xxxxxxxafsid=1">Your Ad Here</a></div> <!-- End: AdBrite --> Code (markup): and nothing seems to work i just get a blank page ?? Why is that
I also need help with this too. When I just paste it in, I get a PHP error. I also tried doing $_url_form .= for each line of the AdBrite code but I am unsuccessful with that as well.
. '" value="' . $_url . '" />' . ' <input type="submit" name="go" value="Go" />' . ' [go: <a href="' . $_script_url . '?' . $_config['url_var_name'] . '=' . encode_url($_url_parts['prev_dir']) .' ">up one dir</a>, <a href="' . $_script_base . '">main page</a>]' . '<br />' [COLOR="Red"] . '<!-- Begin: AdBrite -->' . '<script type="text/javascript">' . 'var AdBrite_Title_Color = \'cc0000\';' . 'var AdBrite_Text_Color = \'000000\';' . 'var AdBrite_Background_Color = \'FFFFFF\';' . 'var AdBrite_Border_Color = \'FFFFFF\';' . '</script>' . '<span style="white-space:nowrap;"><script src="http://ads.adbrite.com/mb/text_group.php?sid=265755&zs=3732385f3930" type="text/javascript"></script><!--' . '--><a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=265755&afsid=1"><img src="http://files.adbrite.com/mb/images/adbrite-your-ad-here-leaderboard.gif" style="background-color:#FFFFFF" alt="Your Ad Here" width="14" height="90" border="0" /></a></span>' . '<!-- End: AdBrite -->';[/COLOR] Code (markup):
If you would like to have ads on you error page: find: if(isset($data['category']) && $data['category'] !='error'){ echo "<b>THERE IS NO ERROR ON THIS PAGE! SHOW THE ADS</b>"; } Code (markup): Just change the "THERE IS NO ERROR ON THIS PAGE! SHOW THE ADS" to your ad-code.