Benjamin Pick
Forum Replies Created
-
Forum: Plugins
In reply to: [Geolocation IP Detection] Shortcode shows no DataYou cannot have [geoip_detect2_show_if] inside another [geoip_detect2_show_if]. So probably more the second solutions, two shortcodes next to each other.
Forum: Plugins
In reply to: [Geolocation IP Detection] Shortcode shows no DataI would recommend adding a shortcode “if client is not from the USA”:
[geoip_detect2_show_if property=”country.isoCode” not_property_value=”US”]
Forum: Plugins
In reply to: [Geolocation IP Detection] Shortcode shows no DataNo the display:none is on purpose, it is removed by the JS script when the condition matches.
Did you make sure the IPs data is what you expect? You can use the backend lookup form for that (under “Tools”), and/or output the detected value:
[geoip_detect2 property="mostSpecificSubdivision.isoCode" default="(country could not be detected)"]
Forum: Plugins
In reply to: [Geolocation IP Detection] Shortcode shows no DataHi,
yes this should work.I’m seeing there a space in
property=”mostSpecificSubdivision. isoCode”
Is this space also in your website? Please remove it and try again …
Forum: Plugins
In reply to: [Geolocation IP Detection] Shortcode showing nothingIf possible, enable WP_DEBUG and check if you see PHP notices.
Forum: Plugins
In reply to: [Geolocation IP Detection] Shortcode showing nothingI need more details: Which PHP version are you using? Which Shortcode? Are you using AJAX mode? Does the lookup work in the backend?
If it is urgent, please downgrade the plugin for now, you can do it manually via ftp or use a Plugin such as “WP Rollback” for this.
Forum: Plugins
In reply to: [BackUpWordPress] Fatal error after switching to PHP 8I have fixed the issue:
https://github.com/xibodevelopment/backupwordpress/pull/1211For my own purposes, I have created a fork with this fix and a version number of 3.99 – you may use it if you like:
https://github.com/benjaminpick/backupwordpress/archive/refs/heads/master.zip
Forum: Plugins
In reply to: [BackUpWordPress] Warning after switching to PHP 8I have created a pull request for this :
https://github.com/xibodevelopment/backupwordpress/pull/1211
Hi,
I will consider adding it at some point. However, beware that it says in the Privacy Policy:
These Services are hosted in the United States and are intended primarily for visitors located within the United States. If you choose to use the Services from other regions of the world with laws governing data collection and use that may differ from U.S. law, then please note that you may be transferring your Personal Information outside of those regions to the United States for storage and processing. By providing your Personal Information through the Services, you consent to such transfer, storage, and processing.
So I would consider this data source non-compliant to GDPR (as recently, Europe even disallowed the use of Google Analytics)
To answer your question – it is currently not possible to use different versions of the maxmind library in different plugins. It’s complicated …
https://www.ads-software.com/support/topic/maxmind-lib-incompabilities-meta-ticket/Backend and Frontend are using the same code, so my guess is that either page cache or reverse proxy is configured incorrectly:
https://github.com/yellowtree/geoip-detect/wiki/Troubleshooting
Wordfence – are you using the most recent versions of both Wordfence and the GeoIP Detection plugin?
Forum: Plugins
In reply to: [Geolocation IP Detection] How to use it with Elementor?I don’t know Elementor but if the shortcodes are not working (are they not parsed?), you could also use the CSS way of doing it (e.g. by adding a custom CSS class for a block or adding custom HTML with a class):
https://github.com/yellowtree/geoip-detect/wiki/API-Usage-Examples#css-use
Forum: Plugins
In reply to: [Server IP & Memory Usage Display] Incorrect dataYes that might be a plugin trying to set memory_limit to -1.
Forum: Plugins
In reply to: [Geolocation IP Detection] Fatal Error after plugin updateThat’s weird, I never saw that one before.
Could it be that you have another plugin installed that also uses the Maxmind Libraries? Did you see a notice about it?
But of course, he shouldn’t throw a fatal error because of this. I have released a beta version for now, can you try it?
https://github.com/yellowtree/geoip-detect/wiki/Beta-Testing
Forum: Plugins
In reply to: [Server IP & Memory Usage Display] Incorrect datahttps://www.php.net/manual/en/ini.core.php#ini.memory-limit
When memory-limit is set to -1, that is a special value: it means that there is no restriction as to how much PHP is allowed to allocate. Calculating a percentage doesn’t make sense in this case.
(The real memory limit could only be tried out … e.g. running such a script in WP-Cron : https://gist.github.com/thonixx/6334619 )