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.

ip2 location plugin

I was using 2.3 but did a completely fresh install of 2.5 ip2location plugin when you look at users profile says invalid ip address


  • RiverRiver MVP
    edited January 2018

    various older addons that display or use ipaddress may have issues.

    This plugin and the various membership listing plugins that display or use IP addresses probably need to be updated since the ip address is now encoded in the database by vanilla.
    Retrieval and use before decoding will most likely lead to unexpected results.

    therefore when retrieving ip addresses in Vanilla 2.5 from the database and/or user table, it NOW has to be decoded prior to display or use.

    • for instance things like this might not go as expected
      echo ($Sender->User->LastIPAddress);

    • you must decode it first.

      $decodedIP = ipDecode($value);
      echo $decodedIP;

    Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.

  • Sorry for the issue. It has been fixed in latest version.

Sign In or Register to comment.