Version: 1.00, by mfyvie
Developer Last Online: May 2008
Category: Forum Display Enhancements -
Version: 3.6.7
Rating:
Released: 07-06-2007
Last Update: 07-07-2007
Installs: 282
Uses Plugins
No support by the author.
*** Staff note: The author of this modification has passed away in a diving accident. We wish his family all strength in dealing with this traggic issue. ***
Country Display for Who's Online
What does this do?
It adds another column to your Who's Online display, with the country where the user is logging on from. You can choose either the name, the flag or both. You can also decide which users can see this information.
How about a quick summary of features?
Country display can be admin/moderator only, or available for everyone to see
You can display the country name, a flag, or both. You can use alternative flag sets if you want
Adds minimal overhead, no additional queries
Works on 3.6.6, 3.6.7 and should work for future versions as well. Will not work on versions prior to this. There is a manual file hack for previous versions here (unsupported).
Country information is provided by the GLA (Geographic Location Awareness) mod. Therefore updates to GLA will automatically provide improvements to any mod using GLA.
How do I install?
1. Install GLA first. You can find it here. It's easy and takes a minute.
2. Download and install the enclosed .xml file via adminCP -> Plugins & Products -> Manage Products -> Add/Import Product -> Import.
How do I configure it?
By default it will display only the country name to admin, super moderators and moderators. You can change this under vBulletin Options -> Who's Online Options. Be sure to check these options and click "save", even if you haven't changed anything. See attached screenshots.
Before posting on this thread:
If your issue concerns questions about country detection, the accuracy of the database, etc - please post your question on the GLA thread instead. Please only post issues here concerning the Who's Online display itself.
Please click install. Support requests from people who have not clicked install may not be answered.
Version history:
V1.0 - (07.07.07) Initial release
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I did add that to mine and it didn't show up and I don't see it on yours either...
OK. I figured if it showed on my site the problem was with your installation.
The fact that it is not showing up then has more to do with your ip address as you both figured.
I was just trying to rule out the installation.
I've installed GLA and this program and everything is working fine except the flag pictures don't come up. I have them all installed under /images/misc/flags/ Is that where they're supposed to be??
I've got a similar problem here. It doesn't show flag pictures but only country names, even if I have selected the "Display Country Flag" option.
Quote:
Originally Posted by mfyvie
Try manually typing in the full URL to one of the flags.
I did and I can see them.
Quote:
Originally Posted by mfyvie
The other possibilities is the style variable that points to the misc directory is set somewhere else. If you are using multiple styles and have multiple "misc" directories, then you can put the flags directory in there (this allows you to show different sets of flags according to different styles).
I did and I can see them.I use only custom style. No others are installed.
If you have a custom style then your stylevar might be pointed to a different directory than images/misc - the previous person had the same problem.
Styles and Templates -> (for the right style) Style Vars -> Scroll down to Miscellaneous Images Folder.
On the default installation this is set to "images/misc", which is where you put your flags. If your style has a different location for this directory, then you must move your flags there instead.
Then the most likely possibility is that the automatic template edits were not able to work due to customisations you've made on WHOSONLINE or whosonlinebit templates (very likely if you have a heavily customised style).
However, if your country names are showing up, then it's obviously managed to make these changes.
The only thing you can do now to examine the source of the page (i.e. check the HTML output) for the who's online display. Each cell should contain something like this:
You should see the img tag in there, along with the relative path (relative to your forum directory) for the image. Is the problem that the img tag is missing from this cell, or that the path to the image is somehow wrong? If this doesn't resolve the problem, then please paste in just the cell (as I have done) for your page.
However, it doesn't - this URL just brings up some more of your forum, not the image itself. You said when you put the URL in directly it worked? Which URL did you put in to make it work?
This is awesome - thanks! Worked like a charm. Only tip is that if you are using a template other than the default VB skin, you have to upload the flags to the template's image directory.
The size of all the png files after bz.png in \forum\images\misc\flags dir was 0 bytes for some reason. So, I reupload the \images\misc\flags dir and the prob solved.
Quote:
Originally Posted by mfyvie
You said when you put the URL in directly it worked? Which URL did you put in to make it work?
I was checking the first 5-6 files (ad.png, ae.png...) and that is why it was working for me.