Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

IP Based Google Map

edited November 2006 in Vanilla 1.0 Help
IP Based Google Map

Comments

  • I love the concept here, but this plugin is not working in the latest version of vanilla. Where do I go from here?
  • this would be really helpful - if u can u should consider updating this.
  • derfreddy is yours working or the same problem?
  • Is it supposed to hide the map on the admin users page? I have a main admin user and a test user and the map only shows on the test users page.

    Also, the geolocation is not very accurate (placed me in London, England when I live in Cardiff, Wales) I suppose it's good for showing what part of the world a user is in.

    Also a fix for Dreamhost users, or those with allow_url_fopen off in their php.ini file...

    Replace

    $file = fopen("$URL","r");
    $r="";
    do {
    $data = fread($file, 8192);
    $r .= $data;
    }
    while(strlen($data) !=0);
    with...

    $ch = curl_init();
    $timeout = 5; // set to zero for no timeout
    curl_setopt ($ch, CURLOPT_URL, $URL);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $data = curl_exec($ch);
    curl_close($ch);
    $r="";
    $r .= $data;
  • Does this work with Vanilla 1.1.4 I cant get it to work....
This discussion has been closed.