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
  #82  
Old 07-11-2007, 06:13 AM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

winpro19, based on what you've told me and the screenshots you've provided, it sounds to me like you've disabled the product "Country display for who's online.". Please go to the products list and confirm that this product is not disabled. Then go to the plugin lists and scroll down until you see the plugins for this product - there should be three of them, and they all should be enabled.

The automatic template changes that are done are very simple, so simple in fact that I didn't think it was necessary to post the manual template changes. However, the string that it is trying to match in the WHOSONLINE and whosonlinebit templates is as follows:

Code:
<if condition="$vboptions['showimicons']">
Please confirm that this exact text is in both those templates. Even people with heavily modified templates should have that text, and these templates haven't changed since v3.6.0. If that text is there, the automatic template changes should match it and replace it, then a column should appear (providing all the options are set to yes, as your screenshot shows)
Reply With Quote
  #83  
Old 07-11-2007, 12:32 PM
keyness keyness is offline
 
Join Date: Oct 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's great! Thanks and Congrats!
Reply With Quote
  #84  
Old 07-11-2007, 04:02 PM
winpro19 winpro19 is offline
 
Join Date: May 2006
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, I verified that the product is enabled and <if condition="$vboptions['showimicons']"> does exist in both those templates. Also in plugin manager there are three plugins for this product. I'm a bit confused regarding this....I tried default vb style as well and still no luck...

Any suggestions?

Edit: I'm running vb 3.6.7
Reply With Quote
  #85  
Old 07-11-2007, 04:16 PM
bongwater's Avatar
bongwater bongwater is offline
 
Join Date: Nov 2005
Location: south Florida
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im running 3.6.7, installed this after installing GLA. Still I dont see the column of flags....
Reply With Quote
  #86  
Old 07-11-2007, 04:57 PM
apiasto's Avatar
apiasto apiasto is offline
 
Join Date: Oct 2006
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Quote:
Originally Posted by winpro19 View Post
Hmm, I verified that the product is enabled and <if condition="$vboptions['showimicons']"> does exist in both those templates. Also in plugin manager there are three plugins for this product. I'm a bit confused regarding this....I tried default vb style as well and still no luck...
I believe that this post on the GLA thread will solve your issue.

Quote:
Originally Posted by bongwater View Post
Im running 3.6.7, installed this after installing GLA. Still I dont see the column of flags....
By flags I take it you mean flags AND country names (rather than just flags). In any case, if your own IP address isn't being found in the database, you may have the same issue as winpro19 - so I strongly suggest you check out the same post I linked for him above.
Reply With Quote
  #88  
Old 07-12-2007, 12:27 PM
TrIn@dOr TrIn@dOr is offline
 
Join Date: Nov 2006
Location: South Bend, IN
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hooah!, can we have the same idea but in postbit?, display in every post the flag of the ip wich the user has posted?
Reply With Quote
  #89  
Old 07-12-2007, 12:35 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TrIn@dOr View Post
Hooah!, can we have the same idea but in postbit?, display in every post the flag of the ip wich the user has posted?
That's a little trickier (to do properly), but the idea is that now any developer can easily do this (you might have seen me saying exactly the same thing earlier in the thread). That's the whole point of GLA - to enable others to easily build country-aware applications.
Reply With Quote
  #90  
Old 07-12-2007, 01:27 PM
msalman msalman is offline
 
Join Date: Jun 2007
Location: islamic-life.com
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tanyeri24 View Post
oke you've right.
country table is there but no flag no country name on WOL.
In admincp is set the show... again there is created "COUNTRY" in WOL
but no FLAG no COUNTRYNAME.
installed exact like .txt.
I've the same problem. I checked, the table ip2country exists in database and it is populated/installed correctly but for some reasons in WOL the column "Country" is created but no flag or country name. I suppose it is getting null values when it go and look for in table and hence no value is displayed in "country" column in WOL.

I just checked session table in database and noticed that for some sessionhash it doesn't have country_iso2, country_iso3, and country. so i guess this is the reason why it gets null values

Is there a way to fix this problem? Thanking in advance!
Reply With Quote
  #91  
Old 07-12-2007, 01:36 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msalman View Post
I've the same problem. I checked, the table ip2country exists in database and it is populated/installed correctly but for some reasons in WOL the column "Country" is created but no flag or country name. I suppose it is getting null values when it go and look for in table and hence no value is displayed in "country" column in WOL.

I just checked session table in database and noticed that for some sessionhash it doesn't have country_iso2, country_iso3, and country. so i guess this is the reason why it gets null values

Is there a way to fix this problem? Thanking in advance!
It takes some time after you first install it for new sessions to be established (like 15-30 minutes). Not every IP will be recognised, but there should be around 98%. If you have some sessions in the session table coming up with the country name, then it should work. You should have at least some countries showing up in the who's online list? Have you checked all the pages? Or are you saying that you have a country column, but it is totally empty? I presume you also checked your WOL settings in adminCP and clicked on save (even if you didn't need to, this is a bug in VB)

Mark
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 12:50 AM.


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.05235 seconds
  • Memory Usage 2,323KB
  • 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
  • (1)bbcode_code
  • (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
  • (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