Benjamin Pick
Forum Replies Created
-
Good question, probably there is, but they don’t communicate such a limit so it should be high enough that normally you won’t be able to tell. You could ask the service provider: https://hostip.info/
About you second question, incompatibilities with other plugins that use the Maxmind data – yes sometimes that poses problems, that’s true … your best bet is to test it if it works or not. If it works for your IP it will work for other IPs, too, and will continue to work at least until one of the plugins decides to upgrade the Maxmind libraries …
Forum: Plugins
In reply to: [Geolocation IP Detection] Response timeYes if you need the Geo lookup only on some pages, you can enqueue the JS file on only those pages (e.g. via shortcode).
Forum: Plugins
In reply to: [Geolocation IP Detection] Polylang Pro integrationYes this is possible. Please contact me at [email protected] as I am not allowed to give paid support on the www.remarpro.com Forums.
Forum: Plugins
In reply to: [Geolocation IP Detection] Response timePlease give me more details about your config. Which data-source are you using? File-based databases are a lot quicker of course. Are you using AJAX mode? AJAX mode combined with page-caching will get the best response times.
Forum: Plugins
In reply to: [Geolocation IP Detection] PHP 8.3 issue?I’m sorry for replying this late, usually for fatal errors I try to be a lot quicker (but I was on holidays).
I fixed the error in 5.4.1
However, the error it was trying to show was that your WooCommerce Version is too old (at least 3.9.0 is needed).
- This reply was modified 3 months, 1 week ago by Benjamin Pick.
Forum: Plugins
In reply to: [Geolocation IP Detection] PHP 8.1 and higherThe plugin is working with PHP 8.1 / 8.2 without problems. I cannot really resolve the issues for two reasons:
- The plugins minimum PHP version is 7.2.5
- When committing the plugin to the wordpress SVN, the PHP files need to be syntactically valid in PHP 5.6 !
Both requirements should change at some point, but in the meantime, I cannot do anything.
Forum: Plugins
In reply to: [Geolocation IP Detection] Debug.logI saw it and learned something new! “Cron unschedule event error for hook: ghu_get_remote_plugin, Error code: could_not_set, Error message: The cron event list could not be saved.” Seems to be a wordpress bug, but without consequences.
If you are using a Page Cache (and Fastest Cache Plugin counts as such), you need to enable AJAX mode (otherwise he caches the IP, too).
Are you using AJAX mode?
Forum: Plugins
In reply to: [Geolocation IP Detection] Updating GeoIP2 API?No, no news yet … Thank you Diego for the Mozart hint.
Forum: Plugins
In reply to: [Geolocation IP Detection] operator=”or”You got it almost right. The problem is that WordPress can’t take two parameters with the same attribute name “city”, so instead you can write:
[geoip_detect2_show_if city=”M?nchengladbach,Erkelenz”]
Forum: Plugins
In reply to: [Geolocation IP Detection] Compatibility with Maxmind R2 presigned URLsUpdate – I misunderstood the documentation. My unit test shows that redirection should be followed without problem. So the current plugin version will continue to work.
Forum: Plugins
In reply to: [Geolocation IP Detection] Compatibility with Maxmind R2 presigned URLsThanks for the Heads-Up! No, currently the download URL does not follow redirect. I will try to release an update as soon as possible.
Forum: Plugins
In reply to: [Geolocation IP Detection] Getting Wrong IP InformationAre you using a page cache? In that case you should enable AJAX mode.
Currently this is possible like this:
jQuery(document).ready(function($) { geoip_detect.get_info().then(function(record) { if (record.get('country') == 'AU') { .... } }); });
But yes, emitting a event could be an option, too… I am considering to add it in a future version.