Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
After February 6, this site will no longer have Facebook, Twitter, or OpenID sign-in options. Read our announcement about social media SSO support in 2.8 for more info.

Make sure you have a current, valid email address set in your profile and set a password so you can login without it. If you get locked out after that time, you can choose "Forgot Password" to fix it as long as a valid email is on your account.

ip2 location plugin

This discussion is related to the IP2Location addon.

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.