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
  #42  
Old 07-08-2007, 07:54 AM
TomasDR TomasDR is offline
 
Join Date: Feb 2006
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mfyvie View Post
@TomasDR - Just because you've installed some plugins which fix security issues, this is NOT the same as running 3.6.6 or higher. As I said in that information the problem is that you are missing a hook, and this won't be fixed by security patches!

I also said that GLA will work fine (which you've just confirmed), but that Who's online won't work properly.

Because the hook is missing, the mod then has no way to add those extra fields into the query which is pulling the info from the database.

I'm going to update the .xml file so that it will refuse to install on anything less than 3.6.6. I doubt that will eliminate people complaining though.

I'm afraid you'll have to bite the bullet and upgrade. 3.6.6 contains around 20 new hooks and is the only version that will support the new blog and project tools products.
Well I definitely wasn't complaining and I realize patching is not the same as upgrading.

Along with updating your XML I recommend changing your description from 3.6x to something along the lines of 3.6.6+.

Quote:
Works on both vBulletin 3.5x, 3.6x and should work for future versions as well.
Due to your location I realize English might not be your native language but you come off very crass & condescending, with your response to my post and others I have read. But most likely you don't care which hopefully will reflect on future installs of your product or the lack thereof.

Have a nice day!
Reply With Quote
  #43  
Old 07-08-2007, 08:20 AM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TomasDR View Post
Along with updating your XML I recommend changing your description from 3.6x to something along the lines of 3.6.6+.
Oops, I didn't realise it, but I did notice that I had 3.5 and 3.6 in the list of features for this mod - I must have meant that for GLA, and I've not changed it. Thanks for pointing that out.

Quote:
Originally Posted by TomasDR View Post
Due to your location I realize English might not be your native language but you come off very crass & condescending, with your response to my post and others I have read. But most likely you don't care which hopefully will reflect on future installs of your product or the lack thereof.
No, English is my native language. However, there was nothing in my messages to you which was attempting to be crass and condescending. I realise that you made an honest mistake with the version number (assisted by my mistake in the description), and you did take the time to report more details and do a bit of homework. I'm writing a lot of mails supporting these mods (both public and private), so I don't always have time to pepper my posts with emoticons, especially at 3am in the morning, which is when I was writing to you. I think if you re-read my posts in that context, you may not get the same impression.

However, I do freely admit to writing snotty messages to people who just don't bother to read a single thing written in my instructions, etc. You'll find plenty of examples in every mod thread of people who are just wasting the mod author's time. So, no, I don't apologise about comments to those people!

Bear in mind that coders give their time for free to build these things. I don't even use this mod on my own board, I wrote it purely as an example to show one application for GLA. I also mark my mods as supported (and actually support them), but I do understand why many others coders mark their mods as unsupported, eventually the stupid questions from people who can't read get to them. At least one coder has told me that once he started charging for mods, it reduced the number of stupid questions he got to almost zero. Once people pay for something, they actually take the time to read instructions.

But like I said, sorry if this has been a misunderstanding in your case.
Reply With Quote
  #44  
Old 07-08-2007, 08:42 AM
SocialNetworkBuzz SocialNetworkBuzz is offline
 
Join Date: May 2007
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mfyvie View Post
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?
That's why it's at the bottom I have seen sites do things like that, and I think it's kinda neat. If you code it, i'll be happy to install it
Reply With Quote
  #45  
Old 07-08-2007, 08:51 AM
BigDog56 BigDog56 is offline
 
Join Date: Jan 2007
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed yesterday, no problems, works great!
Reply With Quote
  #46  
Old 07-08-2007, 09:45 AM
Silvio's Avatar
Silvio Silvio is offline
 
Join Date: Nov 2005
Location: Italy
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ty so much for ur cool professiona hack!

works like a charm!*installed* and waiting for new cool AME add-on

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

Quote:
Originally Posted by Silvio View Post
works like a charm!*installed* and waiting for new cool AME add-on
[cough] I think you mean cool new GLA add-ons rather than AME. But you never know...
Reply With Quote
  #48  
Old 07-08-2007, 10:00 AM
Ahsin1 Ahsin1 is offline
 
Join Date: Mar 2006
Location: Toronto, Canada
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WHta is this man i import that Geo Location i got this msg when i open my forums

Warning: Unknown(/home/pakcan/public_html/includes/gla.php): failed to open stream: No such file or directory in /global.php(356) : eval()'d code on line 80

Fatal error: (null)() [function.require]: Failed opening required '/home/pakcan/public_html/includes/gla.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pakcan/public_html/global.php(356) : eval()'d code on line 80



My forums :: www.desibollywood.org
Reply With Quote
  #49  
Old 07-08-2007, 10:01 AM
Kaycee123 Kaycee123 is offline
 
Join Date: Jun 2007
Location: Alberta, Canada
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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??
Reply With Quote
  #50  
Old 07-08-2007, 10:05 AM
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kaycee123 View Post
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??
Did you follow the instructions exactly?
Quote:
1. Upload the files and directories in the upload directory into your forums directory
2. Verify that the file ip-to-country.csv is now in your main forums directory
3. Install the enclosed .xml file via AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product. Remember to click overwrite if upgrading
4. After the mod is installed, delete the file ip-to-country.csv from your forums directory.

** Make sure you perform the steps in this sequence. If you don't, you won't get the correct data in your database.
Did you edit the options and save?
Reply With Quote
  #51  
Old 07-08-2007, 10:08 AM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ahsin1 View Post
WHta is this man i import that Geo Location i got this msg when i open my forums
You've just posted exactly the same thing on the GLA thread (the correct place for that issue), and I've answered you on that thread.

Quote:
Originally Posted by Kaycee123 View Post
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??
Yes that's the correct location. Two possibilities - file permissions error. Is the flags directory accessible from the outside world? Try manually typing in the full URL to one of the flags. 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).
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 02:00 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.04972 seconds
  • Memory Usage 2,328KB
  • 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
  • (10)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