- Posts: 3
- Thank you received: 0
Show/hide module based on user country accessing the site
2 years 4 months ago #93
by svarmuza
Greetings,
could you help me with php code with this situation:
I would like to be able to use your extension to show/hide modules on my web page regarding the country from where user is accessing my page.
Can this be done with your CONDITION MODULE extension ?
Greetings,
Sasa
could you help me with php code with this situation:
I would like to be able to use your extension to show/hide modules on my web page regarding the country from where user is accessing my page.
Can this be done with your CONDITION MODULE extension ?
Greetings,
Sasa
Please Log in or Create an account to join the conversation.
- administrator
- Offline
- Administrator
-
Less
More
- Posts: 96
- Thank you received: 13
2 years 4 months ago #95
by administrator
JoomHelper - Free Joomla Extensions and Tutorials.
- Facebook: bit.ly/3Fmq9AN
- Youtube: bit.ly/33onadN
- Donate: bit.ly/3uu8yFs
Replied by administrator on topic Show/hide module based on user country accessing the site
Hi,
Do you use Cloudflare's service?
Do you use Cloudflare's service?
JoomHelper - Free Joomla Extensions and Tutorials.
- Facebook: bit.ly/3Fmq9AN
- Youtube: bit.ly/33onadN
- Donate: bit.ly/3uu8yFs
Please Log in or Create an account to join the conversation.
2 years 4 months ago #98
by svarmuza
Replied by svarmuza on topic Show/hide module based on user country accessing the site
I think I have it available on my server, but Im not using it at the moment
Greetings,
Sasa
Greetings,
Sasa
Please Log in or Create an account to join the conversation.
- administrator
- Offline
- Administrator
-
Less
More
- Posts: 96
- Thank you received: 13
2 years 4 months ago #101
by administrator
JoomHelper - Free Joomla Extensions and Tutorials.
- Facebook: bit.ly/3Fmq9AN
- Youtube: bit.ly/33onadN
- Donate: bit.ly/3uu8yFs
Replied by administrator on topic Show/hide module based on user country accessing the site
If you use Cloudflare, you can use $_SERVER["HTTP_CF_IPCOUNTRY"] variable in the module condition. Otherwise, you need to find an API-enabled service to find the country's code by IP address. It will be more complicated.
JoomHelper - Free Joomla Extensions and Tutorials.
- Facebook: bit.ly/3Fmq9AN
- Youtube: bit.ly/33onadN
- Donate: bit.ly/3uu8yFs
Please Log in or Create an account to join the conversation.
2 years 4 months ago #102
by svarmuza
Replied by svarmuza on topic Show/hide module based on user country accessing the site
Greetings,
Thank you for your reply. I will check this out how it goes.
Greetings,
Sasa
Thank you for your reply. I will check this out how it goes.
Greetings,
Sasa
Please Log in or Create an account to join the conversation.
Latest articles
-
Insert article attributes into another articleUse this extension to insert article attributes like title, link, image...
-
Countdown Module for JoomlaWith robust features and full Joomla compatibility, it’s designed to make managing and displaying countdowns simple yet effective.
-
WordPress Alternatives in 2024: Exploring the Best CMS OptionsThese platforms include Joomla, Drupal, ClassicPress, and JavaScript-based CMS options like Ghost and Strapi.
-
Country Blocker Tool for JoomlaJoomla plugin to block traffic from unwanted countries.
-
Joomla Admin Menu RenameRename extensions on Joomla
Latest Comments

THEODOROS NIKOLAOY
Joomla Tiktok Embed plugin
The plugin is not working on the custom module, is working only on the article. what can i do? i checked also if the content-plugin is enable and it is.

David
How to Protect an Article with a Password in Joomla?
Release Article Password Plugin v1.2.2 : Fixed cache issue.

David
K2 to Content Migration
Release K2 to Content Migration v1.4.1 :Improved data handling.

Zellie
K2 to Content Migration
I am trying to migrate my K2 items (numbering 3074) and categories (numbering 77). This component tells me that 2753 items and 58 categories will be migrated (and this is indeed what happens). I do need them all migrated... do you know what the issue could be please?

ablaye
Off-Canvas module in Joomla
not working for me