Benjamin Pick
Forum Replies Created
-
Forum: Plugins
In reply to: [Geolocation IP Detection] improve contact from 7 countries listI have added this select box extension in the next version of the plugin, here the beta:
https://github.com/yellowtree/geoip-detect/archive/speedlane.zip
[geoip_detect2_countries mycountry flag tel]
(since 3.0.5)
Country names have a UTF-8 flag in front of the country name, and the (+1) internation phone code after itIf you like it, feel free to donate :
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BSYUZHS8FH3CLForum: Plugins
In reply to: [Geolocation IP Detection] improve contact from 7 countries listThis is hard to do properly (as in – style nicely), as this requires select2 or another library that renders pseudo-select boxes. If you want, I can send you a quick fix to change the text in the normal select, even the flags work as utf-8 …
Forum: Plugins
In reply to: [Geolocation IP Detection] Contact Form 7 Shortcodes?This is how you include it in the E-Mail text: https://github.com/yellowtree/geoip-detect/wiki/API:-Shortcodes-for-Contact-Form-7#insert-the-geoinfos-of-the-user-into-the-email-text
Forum: Plugins
In reply to: [Geolocation IP Detection] Delivery limitationDistance is difficult, but feasable:
https://github.com/yellowtree/geoip-detect/wiki/API-Usage-Examples#calculate-distance-from-a-known-locationHowever, city areas … I’m not sure if the data is precise enough for this use case. Esp. as much traffic is mobile data etc. – Definetly check if it’s precise enough for you.
Forum: Plugins
In reply to: [Geolocation IP Detection] How to use it with Ninja formNinja forms is a paid plugin – so I wouldn’t even be able to test it. However, you can tell their developers to add support of my plugin in theirs, or send me a pull request that support theirs …
Forum: Reviews
In reply to: [Geolocation IP Detection] Excellent geolocation pluginCode Samples – I agree. You are always welcome to add some 😉 I am adding them slowly as I see use cases recurring.
I’m not aware that I have changed something in that area of my plugin lastly.
[_remote_ip] is the IP detected by Contact Form 7.
Do you have a reverse proxy? Is it configured in the backend options?Forum: Plugins
In reply to: [Geolocation IP Detection] Database updateOh no, my test system used UTC as Timezone, that’s why I didn’t see this issue – will be fixed with the next version. Also, there will be a way that the cron errors are displayed in the backend.
Forum: Plugins
In reply to: [Geolocation IP Detection] Detected Client IP vs Real Client IP not matchingDid you also tick “The server is behind a reverse proxy ” ? Otherwise, copy and paste the content of the “Client IP debug panel”, please
- This reply was modified 6 years, 1 month ago by Benjamin Pick.
Forum: Plugins
In reply to: [Geolocation IP Detection] Shortcodes “else”[geoip_detect2_show_if country="DE,FR,GB"] Products list [/geoip_detect2_show_if]works. Also, you can match the custom property:
[geoip_detect2_show_if property="country.isInEuropeanUnion" property_value="1"]Products list for EU[/geoip_detect2_show_if]Else is not possible. However, you can use the contrary:
[geoip_detect2_show_if property="country.isInEuropeanUnion" not_property_value="1"]Products list for EU[/geoip_detect2_show_if]Forum: Plugins
In reply to: [Geolocation IP Detection] How to hide multi country?Sorry, at my server it’s working. (Actually I had the problem that my local IP was detected as a different IP than I am really in, which is a problem of the data in the database, not of the plugin. Can you check if your client ip returns the country you expect?
[geoip_detect2 property="country.isoCode"]Forum: Plugins
In reply to: [Geolocation IP Detection] How to hide multi country?You’re right, normally this should work … I will investigate …
Also, here is my documentation on which attributes are currenlty supported: https://github.com/yellowtree/geoip-detect/wiki/API:-Shortcodes#add-a-flag-of-the-visitors-country
Sorry yes the plugin stopped working with the new version of SVG Flags. I have fixed this in my new beta, you can download it here:
https://github.com/yellowtree/geoip-detect/archive/speedlane.zip
You need to replace the content into the geoip-detect folder.
Forum: Plugins
In reply to: [Geolocation IP Detection] CacheI still don’t know what exactly does not work – do you use the country selector for Contact Form 7 or only add the country to the email? Does the sending of the mail work?