Jump to content

Dynamic GeoIP based forum post


Recommended Posts

Guys, have any of you managed to make dynamic forums posts based on a condition such as the Cloudflare Geo IP location? PHP can get the visitors country based on the Cloudflare header $_SERVER["HTTP_CF_IPCOUNTRY"].

if($_SERVER["HTTP_CF_IPCOUNTRY"]=='GB') {

show content for GB

} else {

show content for elsewhere
}

I suppose a work around is iframe based content.

Link to comment
Share on other sites

Thanks for posting!

Unfortunately, this issue is beyond the scope of our technical support. 👩‍💻

Our technical support is happy to help you with the Invision Community platform, but we're unable to help with things like server management, theme questions and modifications.

I've moved this to our Community Support area where other Invision Community owners will see it and help where they can.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...