Quote:
Originally Posted by Stabatha
Would love to see this coded to show flags on the forum home, who's online box inside of whats going on.
|
That could create a huge amount of clutter. That area is designed to take text - imagine what it would look like with 300 flags in there?
Quote:
Originally Posted by JD45
Ok, I do have the table called ip2country and it is populated with data. There are the three extra columns in the session table and they do have data.
Now here's the odd part. I put in $session[country] in templates like the navbar, footer, forumhome etc and it never once showed up.
Any further ideas?
|
Ok, that's odd. If you have the session columns and they are populated, then it's working. Once that table is extended, those values are loaded automatically by vb. You may be putting it in a part of the template that doesn't display?
I just went to footer, and inserted $session[host] as the very first line. This displays the IP address and should work for you - it worked for me and has nothing at all to do with this mod.
Of course there's a remote possibility that your own session has the country field blank if it couldn't look up your address. Maybe you should double check the session table to find your own entry and check.