The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#7
|
|||
|
|||
![]()
Ok, releasing the code and database:
What you need: A website (duh) A IP To Country Database (included here) So the script is like this: PHP Code:
You can get the countrycode2 of all the countries from here: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 You can get the IP To Country Table for free at http://ip-to-country.webhosting.info/ But it's in csv, I passed it to sql and attached. I added this script at init.php, but I don't think init.php is the best place for adding that code. That's All. NOW I want to know how to transform this script in a vBulletin plugin, I think the ip to country table can be added to vBulletin database, and in the script use the db=> thing. Thank you |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|