IP to Country Module
nice job sugree
- larry's blog
- 2 comments
- 1329 reads
eu and gb flag for IP to Country Module
Thanks to Larry. He has just produced the missing flags, eu.png and gb.png, and sent them to me. eu.png has been resized to 14x14 while gb.png is just a copy of uk.png. Now ip2cc should have all flags.
- sugree's blog
- Add new comment
- Read more
- 1196 reads
View permission in ip2cc module
ip2cc module could help anyone to know where the poster was in term of country, IP address and network name. Anyway, this information may not be publicly accessible by anyone, instead it should be accessible by authorized persons. Since I forgot this feature at the time I wrote it, I have just noticed this missing feature when I want to implement a site for publicly offering image hosting service free of charge. As you might know, most image hosting services are heavily used for storing images to show in webboards. Some images are inacceptable due to copyright law or TOS violation by any reasons. In worst case, police might ask for the address of the poster. They just want to know his/her IP address. However, normally this information should be hidden to keep each image posted by anonymous user as long as nobody reports TOS violation.
- sugree's blog
- 1 comment
- Read more
- 1334 reads
ip2cc supports displaying flag in node's link area
According to the flag in comment’s link area, now ip2cc is able to display flag in node’s link area also. These 2 features was suggested by Larry. The use of these capabilities, pointed out by Larry, is to verify the location of the visitor in E-Commerce sites.
What to see a demonstration? See below. You should see I am currently in Thailand.
- sugree's blog
- 21 comments
- Read more
- 2345 reads
ip2cc supports displaying flag in comment's link area
Larry asked me how to use ip2cc module. This is very interesting question. ip2cc module generally just provides APIs to obtain location of given IP address programmatically but useless for end-user. He also inspired me to show flag for each post or comment. That"s why I quickly said thank to him and added this wonderful and useful functionality.
You could update the code to the latest one in CVS and then go to admin/settings/ip2cc to enable this function. If you want to see how it look like, check it out here.
- sugree's blog
- Add new comment
- Read more
- 1137 reads
Missing UK in ip2cc module
I have just found that ip2cc module doesn"t know the country of all IP from United Kingdom. The reason is ISO3166 used GB to identify United Kingdom but IANA used UK instead. To fix this problem, I added UK to iso3166.mysql so it will find the right country successfully.
Please update iso3166.mysql and apply it again.
- sugree's blog
- Add new comment
- Read more
- 1481 reads
Recent comments
3 years 34 weeks ago
3 years 39 weeks ago
3 years 39 weeks ago
3 years 40 weeks ago
3 years 40 weeks ago
3 years 42 weeks ago
3 years 42 weeks ago
3 years 42 weeks ago
3 years 43 weeks ago
3 years 43 weeks ago