Setting up adbrite on phpproxy

Discussion in 'HTML & Website Design' started by killaklown, Mar 27, 2007.

  1. #1
    Where in the code do i put my adbrite ad code so i can set it up in this position (see attachment)
     

    Attached Files:

    killaklown, Mar 27, 2007 IP
  2. tigergb

    tigergb Active Member

    Messages:
    500
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #2
    same question. any one?
     
    tigergb, Mar 28, 2007 IP
  3. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #3
    You want it on the proxy generated pages, or in the top frame?
     
    ThreeGuineaWatch, Mar 28, 2007 IP
  4. killaklown

    killaklown Well-Known Member

    Messages:
    2,666
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    165
    #4
    I figured it out.

    You need to find:
    
    $_response_body = preg_replace('#\<\s*body(.*?)\>#si', "$0\n$_url_form" , $_response_body, 1);
    
    Code (markup):
    and right before that you put your code.
     
    killaklown, Mar 28, 2007 IP
  5. tigergb

    tigergb Active Member

    Messages:
    500
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #5
    mine does not work...
    any graph of your site? thanks.
     
    tigergb, Mar 28, 2007 IP
  6. tigergb

    tigergb Active Member

    Messages:
    500
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #6
    OK, i made a mistake, Done,

    thanks very much, for example, check my site: riskroad.cn
     
    tigergb, Mar 28, 2007 IP
  7. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #7
    You are not allowed to put AdSense on the proxy generated pages (if you get my drift.) It is against the AdSense ToS. The OP was asking abut AdBrite not AdSense.
     
    ThreeGuineaWatch, Mar 29, 2007 IP
  8. tigergb

    tigergb Active Member

    Messages:
    500
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #8
    really? I didnt know that, thanks for your remind.
    can I put adsense on my site instead of generated pages?
     
    tigergb, Mar 29, 2007 IP
  9. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #9
    You can put AdSense on your proxy's front page only. (The page that has no frames.)

    As far as I can tell, you can put AdBrite (not AdSense) on all pages. However, you might like to double check that with AdBrite before acting on it.
     
    ThreeGuineaWatch, Mar 29, 2007 IP
  10. killaklown

    killaklown Well-Known Member

    Messages:
    2,666
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    165
    #10
    My adbrite has pretty bad CTR, lol..

    46 clicks, 11393 views, and only 7 of those clicks gave me money :(
     
    killaklown, Mar 29, 2007 IP