Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: PWA Script users online

  1. #1

    Unhappy PWA Script users online

    Hello,
    Most of us know PWA?
    If you don't know it, it's a proxy listing website...
    You can find it here: ProxyWhereabouts - Get a free, fast, reliable proxy

    Now, check the website at the left sidebar, nr. 3...

    The 'who's online' & 'country flag'

    Does somebody know where I can find that script? Would like to use it on ProxLists.com too

    Thanks a ton in advance!

    Bye!
    |Nico Lawsons

  2. On the surface, it looks like a hack for MaxMind GeoIP.

    I believe PWA is run by the same people who run The Web Proxy Talk Forums, so the odds are that someone there will know the answer to your question.
    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.

  3. MaxMind GeoIP is very easy to implement ive done it before, amazing and free to use

  4. #4
    Quote Originally Posted by Will.Spencer View Post
    On the surface, it looks like a hack for MaxMind GeoIP.

    I believe PWA is run by the same people who run The Web Proxy Talk Forums, so the odds are that someone there will know the answer to your question.
    Tried changing it a bit, so it would work on my page (as I don't use 4homepages) but it gives this:
    ProxLists.Com - Working Proxies - Unblocked Proxies - Unblock Myspace

    Will ask on WPT

    Greetz
    |Nico Lawsons

  5. #5
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Where did you put the geoip.inc is the location set right in the script?

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

  6. #6
    Quote Originally Posted by Mr.Bill View Post
    Where did you put the geoip.inc is the location set right in the script?
    I added it to the map from ProxLists.com (as it is addon domain) and yes, every location is done correctly..
    Though, can someone check this code?

    PHP Code:
    <body>
    <?php 
    /*
      MOD VISITORS COUNTRY FLAGS
      START INSERT
    */
        
    if (!class_exists("GeoIP"))
        {
          include(
    ROOT_PATH."geoip.inc");
        }
       
        
    $gi geoip_open(ROOT_PATH."GeoIP.dat",GEOIP_STANDARD);
        
    $countries = array();
    /*
      MOD VISITORS COUNTRY FLAGS
      END INSERT
    */
    ?>
    <div id="outer">
      <div id="inner">

            <div id="header">
                <h1>Prox<span>Lists</span>.Com</h1>
                <h2>Dedicated to students!</h2>
            </div>
        
            <a href="http://proxlists.com/advertise.php"><div id="splash"></div></a>
        
            <div id="menu">
                <ul>
                  <li class="first"><a href="http://proxlists.com">Home</a></li>
                    <li><a href="exchange.php">Submit Proxy</a></li>
                    <li><a href="advertise.php">Advertise</a></li>
                    <li><a href="popular.php">Most Popular</a></li>
                  <li><a href="contact.php">Contact</a></li>
                </ul>
            </div>
        

    <div id="primarycontent">
            
                <!-- primary content start -->
            
                <div class="post">
      <div class="header">
                        <h3><center><?php echo date("F d, Y"); ?>  - Visitors Online</center></h3></div>
                    <div class="content">
    <p>Blablabla<br />

    <?php $cid geoip_country_code_by_addr($gi$row['session_ip']);
            if (empty(
    $cid)) $cid "lan";
            
    $countries[$cid] = isset($countries[$cid]) ? $countries[$cid]+1;
            
    $username "<img src=\"".ROOT_PATH."flags/".strtolower($cid).".gif"."\" alt=\"".(($cid != "lan") ? $gi->GEOIP_COUNTRY_NAMES[$gi->GEOIP_COUNTRY_CODE_TO_NUMBER[$cid]] : "Unknown or LAN")."\" border=0> ".$username;
            
    ?>
            
            <?php 
            $cid 
    geoip_country_code_by_addr($gi$row['session_ip']);
            if (empty(
    $cid)) $cid "lan";
            
    $countries[$cid] = isset($countries[$cid]) ? $countries[$cid]+1;
            
    $invitado_online_list  "<font color=\"#00FFFF\">".$num_guests_online."</font><img src=\"".ROOT_PATH."flags/".strtolower($cid).".gif"."\" alt=\"".(($cid != "lan") ? $gi->GEOIP_COUNTRY_NAMES[$gi->GEOIP_COUNTRY_CODE_TO_NUMBER[$cid]] : "Unknown or LAN")."\" border=0> ".$invitado_online_list ;
            if (
    $num_guests_online 1){
    $invitado_online_list .= " , ";
    }
            
    ?>
                    {invitado_online_list}

            </p></div></div>
    Please don't talk about the wrong code to center text etc.. just watch the GeoIP code for flags

    Greetz & thanks
    |Nico Lawsons

  7. Code:
    Warning:  include(ROOT_PATHgeoip.inc) [function.include]: failed to open stream: No such file or directory in /home/shorkws/public_html/ProxLists.Com/usersonline.php on line 20
    
    Warning:  include(ROOT_PATHgeoip.inc) [function.include]: failed to open stream: No such file or directory in /home/shorkws/public_html/ProxLists.Com/usersonline.php on line 20
    
    Warning:  include() [function.include]: Failed opening 'ROOT_PATHgeoip.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/shorkws/public_html/ProxLists.Com/usersonline.php on line 20
    
    Fatal error:  Call to undefined function geoip_open() in /home/shorkws/public_html/ProxLists.Com/usersonline.php on line 23
    It looks like you failed to define $ROOT_PATH?

    Or maybe it just need a trailing slash added to the definition?
    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.

  8. #8
    Quote Originally Posted by Will.Spencer View Post
    Code:
    Warning:  include(ROOT_PATHgeoip.inc) [function.include]: failed to open stream: No such file or directory in /home/shorkws/public_html/ProxLists.Com/usersonline.php on line 20
    
    Warning:  include(ROOT_PATHgeoip.inc) [function.include]: failed to open stream: No such file or directory in /home/shorkws/public_html/ProxLists.Com/usersonline.php on line 20
    
    Warning:  include() [function.include]: Failed opening 'ROOT_PATHgeoip.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/shorkws/public_html/ProxLists.Com/usersonline.php on line 20
    
    Fatal error:  Call to undefined function geoip_open() in /home/shorkws/public_html/ProxLists.Com/usersonline.php on line 23
    It looks like you failed to define $ROOT_PATH?

    Or maybe it just need a trailing slash added to the definition?
    Thanks, this might be the problem, I will look into this tonight

    Greetz
    |Nico Lawsons

  9. #9
    Quote Originally Posted by Aquarezz View Post
    Hello,
    Most of us know PWA?
    If you don't know it, it's a proxy listing website...
    You can find it here: ProxyWhereabouts - Get a free, fast, reliable proxy

    Now, check the website at the left sidebar, nr. 3...

    The 'who's online' & 'country flag'

    Does somebody know where I can find that script? Would like to use it on ProxLists.com too

    Thanks a ton in advance!

    Bye!

    Looks like someone has been talking about me.. oh, about my site.
    Aquarezz, the site use a script which I download long time ago. The site where I download it from was no longer available.

    If you want, you can get the script from here.
    Appreciate if you could drop some comments on the site.
    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

  10. Quote Originally Posted by proxywhereabouts View Post
    Looks like someone has been talking about me.. oh, about my site.
    This really made my day. I love these "small world" moments.
    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.

Page 1 of 2 12 LastLast

Similar Threads

  1. Hello for all users,i am new here.
    By Changer in forum Introduction Forum
    Replies: 1
    Last Post: 8 May, 2011, 02:38 AM
  2. [WTS] Online TV Script
    By chandan in forum Scripts
    Replies: 2
    Last Post: 3 February, 2011, 01:09 AM
  3. Users aims
    By Dan in forum Community Building
    Replies: 5
    Last Post: 29 May, 2010, 14:45 PM
  4. [WTS] Online clipboard script! 5$
    By ruben in forum Scripts
    Replies: 0
    Last Post: 18 March, 2010, 04:34 AM
  5. Question about visitors online PHP script
    By Aquarezz in forum Programming
    Replies: 3
    Last Post: 5 January, 2009, 11: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
  •