Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Not working with 2.1.11

Since upgrading to 2.1.11, I've noticed that this plugin stopped working. Instead of displaying a flag, it just displays the word: "Location" for each user.

Not a critical plugin, but one that is useful for weeding out spammers.

Comments

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    That is the default when there is no country code.

  • Options

    I know. It was displaying flags before the upgrade to 2.1.11.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    From what did you update ? maybe you need to reinstall the plugin.

  • Options

    @gharald said:
    I know. It was displaying flags before the upgrade to 2.1.11.

    Does that mean that it is not loading the flag images?

    There was an error rendering this rich post.

  • Options

    there is debugging code already in the plugin.

    simply uncomment lines 41-43 in class.worldflags.plugin.php

    and maybe add

    var_dump($record->country_code);

    if counry is none or blank then work backwards to determine what ip address you are using and also determine if all the files are there (as vrijvliner pointed out) and are readable. if country is specified work forwards in code to see waht is going on with background image.

    test with default theme!

    then determine if you have country info.

    if not work backwards to determine if ipaddress is picked up.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.