clarkwinkelmann it's "View post IP addresses" which is set to moderators by default

I don't know where can I find post IP addresses?

5 months later

Flarum1.5.0 installation Geo IP does not display, the ipdata query set in the background, the background of ipdata can see that there are calls
Image description

I found that after logging in with the administrator account, I can see the IP and the region, but ordinary users or moderators can only see the IP and cannot view the region, and I can't find the relevant settings on the permission page. Can all registered users see the IP location?

    essesoul looking at the source code, this extension doesn't seem to have any permission but the data is exposed according do Flarum's "View IP" permission.

    I don't think there's a way to show the IP information without showing the IP as well.

      clarkwinkelmann

      I have set all registered users to view the IP, but when I log in with an account without administrative rights, I cannot see the region to which the IP belongs

      • IanM replied to this.
        a month later

        1.1.0

        ⚠️ This extension now requires the following at a minimum:

        • PHP 8.0 or above
        • Flarum 1.2 or later
        Updating
        composer require fof/geoip
        php flarum migrate
        php flarum cache:clear
          8 months later

          erbosha This extension doesn't have any code that mentions a "region" or change "footerItems" - I don't think the error is with FoF GeoIP.

            1.2.0

            • Refactored code to use job queues
              • If using eg. a Redis queue, the API calls will no longer make users wait longer for their request to process
              • If using sync queue (default), behavior should be the same.
              • This code is quite scuffed, so there might be some weird situations where stuff doesn't work as expected (think that has applied to this extension already though)
            • Added support for https://www.iplocation.net as a service
            • Fix image for flag emojis no longer working

            erbosha Looks like it is because it was initially a fork of fof/geoip and so the model it uses conflicts with the one from this extension. Can't do anything about it except have one of the extensions change that.

            Relevant lines in both are

              a month later

              Okay, I am feeling a little left out here.

              What exactly does this extension do?

              How do I set it up?

              How do I use it?

              I ask all that after I have already installed the extension, enabled it, selected FreeGeoIP from the drop-down list, and clicked the submit button. Now what?

                times you can see the screenshots in the first post. It adds information next to the IP address, which is in the popup that appears when you click on the date of a post.

                2 months later

                1.3.0

                Changes

                Note this version now requires the latest 1.8.2 or higher of flarum/core IanM

                Full Changelog: https://github.com/FriendsOfFlarum/geoip/compare/1.2.0...1.3.0

                Screenshots

                Redesigned meta info (visible to admins/mods)

                image

                Integration with session management (visible to own profile)

                image

                Information modal with location map

                image

                Updating

                composer require fof/geoip:"*"
                php flarum cache:clear
                a month later

                @IanM

                NOT GET GOOGLE MAP IP : Refused to get unsafe header "X-CSRF-Token"

                const csrfToken = xhr.getResponseHeader('X-CSRF-Token');

                6 days later
                24 days later

                1.4.0

                • adds timestamps to the ip_info table
                • remove IPStack provider (no longer available)
                • identify cellular network IP's (when using IPData or IP-API provider)
                • support batch lookups when using IP-API
                • support IP-Api Pro

                FriendsOfFlarum/geoip32

                Upgrading
                composer require fof/geoip:"*"
                php flarum migrate
                php flarum cache:clear
                2 months later