[deleted] I am using nginx 1.18. https://github.com/ergin/nginx-cloudflare-real-ip resource available?
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 🙂
composer require fof/geoip:"*"
php flarum cache:clear
@ianm where do I see the IP address after installing in Flarum? I have installed this extension but can not see anything?!
alexsuter click on the date on posts next to the username.
luceos I got it now! 😁
can i install this extension and set as only the admin can see IPs ?
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.
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?
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.
SS_PRO 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?
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!
SS_PRO 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.
I think it's reverse proxy?
I will go to look for it
SS_PRO 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-.
How to see the real visitor ip when using Cloudflare?
xhemj See my message above yours.