WordPress.org

Support

Support » Plugins and Hacks » Quick Flag » [Plugin: Quick Flag] IP info not inside database

[Plugin: Quick Flag] IP info not inside database

  • When echoing the short code or using your example `if(isset($_SERVER[‘HTTP_X_FORWARD_FOR’]))
    $ip = $_SERVER[‘HTTP_X_FORWARD_FOR’];
    else
    $ip = $_SERVER[‘REMOTE_ADDR’];

    if(function_exists(‘quick_flag_get_info’)){
    if(($info = quick_flag_get_info($ip)) != FALSE )
    $flag = quick_flag_get_flag($info);
    else
    $flag = ‘IP info not inside database.’;
    } else
    $flag = ‘Quick Flag plugin not installed or not activated.’;`

    I get the output: IP info not inside database. I have taken a look at the database and all the country and IP info is there. I have tried accessing the site via different IP addresses and country locations (remote servers and VPN) and nothing seems to work.

    http://wordpress.org/extend/plugins/quick-flag/

Viewing 1 replies (of 1 total)
  • Plugin Author Marko-M

    @marko-m

    Hello thanks for your report. Quick Flag is using ip-countryside database and even though it is very accurate it doesn’t have info about every single IP address out there. ‘IP info not inside database.’ means that your current IP address is not amongst 270 000 IP address ranges inside database. You can test this database on ip-countryside demo page or at my demo sites for plugins that use Quick Flag 1, 2. If all these demo sites can detect your country and your Quick Flag install spits ‘IP info not inside database.’ then this is Quick Flag bug, please report back and I’ll do my best to fix it. Also some people have tested on their LAN, have to mention that Quick Flag only works on Internet not on local networks.

    Regards,
    Marko

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Quick Flag] IP info not inside database’ is closed to new replies.
Skip to toolbar