Editing White Fyre Proxy Script

Discussion in 'Programming' started by Jelf, May 3, 2006.

  1. #1
    Ok got the site www.proxert.com and notice when you put in your url and then browse I would like to change the menu at the tops colors plus add an ad up there if anyone knows where I need to edit code to do this please tell me it would greatly help :p


    joe
     
    Jelf, May 3, 2006 IP
  2. Jelf

    Jelf Banned

    Messages:
    1,344
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    anyone have a clue?
     
    Jelf, May 3, 2006 IP
  3. danielbruzual

    danielbruzual Active Member

    Messages:
    906
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    70
    #3
    You need to open the file url_form.inc in a text editor there you will find this on the second line:
    <div style="text-align:center;border: 1px solid #C1C1C1; color: #AA0101 !important;
    background-color: #99CC66;font-size: 11px;-moz-border-radius: 10px;">
    Code (markup):
    If you want to change the style of that top menu you have to change the div's css. (the last part "-moz-border-radius: 10px;" is for the radius of the rounded corners.).
    If you want to put ads you can add your code to this document (url_form.inc).

    For example, this is what I did with in my proxy:
    
    <style type="text/css">
    div.proxytop {
    	text-align:center;
    	border: 1px solid #FF00C0; 
    	color: #FFFFFF !important;
    	background-color: #000000;
    	font-size: 11px;
    	-moz-border-radius: 10px;
    }
    </style>
    <div class="proxytop">
    
    Code (markup):

    PS: I don't recommend PHPproxy since it has some issues with several sites (like ebay), it it's for simple pages you should be fine but if you want something that will work almost perfectly with javascript and SSL you should take a look at CGIproxy
     
    danielbruzual, May 3, 2006 IP
  4. lappy512

    lappy512 Peon

    Messages:
    277
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    CGIProxy takes up a lot more CPU...

    I would suggest using a dual PHProxy/CGIProxy like stealthclick.com (not my site).

    I don't have the resources right now, even PHProxy is overloading my P4 3.0 Ghz server.

    That's why I'm buying a new AMD Athlon X2 4200+ :D
     
    lappy512, May 3, 2006 IP
  5. Jelf

    Jelf Banned

    Messages:
    1,344
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #5
    very helpful daniel thanks!
     
    Jelf, May 3, 2006 IP
  6. danielbruzual

    danielbruzual Active Member

    Messages:
    906
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    70
    #6
    No problem, if you need any more help please post here or send me a PM, I would be glad to feel useful once in my life.
     
    danielbruzual, May 4, 2006 IP
  7. wvccboy

    wvccboy Notable Member

    Messages:
    2,632
    Likes Received:
    81
    Best Answers:
    1
    Trophy Points:
    250
    #7
    Change the CSS. My poxy:

    big-upload.com/poxy

    You'll see that the CSS is changed.
     
    wvccboy, May 4, 2006 IP
  8. Jelf

    Jelf Banned

    Messages:
    1,344
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Jelf, May 4, 2006 IP
  9. wvccboy

    wvccboy Notable Member

    Messages:
    2,632
    Likes Received:
    81
    Best Answers:
    1
    Trophy Points:
    250
    #9
    Wow! LOoks awesome!
     
    wvccboy, May 4, 2006 IP
  10. Edmunds

    Edmunds Peon

    Messages:
    136
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #10
    PHProxy has a lot of other issues. Firstly, it does nothing against people linking images throughthe proxy, overloading your server, whilst at the same time your actual website isn't getting any hits at all. Secondly, it doesn't load the top include of the <body> tag of the page is empty.
     
    Edmunds, May 6, 2006 IP
  11. muaythai

    muaythai Peon

    Messages:
    92
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Do CGIproxy prevent ppl from linking images through the proxy?
     
    muaythai, Jul 10, 2006 IP
  12. danielbruzual

    danielbruzual Active Member

    Messages:
    906
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    70
    #12
    Yes, CGIproxy prevents people from hotlinking through your server.
     
    danielbruzual, Jul 10, 2006 IP