Welcome to Our Community

Registration on our forums are now open for some days! Feel free to sign up today.

[Free Add-on ] GeoIP template Variable 2015-06-05

Two letter code of the surfer's IP available as a template variable

  1. XenForo Rocks
    Compatible XF Versions:
    • 1.4
    Additional Requirements:
    Requires PHP GeoIP installed ( PECL GEOIP )
    Visible Branding:
    This simple basic and beta add-on will provide an additionnal template variable so that you can hide or show template elements based on the surfer's IP.

    Example :
    Modify page_container
    <!-- Surfer IP in {xen:raw $geoipcountry} -->

    To hide something to surfer from China
    <xen:if is="{$geoipcountry} != 'CN">China does not see this</xen:if>
  • About Us

    Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.
  • Like us on Facebook

  • Buy us a beer!

    The management works very hard to make sure the community is running the best software, best designs, and all the other bells and whistles. Care to buy us a beer? We'd really appreciate it!

    Donate to us!