Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Ads on phproxy proxified pages.

  1. #11
    Line removed, Error now showing up on line 1156 Parse error: syntax error, unexpected T_STRING.

    Code:
    '<br /><!-- Begin: AdBrite, Generated: 2009-02-09 14:56:19  -->
    <script type="text/javascript">
    var AdBrite_Title_Color = \'0000FF\';
    var AdBrite_Text_Color = \'000000\';
    var AdBrite_Background_Color = \'FFFFFF\';
    var AdBrite_Border_Color = \'CCCCCC\';
    var AdBrite_URL_Color = \'008000\';
    
    </script>
    <span style="white-space:nowrap;"><script type="text/javascript">document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(' src="http://ads.adbrite.com/mb/text_group.php?sid=1024134&zs=3436385f3630&ifr='+AdBrite_Iframe+'&ref='+AdBrite_Referrer+'" type="text/javascript">');document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));</script>
    <a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1024134&afsid=1"><img src="http://files.adbrite.com/mb/images/adbrite-your-ad-here-banner.gif" style="background-color:#CCCCCC;border:none;padding:0;margin:0;" alt="Your Ad Here" width="11" height="60" border="0" /></a></span>
    <!-- End: AdBrite --><br /><hr />';
    Could this be a problem with this type of AdBrite ad? I've had no problems using the same code on my Glype 1.1 sites.

  2. #12
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Last attempt if this doesnt work I dont know what to do

    Replace all your adsense code with this code

    Code:
    <!-- 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 = \'CCCCCC\';
    var AdBrite_URL_Color = \'008000\';
    </script>
    <span style="white-space:nowrap;"><script src="http://ads.adbrite.com/mb/text_group.php?sid=1024134&zs=3436385f3630" type="text/javascript"></script><!--
    --><a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1024134&afsid=1"><img src="http://files.adbrite.com/mb/images/adbrite-your-ad-here-leaderboard.gif" style="background-color:#CCCCCC;border:none;padding:0;margin:0;" alt="Your Ad Here" width="11" height="60" border="0" /></a></span>
    <!-- End AdBrite -->

    Reverse IP Check ಠ_ಠ Proxy Sites
    <?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>

  3. #13
    Join Date
    Dec 2008
    Location
    Martinique, FWI
    Posts
    321
    You must add balckslashes before all single quotes.

  4. #14
    Quote Originally Posted by Mr.Bill View Post
    Last attempt if this doesnt work I dont know what to do

    Replace all your adsense code with this code

    Code:
    <!-- 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 = \'CCCCCC\';
    var AdBrite_URL_Color = \'008000\';
    </script>
    <span style="white-space:nowrap;"><script src="http://ads.adbrite.com/mb/text_group.php?sid=1024134&zs=3436385f3630" type="text/javascript"></script><!--
    --><a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1024134&afsid=1"><img src="http://files.adbrite.com/mb/images/adbrite-your-ad-here-leaderboard.gif" style="background-color:#CCCCCC;border:none;padding:0;margin:0;" alt="Your Ad Here" width="11" height="60" border="0" /></a></span>
    <!-- End AdBrite -->
    Mr.Bill you are me hero! All working now, thanks for the awesome help

  5. #15
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Glad it worked out for you. Good luck now

    Reverse IP Check ಠ_ಠ Proxy Sites
    <?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>

  6. #16
    Aye thanks, Just goes to show how good Net Builders really is!

  7. #17
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Could go one step further and add them to the footer of your phproxy also

    Reverse IP Check ಠ_ಠ Proxy Sites
    <?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>

  8. #18
    Great you finally found the way to do it.
    Here is the link to the how-to's if you need any more help.
    Ads on proxified pages - xytheMe | Free Custom Proxy Templates


    Also, to add code in phproxy footer, use these code:

    find this line of codes;
    PHP Code:
    $pattern #</body>#i”;
    preg_match($pattern,$_response_body$matches);
    $_response_body preg_replace($pattern
    </body>$_response_body); //the replace function 
    Then replace it with these;
    PHP Code:
    $pattern #</body>#i”;
    preg_match($pattern,$_response_body$matches);
    $_response_body preg_replace($pattern
    <!– START AD CODE –>
    YOU AD CODE HERE
    <!– END AD CODE –>
    </
    body>$_response_body); //the replace function 
    Multiple File Mirror | Free Public Rapidleech Server

    ElevatedServers.net - starting from $3.99/mo
    30 days moneyback guarantee | 99.9% uptime SLA | 24/7 Support

  9. #19
    I wrote a great tutorial for adding banner ads etc. To PHProxy in the footer and the top form. PHProxy ads to proxy pages tutorial

    I also will some a tutorial for making it compatible with Youtube.

    Keldorn
    Submit new proxies -

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Any good ads for proxified pages?
    By Greyhound in forum Monetizing
    Replies: 17
    Last Post: 21 November, 2010, 13:08 PM
  2. Replies: 1
    Last Post: 23 August, 2010, 20:09 PM
  3. Tutorial: Edit proxified form (phproxy)
    By ruben in forum Web Proxies
    Replies: 0
    Last Post: 4 October, 2009, 16:33 PM
  4. Any good CPM ads for proxified pages?
    By Greyhound in forum Web Proxies
    Replies: 25
    Last Post: 21 July, 2009, 08:54 AM
  5. CPM rate on proxified pages
    By nux in forum Web Proxies
    Replies: 7
    Last Post: 14 March, 2009, 01:52 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •