Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Country Display for Who's Online Details »»
Country Display for Who's Online
Version: 1.00, by mfyvie mfyvie is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

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.

Comments
  #22  
Old 07-07-2007, 09:07 PM
jderouen's Avatar
jderouen jderouen is offline
 
Join Date: Oct 2005
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just clicked install!

If at some point I wanted to update the database of countries from the IP-to-Country website, how would I do that? I mean, I know I'd need to download the file from that website, but what do I do after that?

Thanks!
Joe
Reply With Quote
  #23  
Old 07-07-2007, 09:09 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jderouen View Post
Just clicked install!

If at some point I wanted to update the database of countries from the IP-to-Country website, how would I do that? I mean, I know I'd need to download the file from that website, but what do I do after that?
That question pertain to GLA itself rather than this mod. But the answer is easy - read the instructions for GLA and that exact question is addressed.
Reply With Quote
  #24  
Old 07-07-2007, 09:18 PM
Ahsin1 Ahsin1 is offline
 
Join Date: Mar 2006
Location: Toronto, Canada
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got this massege when i click on import

vBulletin Message

The following dependencies were not met:
The product geo_location_awareness must be installed before this product may be installed. (Compatible starting with 1.0)
Reply With Quote
  #25  
Old 07-07-2007, 09:20 PM
tanyeri24 tanyeri24 is offline
 
Join Date: Feb 2005
Location: Switzerland
Posts: 229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

monster mysql injection for nothing, badly. sorry but *uninstall* cause doesn't work for me.
good job anyway and enjoy.
Reply With Quote
  #26  
Old 07-07-2007, 09:22 PM
jderouen's Avatar
jderouen jderouen is offline
 
Join Date: Oct 2005
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I assume you haven't installed Geo Location Awareness. As it says in the description, you have to install that mod in order for this mod to work.

Quote:
Originally Posted by Ahsin1 View Post
i got this massege when i click on import

vBulletin Message

The following dependencies were not met:
The product geo_location_awareness must be installed before this product may be installed. (Compatible starting with 1.0)
Reply With Quote
  #27  
Old 07-07-2007, 09:27 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tanyeri24 View Post
monster mysql injection for nothing, badly. sorry but *uninstall* cause doesn't work for me.
good job anyway and enjoy.
Disappointing. I offered to support you in your native language, but you never sent me a PM. Your loss.

Quote:
Originally Posted by Ahsin1 View Post
i got this massege when i click on import

vBulletin Message

The following dependencies were not met:
The product geo_location_awareness must be installed before this product may be installed. (Compatible starting with 1.0)
As the saying goes my friend, those who can read have an advantage. You should try it.
Reply With Quote
  #28  
Old 07-07-2007, 10:43 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a copy of something I just edited into post #2:

Quote:
Please note that this mod will not work if you are running vBulletin prior to 3.6.6, because these versions do not have the online_query hook.

The minimum version listed is 3.6.7 anyway, but just to make this absolutely clear, please don't ask for support or complain if this doesn't work and you are on an older version.

Other mods which use GLA may have different compatibility requirements, but the Who's Online mod will not work prior to 3.6.6.
Thanks to Xil Ze for letting me know about the lack of a hook in previous versions.
Reply With Quote
  #29  
Old 07-07-2007, 10:50 PM
JD45 JD45 is offline
 
Join Date: Feb 2006
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not getting anything to display for some reason. Here's what I've done:
  • Installed GLA
  • Installed this hack
  • uploaded the hacks contents
  • ran both installers and made sure they were actually installed
  • turned on the options in the admincp

I'm running 3.6.7 PL1 so it should be compatible.

Did I overlook something?
Reply With Quote
  #30  
Old 07-07-2007, 11:01 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

JD45 - sounds about right, except the step in the middle (upload) should be first. If the import file isn't there when you install GLA, there won't be any data for the location database. But it will warn you about this.

There is always a possibility that you have a customised template and that the replacement isn't working, but other steps to verify are:

Does your database have a table called ip2country, and is this table populated with data? (This means GLA is installed)
Look at your session table (in the database) - there should be three extra columns on it for country information. They should be populated, at least partially (unless you installed in only a few seconds before checking).

Manually hack in $session[country] somewhere into one of your templates. If GLA is running, this will show YOUR country when you load the page (then remove it again). Best way is to confirm via the session table. If the data is being written to the session table, then you should at least get it in $session[country]
Reply With Quote
  #31  
Old 07-07-2007, 11:51 PM
mktrilogy mktrilogy is offline
 
Join Date: May 2006
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can this be integrated to postbit? that would be really cool
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:51 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04764 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete