Results 1 to 7 of 7

Thread: another at proxy script question

  1. #1
    ProxySites.ca's Avatar
    ProxySites.ca is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    ProxySites.ca
    Posts
    241
    Thanks
    29
    Thanked 3 Times in 3 Posts

    another at proxy script question

    Hey guys,

    I am having a little problem here and I can not seem to figure out how I fixed it last time.

    On proxysites.ca you will see that some of the H3 tags and the search bar at the top are still forwarding to proxysites.net (I copied the files from there)

    How do I change it so that they all read proxysites.ca and are linked to proxysites.ca?

  2. #2
    Nathan's Avatar
    Nathan is offline Work!
    Join Date
    Dec 2008
    Location
    New Zealand
    Posts
    392
    Blog Entries
    1
    Thanks
    37
    Thanked 120 Times in 68 Posts
    Config.php all filled out correctly?

    I would also check the file /templates/home.tpl to see if that file is linking to the .net site.
    Programmer, web developer and entrepreneur.

  3. #3
    ProxySites.ca's Avatar
    ProxySites.ca is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    ProxySites.ca
    Posts
    241
    Thanks
    29
    Thanked 3 Times in 3 Posts
    Quote Originally Posted by Nathan View Post
    Config.php all filled out correctly?

    I would also check the file /templates/home.tpl to see if that file is linking to the .net site.
    Hey Nathan here is the config and home file.

    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <
    html>
    <
    head>
    <
    title>Proxy Sites #1 Proxy List</title>
    <link href="templates/style.css" rel="stylesheet" type="text/css">
    <
    meta name="verify-v1" content="Y7hFGbNOJLaz4tmpaQbAg/gYcGKmo+CUxPRmkV6gO7o=" >
    <
    meta name="description" content="Proxy Sites .net is a premium proxy list serving you fresh, new web proxies.  Come see for yourself." />
    <
    link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
    </
    head>
    <
    body>
    <
    div id="page">
    <
    div id="header">
    <
    table border="0">
    <
    tr>
    <
    td>
    <
    a href="http://www.proxysites.ca/"><img align="center" style="margin: 0; display: block;" src="images/header.png"></a>
    </
    td><td>
                   <!-- 
    SiteSearch Google -->
                    <
    form method="get" action="http://www.google.com/custom">
                    <
    table border="0" class="search">
                    <
    tr><td valign="top" align="left" height="32">
                    </
    td>
                    <
    td>
                    <
    input type="hidden" name="domains" value="www.proxysites.ca">
                    <
    label for="sbi" style="display: none">Enter your search terms</label>
                    <
    input type="text" name="q" size="25" maxlength="255" value="" id="sbi">
                    <
    label for="sbb" style="display: none">Submit search form</label>
                    <
    input type="submit" name="sa" value="Google Search" id="sbb">
                    </
    td></tr>
                    <
    tr>
                    <
    td>&nbsp;</td>
                    <
    td>
                    <
    table>
                    <
    tr>
                    <
    td>
                    <
    input type="radio" name="sitesearch" value="" checked id="ss0">
                    <
    label for="ss0" title="Search the Web"><font size="-1" color="#ffffff">Web</font></label></td>
                    <
    td>
                    <
    input type="radio" name="sitesearch" value="www.proxysites.ca" id="ss1">
                    <
    label for="ss1" title="Search www.proxysites.ca"><font size="-1" color="#ffffff">www.proxysites.net</font></label></td>
                    </
    tr>
                    </
    table>
                    <
    input type="hidden" name="client" value="pub-0583727358889842">
                    <
    input type="hidden" name="forid" value="1">
                    <
    input type="hidden" name="ie" value="ISO-8859-1">
                    <
    input type="hidden" name="oe" value="ISO-8859-1">
                    <
    input type="hidden" name="cof"value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF
    ;FORID:1"
    >
                    <
    input type="hidden" name="hl" value="en">
                    </
    td></tr></table>
                    </
    form>
                    <!-- 
    SiteSearch Google -->
     
    </
    td>
    </
    tr>
    </
    table>
    </
    div>
    <
    div id="main">
    <
    div id="menu">
    <
    h3>General</h3>
    <
    ul>
     <
    li><a href="http://www.proxysites.net/">Home</a></li>
     <
    li><a href="http://www.proxysites.net/recent-proxies.php">Recent Proxies</a></li>
     <
    li><a href="http://www.proxysites.net/top-proxies.php">Top Proxies</a></li>
     <
    li><a href="http://www.proxysites.net/submit-proxy.php">Submit Proxy</a></li>
    </
    ul>
    <
    h3>Categories</h3>
    <
    ul>
    <!-- 
    BLK menu.category -->
     <
    li><a href="/category.php?id={id}">{name} ({n_proxies})</a></li>
    <!-- 
    END menu.category -->
    <!-- 
    BLK menu.empty -->
     <
    li><div style="text-align: center; padding: 4px;">(none)</div></li>
    <!-- 
    END menu.empty -->
    </
    ul>
    <
    br />
    </
    div> <!-- end menu --> 
    <
    div id="content">
    <
    h1>Proxy Sites.net Free Proxy List</h1>
    <!-- INCLUDE 
    336x280.tpl -->
    <
    p>Welcome to Proxy Sites dot net.  We maintain a quality list of regularly updated proxy sites.</p>
    <
    p>In addition to the regularly updated proxy list, we also scan the list multiple times a day to remove the dead sites.  You'll find only working and quality proxies here.</p>
    <p>If you'
    re looking for popular proxiescheck out our list of <a href="top-proxies.php">Top Proxies</a>.  For the latest fresh proxy sitescheck out our <a href="recent-proxies.php">Recent Proxies</a>.</p>
    <
    br /><br /><br /><br />
    <
    table class="proxy_list">
    <
    colgroup>
    <
    col width="80%">
    <
    col width="8%">
    <
    col width="12%">
    </
    colgroup>
    <
    tr>
            <
    th class="proxy">Proxy Site</th>
            <
    th class="hits">Hits</th>
            <
    th class="time">Age</th>
    </
    tr>
    <!-- 
    BLK proxy -->
    <
    tr>
            <
    td class="proxy"><div class="proxy"><a href="out/{id}" target="_blank" rel="nofollow">{proxy}</a></div></td>
            <
    td class="hits">{hits}</td>
            <
    td class="time">{time}</td>
    </
    tr>
    <!-- 
    END proxy -->
    <!-- 
    BLK empty -->
    <
    tr><td colspan="3" align="center">no proxies found</td></tr>
    <!-- 
    END empty -->
    </
    table>
    <
    br>
    <
    p>You can also subscribe to our <a href="/feed/">proxy feed</ato get real time updates of new proxies.</p>
    <!-- INCLUDE 
    footer.tpl --> 
    PHP Code:
    <?php
    //
    // MySQL database configuration
    //

    // The number of proxies displayed per page
    //
    $cfg['per_page_1'] = 25// the recent(or top) proxies page
    $cfg['per_page_2'] = 25// the page used for diplaying a single category 
    $cfg['per_page_3'] = 1500// the administration pages
    //
    // Backlink scanner settings
    //
    $cfg['scan'] = true;
    $cfg['scan_needle'] = 'proxysites.ca';
    $cfg['scan_timeout'] = 15;
    //
    // IP Limiting Settings
    //
    $cfg['iplimit_numberofhits'] = 10// Number of hits to allow from the same IP before blocking
    $cfg['iplimit_timeframe'] = 60;  // Number of seconds in which the same IP is allowed the number of hits before blocking
    $cfg['iplimit_blockfor'] = 3000// Number of seconds to block the IP. 3000 = 5 Minutes
    $cfg['iplimit_keeprecords'] = 86400// Number of seconds to keep data on IP Limiting. 86400 = 24 Hours
    //
    // Payment settings
    //
    $cfg['enable_payments'] = false// Make users pay when submitting a proxy
    $cfg['amount_to_charge'] = '1.00'// Amount to charge when submitting a proxy

    //

    // Email settings
    //
    $cfg['sendout_accepted_email'] = false;
    //
    // Other settings
    //
    $cfg['email'] =
    $cfg['domain'] = 'proxysites.ca'// your site's domain name
    $cfg['debug'] = false;   // enable debug mode
    $cfg['use_captcha'] = false;  // use captcha images on the submit page
    $cfg['auto_approval'] = true;           //enable auto approval
    $cfg['limitslds'] = true;               // limit proxy submissions based upon second-level domain
    $cfg['checkwhoanswers'] = true;         // Connect to submitted proxy URLs, and enter the answering URL instead of the submitted URL
    $cfg['disallowips'] = true;             // Disallow IP addresses as submitted proxies - require DNS names
    $cfg['validateemail'] = true;             // validate the users email address before allow them to submit proxies

    ?>
    I deleted some sections obviously. Thanks again

  4. #4
    ProxySites.ca's Avatar
    ProxySites.ca is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    ProxySites.ca
    Posts
    241
    Thanks
    29
    Thanked 3 Times in 3 Posts
    You can see the H3 links linking to proxysites.net but if I do not ever changing them when I originally downloaded the script from Will.

  5. #5
    Nathan's Avatar
    Nathan is offline Work!
    Join Date
    Dec 2008
    Location
    New Zealand
    Posts
    392
    Blog Entries
    1
    Thanks
    37
    Thanked 120 Times in 68 Posts
    I see a few instances of proxysites.net in home.tpl - you must've manually edited it and you will need to edit it for the .ca version of the site.
    Programmer, web developer and entrepreneur.

  6. #6
    ProxySites.ca's Avatar
    ProxySites.ca is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    ProxySites.ca
    Posts
    241
    Thanks
    29
    Thanked 3 Times in 3 Posts
    Quote Originally Posted by Nathan View Post
    I see a few instances of proxysites.net in home.tpl - you must've manually edited it and you will need to edit it for the .ca version of the site.
    Okay I edited that.

    Now what about the search bar at the top of the page.

    I tried to edit the header file but it is not changing. I know for a fact I did not edit every page to change it.

    Here is the header file.

    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <
    html>
    <
    head>
    <
    title>{title} - Proxy Sites</title>
    <
    link href="/templates/style.css" rel="stylesheet" type="text/css">
    <
    link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
    </
    head>
    <
    body>
    <
    div id="page">
    <
    div id="header">
    <
    table border="0">
    <
    tr>
    <
    td>
    <
    a href="/"><img align="center" style="margin: 0; display: block;" src="/images/header.png"></a>
    </
    td><td>
                   <!-- 
    SiteSearch Google -->
                    <
    form method="get" action="http://www.google.com/custom">
                    <
    table border="0" class="search">
                    <
    tr><td valign="top" align="left" height="32">
                    </
    td>
                    <
    td>
                    <
    input type="hidden" name="domains" value="www.proxysites.ca">
                    <
    label for="sbi" style="display: none">Enter your search terms</label>
                    <
    input type="text" name="q" size="25" maxlength="255" value="" id="sbi">
                    <
    label for="sbb" style="display: none">Submit search form</label>
                    <
    input type="submit" name="sa" value="Google Search" id="sbb">
                    </
    td></tr>
                    <
    tr>
                    <
    td>&nbsp;</td>
                    <
    td>
                    <
    table>
                    <
    tr>
                    <
    td>
                    <
    input type="radio" name="sitesearch" value="" checked id="ss0">
                    <
    label for="ss0" title="Search the Web"><font size="-1" color="#ffffff">Web</font></label></td>
                    <
    td>
                    <
    input type="radio" name="sitesearch" value="www.proxysites.ca" id="ss1">
                    <
    label for="ss1" title="Search www.proxysites.ca"><font size="-1" color="#ffffff">www.proxysites.ca</font></label></td>
                    </
    tr>
                    </
    table>
                    <
    input type="hidden" name="client" value="pub-0583727358889842">
                    <
    input type="hidden" name="forid" value="1">
                    <
    input type="hidden" name="ie" value="ISO-8859-1">
                    <
    input type="hidden" name="oe" value="ISO-8859-1">
                    <
    input type="hidden" name="cof"value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF
    ;FORID:1"
    >
                    <
    input type="hidden" name="hl" value="en">
                    </
    td></tr></table>
                    </
    form>
                    <!-- 
    SiteSearch Google -->

    </
    td>
    </
    tr>
    </
    table>
    </
    div>
    <
    div id="main">
    <
    div id="menu">
    <
    h3>General</h3>
    <
    ul>
     <
    li><a href="/">Home</a></li>
     <
    li><a href="/recent-proxies.php">Recent Proxies</a></li>
     <
    li><a href="/top-proxies.php">Top Proxies</a></li>
     <
    li><a href="/submit-proxy.php">Submit Proxy</a></li>
    </
    ul>
    <
    h3>Categories</h3>
    <
    ul>
    <!-- 
    BLK menu.category -->
     <
    li><a href="/category.php?id={id}">{name} ({n_proxies})</a></li>
    <!-- 
    END menu.category -->
    <!-- 
    BLK menu.empty -->
     <
    li><div style="text-align: center; padding: 4px;">(none)</div></li>
    <!-- 
    END menu.empty -->
    </
    ul>
    <
    br />
    </
    div> <!-- end menu --> 
    <
    div id="content">
                 <
    script type="text/javascript"><!--
    google_ad_client "pub-0583727358889842";
    /* ProxySites.net 468x60 */
    google_ad_slot "5425492656";
    google_ad_width 468;
    google_ad_height 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script> 

  7. #7
    Nathan's Avatar
    Nathan is offline Work!
    Join Date
    Dec 2008
    Location
    New Zealand
    Posts
    392
    Blog Entries
    1
    Thanks
    37
    Thanked 120 Times in 68 Posts
    Its in the home.tpl file only. See this line:

    Code:
    <label for="ss1" title="Search www.proxysites.ca"><font size="-1" color="#ffffff">www.proxysites.net</font></label></td>
    Programmer, web developer and entrepreneur.

Similar Threads

  1. @proxy script question
    By Habaku in forum Web Proxies
    Replies: 3
    Last Post: 31 December, 2010, 19:20 PM
  2. @Proxy Script Question
    By Zash in forum Proxy List Support Forum
    Replies: 7
    Last Post: 3 July, 2010, 09:35 AM
  3. Question about visitors online PHP script
    By Aquarezz in forum Programming
    Replies: 3
    Last Post: 5 January, 2009, 10:46 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
  •