Hi All, Can anyone help me. Im trying to place some ads on the PHProxy (latest release) proxified pages. Can anyone tell me where i do this as im not a PHP programmer, just ASP.NET. Also what ad companies allow ad's on the proxified pages, i know Adsense is out of the question! Thanks in advance. Jonathan
Adversal and abrite ads are allowed. I am also having the same problem. Each time i try to insert the code, the page is giving errors. Could someone please explain where exactly the adbrite code should be placed in index.php and also if it needs any modification or any ',",; in order not to ive errors? Thanks in advance.
Hi all, Thanks for the replies, i have found the solution to use Adbrite on the proxified pages. This works for the latest release of PHProxy. Open the "index.php" file. Search for "url_form" You will see some code like below: $_url_form = '<div style="width:100%;margin:0;text-align:center;border-bottom:1px solid #000;color:#fff;background:#654d8d;font-size:12px;font-weight:bold;font-family:Bitstream Vera Sans,arial,sans-serif;padding:4px;">' . '<form method="post" action="' . $_script_url . '">' . ' <label for="____' . $_config['url_var_name'] . '"><a href="' . $_url . '">Address</a>:</label> <input id="____' . $_config['url_var_name'] . '" type="text" size="80" name="' . $_config['url_var_name'] . '" 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 /><hr />'; Code (markup): You the replace with this: $_url_form = '<div style="width:100%;margin:0;text-align:center;border-bottom:1px solid #000;color:#fff;background:#654d8d;font-size:12px;font-weight:bold;font-family:Bitstream Vera Sans,arial,sans-serif;padding:4px;">' . '<form method="post" action="' . $_script_url . '">' . ' <label for="____' . $_config['url_var_name'] . '"><a href="' . $_url . '">Address</a>:</label> <input id="____' . $_config['url_var_name'] . '" type="text" size="80" name="' . $_config['url_var_name'] . '" 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 /><hr />' . '<!-- Begin: AdBrite -->' . '<script type="text/javascript">' . 'var AdBrite_Title_Color = \'0000FF\';' . '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=&zs=" type="text/javascript"></script><!--' . '--><a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=&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 --><br/>'; Code (markup): Just change the adbrite code to match your own. I hope this helps someone. Jonathan
I had adbrite on all my proxy pages and I noticed after a week it stopped getting ads. I only get 'Click here to advertise on this site'. I guess 80k page views and 4 clicks doesn't mesh well with their site. I'd be curious to see what sorta clickthroughs you are getting.