Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ads on the bottom of the proxified pages
01-05-2008, 04:03 AM
Post: #1
ads on the bottom of the proxified pages
I just started playing with Glype, after I found an awesome deal on a q6600 dedicated server & was wondering if anyone knew how to put ads at the bottom of the proxified pages like in PHproxy.
Find all posts by this user
Quote this message in a reply
01-05-2008, 04:36 AM
Post: #2
RE: ads on the bottom of the proxified pages
In browse.php find the badwords thing and add your ad code after it.

# Strip badwords
$fetch->return = str_replace($badWords,'####',$fetch->return);

$fetch->return .= $your_ad_code;

I think that should work.

Glype Templates - Free Proxy Templates
Find all posts by this user
Quote this message in a reply
01-05-2008, 08:20 AM
Post: #3
RE: ads on the bottom of the proxified pages
that works Great, thanks.
Find all posts by this user
Quote this message in a reply
01-06-2008, 10:11 AM
Post: #4
RE: ads on the bottom of the proxified pages
And where/how do you define the variable $your_ad_code?
Sorry, I'm not too proficient with php yet Tongue
Find all posts by this user
Quote this message in a reply
01-06-2008, 06:46 PM
Post: #5
RE: ads on the bottom of the proxified pages
anions Wrote:And where/how do you define the variable $your_ad_code?
Sorry, I'm not too proficient with php yet Tongue

I put the code in my config.php file, then placed this code at the top of browse.php - <?php include "config.php"; ?>. Then placed my code
$fetch->return .= $adcode8; below $fetch->return = str_replace($badWords,'####',$fetch->return);

It worked but I had to remove it because only a few pages loaded properly, I now have another problem. I have hotlinking enabled in the settings file via setup.php but I can still hotlink, copy the address from 1 browser to another. Where as when trying that on other peoples Glype proxies it will take you to the home page like its supose to.
Find all posts by this user
Quote this message in a reply
01-06-2008, 08:59 PM
Post: #6
RE: ads on the bottom of the proxified pages
What version are you using? 0.5.1 fixed some hotlink problems.

Glype Templates - Free Proxy Templates
Find all posts by this user
Quote this message in a reply
01-06-2008, 10:03 PM
Post: #7
RE: ads on the bottom of the proxified pages
I just deleted the setup.php file & now it works, strange.

Still need to work on the orginal problem of ads on the bottom of the page. Like I said it works fif you only go to google but if you goto myspace, bebo, etc it won't load the css file, no pics just the text/links to the left. When I have some time I try playing around with it.[/i]
Find all posts by this user
Quote this message in a reply
09-26-2008, 02:38 AM
Post: #8
RE: ads on the bottom of the proxified pages
I'm interested in doing that too. Can't find any resource anywhere. Just wondering if anyone find the solution at the end?
Find all posts by this user
Quote this message in a reply
11-15-2008, 07:52 AM
Post: #9
RE: ads on the bottom of the proxified pages
In your glype setup, there is an option for you to put the ads on the bottom.

PR4 Proxy List
PR2 Proxy List
Custom Proxy Templates for FREE!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:

Contact UsWeb Proxy TalkReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication