first of all I love BricksForge, thanks for that amazing plugin.
However I encountered an issue (at least with my setup), which is related to the conditional logic with the GeoPlugin.
Somehow it seems to take the server IP as the geolocation instead of the visitor’s IP. I checked on geoplugin.com, there I have the correct details.
Do you know what could be the issue? I deactivated all caching plugins etc.
Hey! I’ve just tried to reproduce this. For me, everything is working as expected. The condition checks for the country based on the user IP. Could you give me a concrete example and steps to reproduce it?
I can confirm this issue, however, when i run this echo var_export(unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip='.$_SERVER['REMOTE_ADDR']))); in wpcodebox, it returns the right country details
I am having issues with this as well. The geolocate conditions are not working as expected. I have done significant troubleshooting with cache settings.
In my situation GeoPlugins Cloudflare is blocking my IP range and so Bricksforge Conditions won’t work at all.
This means
• The ‘GeoPlugin API’ (used by Bricksforge) sits behind Cloudflare.
• Your ISP, VPN, or local IP range (common with some Australian ISPs or privacy relays) has been automatically flagged or rate-limited by GeoPlugin’s security system.
• Since Bricksforge relies entirely on GeoPlugin for country detection, if that request fails, it can’t detect your country — and therefore your “is not AU” condition always evaluates as true (shows the element).
I would say this is a fairly significant issue that needs to be addressed, as there is no much I can do at my end to get around this - if I want to use Bricksforge.