- Posts: 3
- Thank you received: 0
Show/hide module based on user country accessing the site
3 years 2 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 2 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
-
Resend Activation CodeThe utility resends the activation code so the user doesn’t have to re-register with a different email.
-
Add custom Head Tag, CSS and Javascript to Joomla articleThe Joomla plugin to add custom head tag, CSS and JavaScript to your Joomla article.
-
How to Set Up Google Analytics on Joomla websiteAdd Google Analytics to track your website.
-
Delete Joomla articles in bulkWith this plugin, you can delete posts in bulk with just one click. It saves your time.
-
Insert article attributes into another articleUse this extension to insert article attributes like title, link, image...
Latest Comments
Collectives SA
K2 to Content Migration
I have over 11k articles that i want to migrate, i am using pro version but on all the tests i made the component does not migrate all articles at once (probably cause a server time out) and the problem is that if you try to migrate again then the k2 items and categories that has already migrate it remigrates again with another alias. That is a problem cause now lets say for k2 category "announcement" have multiple Joomla categories (announcements, announcements-176552940 etc) with different aliases and with each one portion of the items included in the k2 category. I even changed the limit in the controller from 60 to 5 or eve 1 but again the same happened. Is there a way you make the component continue from where it stopped?
vlad
K2 to Content Migration
for payment i get only paypal. cannot skip. i would like to pay by credit card. how to do that?
Shahul Ameen
Joomla Breaking News Module
How to add an external link in the ticker?
Pat
Login As User
What is displayed in this module? Are these users who are currently logged in, or is this a list of all users from which we can choose which user to log in as?
Jennifer Stephenson
How to Protect an Article with a Password in Joomla?
Is there any way to modify the language on the page? The text is "Press correct password to read post". This is confusing as there is nothing to press. It should read type or enter and there should be a clear box to fill in the password, which is not easily viewable or eminently clear at a glance. And unlock should say something like submit or click here. I'm guessing this is in the code, and not editable, but just checking, thank you!