karaok DursunCan I am waiting for you to update the extension. Right now, I am concentrating on providing existing feature support for beta 14. Please see [deleted] for an idea on how to obtain the visitor IP via CloudFlare. There are also many other ways to achieve this.
DursunCan [deleted] I am using nginx 1.18. https://github.com/ergin/nginx-cloudflare-real-ip resource available?
SaraGilmore Hi @datitisev ! Have you tested the Abstract geolocation service https://www.abstractapi.com/ip-geolocation-api? We've introduced it recently and update the database daily. Might be helpful for you 🙂
alexsuter @IanM where do I see the IP address after installing in Flarum? I have installed this extension but can not see anything?!
clarkwinkelmann Hari I believe this extension just adds the geo information to the IPs the user can see natively in Flarum. Flarum has a native permission for this, it's "View post IP addresses" which is set to moderators by default.
ash3T 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?
gyigi Hi @datitisev , i've got some errors(?) on this plug-in. It recognize the country mistakenly, all China is to the USA. I'm sure because me myself is in China and it turns to the USA. I've already tried to turn the service and restart the plug-in, but it didn't work.
datitisev gyigi This extension uses whatever data is obtained from the service you choose. Perhaps try using the service yourself from the site and see if they return US there?
gyigi datitisev I've already known why the error existed. Now that i'm using Cloudflare's website services, it got the ip which is CF's, so it displayed the USA. Thank you for your answer!
datitisev gyigi I think there was some extension or Nginx/Apache config to pass through the original IP instead of Cloudflare's, but I don't exactly remember what it was. You might find it in this forum somewhere or some other site though.
datitisev gyigi Don't know if it is reverse proxy. Take a look at https://support.cloudflare.com/hc/en-us/articles/200170786-How-do-I-restore-original-visitor-IP-with-Nginx-.