Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Shows country Flag for Users and Guests in, Who is Online Details »»
Shows country Flag for Users and Guests in, Who is Online
Version: 1.00, by New Joe New Joe is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 01-13-2012 Last Update: Never Installs: 57
Uses Plugins Auto-Templates
Translations  
No support by the author.

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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Adrijan

Comments
  #72  
Old 04-04-2012, 06:58 AM
Bankfodder Bankfodder is offline
 
Join Date: Apr 2006
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
You must be using a custom style then. It DOES work on the default style.
No - very standard vB
Reply With Quote
  #73  
Old 04-04-2012, 07:05 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bankfodder View Post
No - very standard vB
Give us a link to your site?
Which version of vb are you using?
Reply With Quote
  #74  
Old 04-07-2012, 04:33 PM
lapiervb lapiervb is offline
 
Join Date: Mar 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to show the name of the country instead of the flag?
Reply With Quote
  #75  
Old 04-07-2012, 04:52 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Advanced version does, but it is not possible with the linked version.
Reply With Quote
  #76  
Old 05-10-2012, 02:49 AM
Fready Fready is offline
 
Join Date: Nov 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since I updated my site to 4.1.12 this has stopped working.
Any reasons why?
I use the default skin
Reply With Quote
  #77  
Old 05-10-2012, 03:02 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, the whosonlinebit template isn't there anymore. It will need to be redone for 4.1.12.
Reply With Quote
  #78  
Old 05-10-2012, 06:27 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was due to the Who Is Online Template no longer being in vB 4.1.12
In the next day or so i'll add the updated version for 4.1.12

Also the Advanced Version from Boofo is updated to 4.1.12
Reply With Quote
  #79  
Old 05-21-2012, 08:00 PM
FTG LIQUID CL FTG LIQUID CL is offline
 
Join Date: Jan 2012
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work on 4.1.12,i have it installed ,but does not show flags
Reply With Quote
  #80  
Old 05-21-2012, 08:35 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To make it work for vb 4.1.12, you need to do the following:

In the xml file, change this line:

Code:
$vbulletin->templatecache['whosonlinebit'] = str_replace($find, $find . $add, $vbulletin->templatecache['whosonlinebit']);

to this:

Code:
$vbulletin->templatecache['whosonline'] = str_replace($find, $find . $add, $vbulletin->templatecache['whosonline']);

Let me know if that fixes it for you.
Reply With Quote
  #81  
Old 05-21-2012, 09:06 PM
FTG LIQUID CL FTG LIQUID CL is offline
 
Join Date: Jan 2012
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i changed the code in the xml file ,the re uploaded the file.I still dont see the fags.
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 03:55 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
  • Page Generation 0.04551 seconds
  • Memory Usage 2,305KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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