Results 1 to 9 of 9

Thread: How to place ads on proxified page of php proxy script

  1. #1
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,327 Times in 1,258 Posts

    How to place ads on proxified page of php proxy script

    How to place ads on proxified page of php proxy script

    Friday, December 28th, 2007

    PHP proxy is the most commonly used proxy scripts around. Though the coder seems to have discontinued the project but still we can find it easily at sourceforge . I Myself too use the modified php proxy theme on most of my proxies. I use the modified one so that all myspace and orkut features can be accessed. Thats another story though, today we’ll see wherea to add the adcode on proxified page. Most of the new proxy owners find it difficult to place the adcode in proxified(index.php) page.

    Lets understand this 1st, index.inc.php is the main page of ur site where you can place adsense ads and index.php is the proxified page, where u are not allowed to used adsense ads(its against adsense’ TOS to do so). Usually we use adbrite or adversal ads on proxified pages.

    Lets see where to place the adcode. Open index.php file. Search for <br /><hr />. Just after that place your adcode and add <br /> just after the adcode (so that the options are shown below your ads and not in the same line as ads). Remember your adcode should be between<br /><hr /> and '; . If you placed adversal code then you are done, save the file and use it on your proxy. But if u want to use adbrite ads then don’t close it yet. Your adbrite code is something like this(we’ll just see the part of the code which needs to be edited)


    var AdBrite_Title_Color = ‘0000FF’;
    var AdBrite_Text_Color = ‘000000′;
    var AdBrite_Background_Color = ‘FFFFFF’;
    var AdBrite_Border_Color = ‘FFFFFF’;


    Change it either to
    var AdBrite_Title_Color = “0000FF”;
    var AdBrite_Text_Color = “000000″;
    var AdBrite_Background_Color = “FFFFFF”;
    var AdBrite_Border_Color = “FFFFFF”;


    Or To
    var AdBrite_Title_Color = \’0000FF\’;
    var AdBrite_Text_Color = \’000000\’;
    var AdBrite_Background_Color = \’FFFFFF\’;
    var AdBrite_Border_Color = \’FFFFFF\’;


    In The 1st option we Replaced ' With " And in the second one add \ just before every '.

    If u forget to do this for adbrite, then the script wont work and u will just see blank page on your website.

    Note: This article originally appeared at http://www.jayantuppal.com/, but that web site is no longer online. If you are the owner of this content and object to this placement, please contact me.
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  2. #2
    jayant_me's Avatar
    jayant_me is offline Net Builder
    Join Date
    Dec 2008
    Posts
    143
    Thanks
    36
    Thanked 9 Times in 8 Posts
    Site is not online as of now because of server changes and should be back up soon

  3. #3
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,327 Times in 1,258 Posts
    Sweet! It was a nice site and I linked to it when it was up.

    When it is up again, I'd like to delete this thread and link to the authoritative article on your site again.

    Please let me know when it's back online.
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  4. #4
    onlineravi is offline Unknown Net Builder
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I was wondering whether we can call an iframe on top of the page i.e. proxified page and let the iframe do the rest. I do not have a proxy but would like to do the same. i.e. trying out different things

  5. #5
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,327 Times in 1,258 Posts
    Quote Originally Posted by onlineravi View Post
    I was wondering whether we can call an iframe on top of the page i.e. proxified page and let the iframe do the rest. I do not have a proxy but would like to do the same. i.e. trying out different things
    I'm a bit confused. What exactly is it that you want the IFRAME to do?
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  6. #6
    jayant_me's Avatar
    jayant_me is offline Net Builder
    Join Date
    Dec 2008
    Posts
    143
    Thanks
    36
    Thanked 9 Times in 8 Posts
    Quote Originally Posted by onlineravi View Post
    I was wondering whether we can call an iframe on top of the page i.e. proxified page and let the iframe do the rest. I do not have a proxy but would like to do the same. i.e. trying out different things
    You mean..... ur ads at the top of the proxified page and the content is being retrieved from some other proxy site?

  7. #7
    z613 is offline Net Builder
    Join Date
    Dec 2008
    Location
    Canada
    Posts
    106
    Thanks
    6
    Thanked 4 Times in 4 Posts
    Do we know how to place ads at the bottom of proxified pages using the PHP Script. That's one I could never figure out.



  8. #8
    Mr.Bill's Avatar
    Mr.Bill is offline One is glad to be of service
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Blog Entries
    1
    Thanks
    72
    Thanked 350 Times in 182 Posts
    Quote Originally Posted by z613 View Post
    Do we know how to place ads at the bottom of proxified pages using the PHP Script. That's one I could never figure out.
    That is one of the best ways I have seen like on this proxy having the adbrite down there has been a great to display additional ads on the page without it looking cluttered.

    I didnt code it so cant help much but would like to see someone answer it.

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

  9. #9
    PSDproxies is offline Newbie Net Builder
    Join Date
    Dec 2008
    Posts
    43
    Thanks
    2
    Thanked 4 Times in 3 Posts

Similar Threads

  1. Replies: 1
    Last Post: 23 August, 2010, 20:09 PM
  2. cpa on proxified page?
    By GrilledChicked in forum Web Proxies
    Replies: 8
    Last Post: 20 July, 2010, 18:25 PM
  3. Add a new page to @proxy script
    By ProxySites.ca in forum Proxy List Support Forum
    Replies: 1
    Last Post: 3 May, 2010, 10:03 AM
  4. How to edit proxified page head section
    By jakki in forum Web Proxies
    Replies: 1
    Last Post: 15 December, 2009, 12:27 PM
  5. How to place advertisements on top of proxified pages
    By Will.Spencer in forum Web Proxies
    Replies: 0
    Last Post: 10 December, 2008, 15:49 PM

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
  •