![]() |
Shows country Flag for Users and Guests in, Who is Online
Shows the country flag next to the user or guest in Who Is Online
Which I originally made it a Template Edit here: https://vborg.vbsupport.ru/showthrea...24#post2287624 If you have edited your Template with the above and wish to install this one please revert the Template you edited first. but as many like myself , like the xml Import way better. What does this product do? This product will display the country flag of users and guests on Who's Online. Credits: A big thank you goes out to Boofo for helping put my Template edit Mod into this xml file Mod. .................................................. .................................................. .................................................. ................. *Up-Date* Advanced Version Now available! There is now a paid advanced version of this mod available with no outside links. It will show the Country Flags in 6 places: 1) Member List 2) Member Profile 3) Postbit 4) Private Messages 5) Show Groups 6) Who's Online About the Advanced Version: This will fetch the flags directly from your site using no outside link. If you hover over the Flag, it will show you the country name. There are separate settings available to disable the flags for each area they are shown in, as well as settings for usergroups and userids allowed to view the flags. NOTE: Monthly updates needed to keep the flags locations current are included. For all those who are interested in the paid advanced version, please PM Boofo directly and he will take it from there, providing you with and necessary info: Boofo- https://vborg.vbsupport.ru/member.php?u=9948 .................................................. .................................................. .................................................. Version Information: Version 1.0.0 --Initial release for vB 4.X.XX (tested on all vB 4 versions right up to 4.1.10 and works fine) Installation Instructions: Go to your Admin CP Scroll down to 'Plugins & Products' Click 'Manage Products' Click 'Add/Import Product' Click the 'Browse' button, and locate the 'product-country_flag.xml' file on your computer Click Import Don't forget to Click Install:up: No Click No Support;) |
**First Post Reserved**
Please Read: About this Mod and the Flags: This gets the flags from here: http://www.hostip.info If you see a ? flag in Who is Online, this is as this site doesn't know your IP, you can go here: http://www.hostip.info/use.html And on the top right you will see: . Quote:
|
Got it :) 1st install
Yeah I like to stay away from template edit as much. Thanks EDIT: Shows my IP flag for all users now and flags kinda bigger than other mod |
Quote:
Glad you like it, it is cool to see and helps to know where you're users or guests are from with the flags |
Yes I was using another one for vB 3 and loved it, was very helpful
This new one is showing same flag (mine) for everyone though.. I didn't have the problem with the template edit one !!! |
Quote:
I'll take a look and also ask Boofo too. |
They didn't revert the template.
|
Yeah I reverted it before import..
Wait,, now its showing different flags (like it should), but some IPs get different flags when they are in same country !!! I am going to keep an eye on it and see if it clears up a lil |
And the flags should all be the same height, just different widths, which is due to the flag files they are using.
|
It seems to be working ok now!!!
I see two sets of IPs from California but they show none US flag! (got facebook all over them when I checked whois) Looks good to me.. ship it Thanks both |
Quote:
:cool::up: |
It's really a good idea.
This works fine |
Quote:
|
I love the idea however I'm getting a lot of broken images displayed.
|
Quote:
|
Installed and working fine, no broken images, a few ? flags but not many.
Great Mod 5 stars |
unistalled not showin up
|
installed under test
thank tou bro brb |
Installed and working ok.
A few missing flags (one of which is mine). I assume it has trouble geo locating some ips? Which i actually find weird as a simple geo script seems to pick up my location just fine? Any ideas why there is some missing? |
You can go up to the site and update their db with your location and it will start showing it properly. I had to do that myself.
http://www.hostip.info/ |
Thanks Boofo i will do that.
Also i noticed the page has stretched sideways by a mile. There is a Search icon on the far right of screen about the equivalent of 20 pages wide lolz. |
Anytime you use an online IP lookup site, there are bound to be lapses in location info. Then you have to worry about what if their site goes down, for whatever reason. It's all part of the game, I guess. ;)
|
I have a database of my own for geo targeting on the same server i am using this mod.
I wonder how easy it would be to use my own database? Edit the xml file i imagine? Would be a better option for everyone to use there own servers rather than others? Sure updates are a pain but still my database must be more accurate than theres as i can locate my long and lat coordinates etc. |
I use digitalpoint's usermap mod which utilizes the GeoIP db, but that isn't 100% accurate either. Take a look at his mod and see what it all entails. It isn't as easy as changing an xml like this one. I prefer to have it on my own server as opposed to using an outside link. But them you have to worry about keeping the db or files updated so they are current. I just finished a mod on my site that uses PHP files for the country code and has it's own set of flags. It is way faster than an outside link and so far seem to be fairly accurate. It doesn't use the vbulletin db at all so there are no queries. It hasn't missed a flag yet. ;)
|
Quote:
So you imported the xml file, and then nothing showed for Who is Online? No flags? Do you have a link to your Forum for us? |
Quote:
|
@ New Joe
I am getting some really weird side effects from this. Its working ok but i am now getting a very stretched out forum sideways with an image images/buttons/search.png way over the right side? Is this related to this mod perhaps? |
Quote:
This should have no effect what so ever with the search button. As a test, un-install it and try the Tempate edit one, see of you still get the same problem. https://vborg.vbsupport.ru/showthrea...24#post2287624 |
Installed in 4.1.10 and working fine. Many thanks!!!
|
Quote:
Will try template edit later and see how it goes. |
Quote:
|
Quote:
Let me know how the Template edit one goes. |
Quote:
|
Try running this:
PHP Code:
|
I've done that, that's what I meant by loading the URL in a new tab. They work that way.
|
Then it almost has to be something going on with the site that is hosting the URL. Is it doing it all the time or sporadically?
|
Quote:
|
Well, you got me on that one, then as I haven't come across it, myself. That is why I don't personally use an outside link for my site. Too many things can happen like what you are going through.
|
Quote:
I ended up rolling back a database and then reinstalling and everything is fine so it must have been something i did. Sorry about that. |
Glad you got it working. ;)
Here is a modified version, without an outside link I did for my site. |
All times are GMT. The time now is 07:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|