MyBB Community Forums

Full Version: How to have GeoIP to show where there Connected via
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
<script type="application/javascript" src="//www.telize.com/geoip?callback=getgeoip"></script>

JavaScript: 
<script type="application/javascript"> function getgeoip(json){document.write("Connected via ", json.country); document.write(", ", json.country_code); document.write(".");}</script>


It will show the users where there Connected via for example: CONNECTED VIA UNITED KINGDOM, GB
Please Explain more things where we put these scripts ?
pretty much where you would like it to show up at. if you want user profile you find the profile templates.

its really more of a snippet that dependent on the coder/user