1 hiramash Nov 04, 2009 22:23
3 stellamarie Nov 24, 2010 06:19
well, nothing as involved as blog language switching per ip address...
but i like the ability to look up user hits by ip location. currently i'm using google analytics just for this feature, i added their code so it's on every page of the blog.
is there a template for a plugin perhaps? i haven't tried php in depth, but I can code and edit in java, perl and python... so i'm assuming php works alot like python?
if there are instructions on how to create a plugin or maybe an example, i can try a hand at creating one?
or someone else can? for a geoiplocation tool?
4 stellamarie Nov 24, 2010 06:21
nevermind, i found the plugins instruction template...
but anyhoo, maybe someone who's more familiar than I can do this?
5 spiceygas2 Nov 27, 2010 02:53
Hiramash wrote:
My b2evolution Version: 3.3.1.
Hello everyone,
I have had a look at my blogs' stats, and when I saw the IP addresses I have had an idea. Why not convert IPs to places and cities ?
Maxmind does the job with "geoiplookup" but it is not free. On the other hand, you have a few CSV and SQL free files here :
http://www.ipinfodb.com/ip_database.phpYou can either locally settle a database or remotely use an API, but it would be interesting to have it inside b2evolution to see hits by country/city and, why not, directly on a map.
What do you think of it ?
Hiramash.
If you're interested in using a plugin, I wrote one that parses all your site hits and dumps them to a delimited file for import into Excel. It includes country lookup via IP address. It doesn't do cities, but countries are better than nothing.
It will also tell you the operating system, browser, browser version, etc.
There's two versions of the plugin: one for b2evo v3.x and one for 4.x. Screenshots & download links:
[url=http://forums.b2evolution.net/viewtopic.php?t=21519]http://forums.b2evolution.net/viewtopic.php?t=21519[/url]
Nice idea, more importantly we could use it to display pages (ui at least) according to the visitors country in their native language if b2 were *actually* 'multilingual'
That's another story, but as you'd get, i really dont think b2 is exactly multilingual.
The visitor has no chance of multi-language option before he/she registers.
I think b2 should have an instant language changing option like PhpNuke or some other CMS's has