Benjamin Pick
Forum Replies Created
-
Forum: Plugins
In reply to: [Geolocation IP Detection] Null IP detectionIt can return an empty record, though, where country returns “” – when the IP is unknown.
Forum: Plugins
In reply to: [Geolocation IP Detection] Null IP detectionno it shouldn’t return NULL, can you tell me which source you are using and which IP?
Forum: Plugins
In reply to: [Geolocation IP Detection] Hide Text To ProvinceTry 6093943 : http://www.geonames.org/search.html?q=ontario&country=
Forum: Plugins
In reply to: [Geolocation IP Detection] Critical error in conjunction with toolsetAh, ok … try again now (beta2) …
Forum: Plugins
In reply to: [Geolocation IP Detection] Critical error in conjunction with toolsetProbably the plugin is defining its own version of str_contains, which now has become a function in PHP 8 – so the plugin probably doesn’t work in PHP 8.
Here is a similar issue:
https://github.com/symfony/symfony/issues/37035I will remove the typehint for now but upgrading your site to PHP 8 will only be possible if toolset supports it …
Can you try 4.2.0-beta1 please?
https://github.com/yellowtree/geoip-detect/wiki/Beta-Testing
Forum: Plugins
In reply to: [Geolocation IP Detection] Testing IP lookups, some are “incorrect”?Indeed I don’t know the specifics about how an IP gets tagged for a certain location etc, but here is a general overview of the sources:
https://github.com/yellowtree/geoip-detect/wiki/FAQ#which-data-source-should-i-choose
Forum: Plugins
In reply to: [Geolocation IP Detection] Critical error after update maxmind databaseGreat!
Forum: Plugins
In reply to: [Geolocation IP Detection] Critical error after update maxmind databaseOr, if you cannot access that file, you can install the Beta version and see if he says “Is the downloaded file corrupt?” when you click on Update Now *2 times* …
https://github.com/yellowtree/geoip-detect/archive/master.zip
https://github.com/yellowtree/geoip-detect/wiki/Beta-Testing
Forum: Plugins
In reply to: [Geolocation IP Detection] Critical error after update maxmind databaseDid it work before?
Can you try if the downloaded file is corrupt? For example, by downloading the File mentioned in the error/tmp/GeoLite2-City.tar-0LVfqp.tmp, or by deleting it and clicking on Update now again.Of course, it shouldn’t create an Fatal Error anyway, I will make sure of that in the next version. But the question is if this is a temporary error or permanent error. It might also be an configuration issue, that it occurs only on some server configurations …
Forum: Plugins
In reply to: [Geolocation IP Detection] Errors Creating ReaderYou could set a custom mmdb folder via a wordpress filter – not sure which folder is appropriate though, I was hoping using the wp-uploads folder is failsafe (but Woocommerce also does a lot more detecting there to support Cloud filebuckets and so on).
I have added a new filter
geoip_detect_get_abs_mmdb_filenamefor this, you can try the beta version of the plugin.
https://github.com/yellowtree/geoip-detect/wiki/Beta-TestingForum: Plugins
In reply to: [Geolocation IP Detection] Woocommerce cssSorry, no …
Forum: Plugins
In reply to: [Geolocation IP Detection] Maxmind automatic updates failingIf the Cron update is failing, you would see an admin notice in the backend. So probably it’s not executing.
Did you disable the Web Cron and running wp-cron.php manually instead?
Forum: Plugins
In reply to: [Geolocation IP Detection] How to setup with cache plugins?Did you enable the option “Disable caching a page that contains a shortcode or API call to geo-dependent functions.” ?
Forum: Plugins
In reply to: [Geolocation IP Detection] WP Rocket WP Engine caching issues DONOTCAHCEPAGEYour best option is to use the AJAX mode:
https://github.com/yellowtree/geoip-detect/wiki/API-Usage-Examples#redirect-depending-on-country
Be careful, though, to not create a redirect loop – and to offer a possibility for the user to choose another language anyway.
> use the ID block, so I can hide it and post it
I don’t understand what you mean.
I’m sorry, this plugin is aimed for developers … if you want, there are other plugins that are more easy to use (but cost something).
For example (result of my google search, I didn’t test the plugin): https://geotargetingwp.com/blog/how-to-geotarget-gutenberg-blocks-in-wordpress
- This reply was modified 5 years, 10 months ago by Benjamin Pick.