Benjamin Pick
Forum Replies Created
-
Forum: Plugins
In reply to: [Geolocation IP Detection] An error occured on Cron Execution background taskThis will be fixed in the version 3.1.1
Forum: Plugins
In reply to: [Geolocation IP Detection] Proxy Whitelist SubnetSorry, I fixed it now. This will be released as 3.1.1
It would be nice if the plugin had a proper “hide content if” block, but this is a feature that is quite a lot of work and thus, will not be added by me for now.
So for now, your only option is:
* Create a “group” block that groups the blocks that should be shown/hidden depending on the country, and add a CSS class under Advanced, such as “geoip geoip-show-DE” (Or use any other block that allows to add CSS classes in the Advanced properties)
* Add the CSS from
https://github.com/yellowtree/geoip-detect/wiki/API-Usage-Examples#css-use
(Of course, you might need to add your own countries etc)Forum: Plugins
In reply to: [Geolocation IP Detection] Self-hosted IP Geo-location API Server, possible?The best alternative is to use offline lookup, i.e. database files such as the Maxmind City.
You could use this plugin to write such an server, yes.Forum: Plugins
In reply to: [Geolocation IP Detection] Where does it actually show Geo location?The plugin is not integrated with WooCommerce by default (as far as I know … WooCommerce could integrate it if they like). You would have to copy the IP into the lookup form in the backend (under Tools).
I have tested this on my install, the city information is getting retrieved as it should. Did you choose “API Type: City” in the preferences?
You can also try the same IP 8.8.8.8 as some IPs do not have a city attached.CSS: You can try to adapt this CSS hiding:
https://github.com/yellowtree/geoip-detect/wiki/API-Usage-Examples#css-use
Do you mean a Block in the block editor in the WordPress backend, or a HTML div-block?
Forum: Plugins
In reply to: [Geolocation IP Detection] improve contact from 7 countries listI have released 3.1.0 now
Forum: Plugins
In reply to: [Geolocation IP Detection] Zip Code using shortcodeOh no, I realized that this means I have to raise the PHP requirements to 7.1 – bummer. I have to find a different solution then. (Praise be to unit tests!)
- This reply was modified 5 years, 12 months ago by Benjamin Pick.
Forum: Plugins
In reply to: [Geolocation IP Detection] Zip Code using shortcodeIt’s working in the beta version now – please try and let me know if it works:
https://github.com/yellowtree/geoip-detect/wiki/Beta-Testing
Forum: Plugins
In reply to: [Geolocation IP Detection] How to set debug info?[geoip_detect2_show_if country=”Ukraine”] TEXT [/geoip_detect2_show_if]
Ukraine, UKRAINE, ukraine – all work because the lower/upper case does not matter. It’s just important that the language is correct (the site language is used by default). That’s why an IsoCode might be better to use an two-letter ISO 3166-1 language code (UA).
Forum: Plugins
In reply to: [Geolocation IP Detection] How to set debug info?isoCode is always 2-letter, i think. You can check it in the Lookup function of the backend, or add a shortcode for this:
[geoip_detect2 property=”country.isoCode”
Forum: Plugins
In reply to: [Geolocation IP Detection] improve contact from 7 countries listWindows: Oh no, it seems that Flag Emojis are not supported by Windows.
https://stackoverflow.com/questions/54519758/flag-emojis-not-rendering/54520964
This seems to be on purpose (because it’s politically difficult to decide which flag to include, which not).Okay, then you can choose an open-source country selector plugin … and I’ll help you that it still auto-detects the country.
Forum: Plugins
In reply to: [Geolocation IP Detection] improve contact from 7 countries listFlag bigger: no, sorry.
Flag in Windows – this depends on the font used, because not all fonts have the flag. You can change the font via css:select {
font-family: Arial, sans-serif;
}Not sure which has the flag support in windows though, you can try in Word or so.