Setting up adbrite on my proxies

Discussion in 'Pay Per Click Advertising' started by lolage, May 8, 2008.

  1. #1
    At the moment im only earning from adsense. I heard about adbrite so now i wanna add this to my proxies. Is it as confusing as adsense? As when i bought my template i just put in my code without having to learn anything about coding.

    Is adbrite easy to install?

    Thanks.
     
    lolage, May 8, 2008 IP
  2. dunning72

    dunning72 Peon

    Messages:
    201
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I added Adbrite to my proxified pages since you are not allowed with Adsense. It works pretty good as you get an impression each time a person enters a URL. I still have Adsense on the main page. Depending on the script you run it is easy. Just find what code to change.
     
    dunning72, May 8, 2008 IP
  3. Lord_Anubis

    Lord_Anubis Peon

    Messages:
    361
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    looking at your sig I would say you're using PHProxy v05.2b

    look for this code on in your index.php file
            $_url_form      = '<div style="width:100%;margin:0;text-align:center;border-bottom:1px solid #725554;color:#000000;background-color:#F2FDF3;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):
    then add your Adbrite code after <br /><hr />, it should then look like this:

            $_url_form      = '<div style="width:100%;margin:0;text-align:center;border-bottom:1px solid #725554;color:#000000;background-color:#F2FDF3;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 />'
    			. '<div align="center"><!-- 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=394833&zs=3436385f3630" type="text/javascript"></script><!--
    --><a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=394833&afsid=1"><img src="http://files.adbrite.com/mb/images/adbrite-your-ad-here-banner.gif" style="background-color:#FFFFFF" alt="Your Ad Here" width="11" height="60" border="0" /></a></span>
    <!-- End: AdBrite --></div>';
    Code (markup):
    Also if you look at the final code example you will see the colour codes have \' at the front & \' at the end, you must add these to your Adbrite code. Good luck :)
     
    Lord_Anubis, May 8, 2008 IP
  4. lolage

    lolage Active Member

    Messages:
    1,129
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    78
    #4
    Ok thanks for that post - very helpful...

    Ive added it but i dont see any change on proxified pages. Where should my ad's be displayed?
     
    lolage, May 10, 2008 IP
  5. Lord_Anubis

    Lord_Anubis Peon

    Messages:
    361
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you have done it correctly, replaced the "FFFFFF" with \'FFFFFF\', your ads will be displayed below the address bar & above the options.
     
    Lord_Anubis, May 10, 2008 IP