- Posts: 3
- Thank you received: 0
Show/hide module based on user country accessing the site
3 years 3 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: 98
- Thank you received: 13
3 years 3 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.
3 years 2 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: 98
- Thank you received: 13
3 years 2 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.
3 years 2 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
-
Top free Joomla 5 template to build news sitesYou are planning to build a news website, these are the templates you should not miss.
-
Content AuthorContent Author is an add-on extension for Joomla Content. By installing it, you can categorize articles by author. Make it easy for users to access the content they are interested in.
-
Password for SP Page BuilderSometimes you want to restrict viewing to certain articles, setting a password is a great solution.
-
YouTube Video ChaptersVideo chapters divide YouTube videos into clear sections, making it easy to revisit any part instantly.
-
Export Database table to CSV fileSometimes you want to export some database tables to a CSV file for analysis or backup.
1. The "radio buttons" extra field doesn't transfer the values in the additional field, e.g., "yes" or "no," and only enters certain values into the #__fields_values database.
2. The "textarea" extra field with the "Use editor" option checked converts to "textarea" when it should be "editor."
3. In K2, the extra field group is assigned in the category. In Joomla Articles, the category is assigned in the extra field. It would be nice if this were automatically completed. A checkbox could be added if someone doesn't want this option.