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

No permission to download
  • Author XenForo Rocks
  • Creation date
    • You can download only 0 resources in 24 hours
    • You need more than 0 posts to download the resource
Compatible XF Versions
1.4
Additional Requirements
Requires PHP GeoIP installed ( PECL GEOIP )
Visible Branding
No
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
Add
<!-- 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>
Author
XenForo Rocks
Downloads
3
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from XenForo Rocks

Top