• Resolved Sebastian

    (@imcube7)


    Hi! I was wondering if it is possible to use this plugin to show/hide content based on the visitors geolocation. If the site is visited from the US, the contact info should display the US contact info. If the site is visited from outside the US, the default contact information for the rest of the world should be displayed. I got the GeoIP module enabled and working on an Apache server. Can this somehow be combined with your plugin, or is a function like this planned for a future update?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi @imcube7,

    Yeah, this is a great use case, but the functionality is not planned in the base plugin due to the need for a GeoIP module like you mentioned. That said, you could build a little integration plugin that adds this functionality to Block Visibility for your own needs. I wrote a demo plugin that should serve as a good starting point.

    Best,
    Nick

    Thread Starter Sebastian

    (@imcube7)

    Hi Nick,

    thank you very much for your super fast reply and the link to your integration plugin.
    I will definitely check it out and try to add the functionality!

    Best,
    Sebastian

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.