Quantcast
Channel: MyBB Community Forums - Tutorials
Viewing all articles
Browse latest Browse all 685

How to have GeoIP to show where there Connected via

$
0
0
Code:
<script type="application/javascript" src="//www.telize.com/geoip?callback=getgeoip"></script>

JavaScript: 
Code:
<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

Viewing all articles
Browse latest Browse all 685

Trending Articles