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
Flags - Country and Region Details »»
Flags - Country and Region
Version: 1.00, by Carpe Carpe is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.8 Rating:
Released: 08-13-2007 Last Update: 08-15-2007 Installs: 212
Template Edits
Code Changes Additional Files  
No support by the author.

I took the code from the flag mods on older vB versions and combined the country and region flags.

Instructions for installing only the country flags without the region flags is also included.

1.01 Changes:
Corrected the spelling of california
Corrected the spelling of newfoundland
Added the flag of england to the country flags list

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-15-2007, 09:09 PM
Endurer Endurer is offline
 
Join Date: Sep 2006
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, Installed.

I'd like to replace the location field with this one, will it work if I just changed the location field to show country flags instead? Or do I have to empty the contents of location field of all members first?
Reply With Quote
  #23  
Old 08-16-2007, 12:20 AM
Carpe Carpe is offline
 
Join Date: Jul 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Endurer View Post
Thanks, Installed.

I'd like to replace the location field with this one, will it work if I just changed the location field to show country flags instead? Or do I have to empty the contents of location field of all members first?
The location field is a single-line text box and the flag field is a single-selection menu. There is no way I know of to change a field without deleting and recreating it. More advanced vB users may have more info on this. I have only been using vB for a week.
Reply With Quote
  #24  
Old 08-16-2007, 06:10 AM
yahoooh yahoooh is offline
 
Join Date: Oct 2002
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how to make it appear only in the user profile?
Reply With Quote
  #25  
Old 08-16-2007, 08:37 AM
Pirate45 Pirate45 is offline
 
Join Date: Apr 2006
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Carpe,

A couple of issues...
  • California was misspelled in the selection menu (calafornia) and a user told me it did not work. I did not confirm that but I changed it to "california" (proper spelling) and then he said it worked.
  • The Canadian province of Newfoundland is mis-spelled as "new foundland" in your menu. It should be one word.
  • A user has asked for the addition of the flag of England, which is not the same as the flag of the United Kingdom (he says).
Also, would it be possible to release a version with the proper capitalization?

I'm not complaining. It's just that USA looks better than "usa", etc.

It's an awesome mod and my users love it so far.

Thanks.
Reply With Quote
  #26  
Old 08-16-2007, 12:45 PM
Carpe Carpe is offline
 
Join Date: Jul 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yahoooh View Post
how to make it appear only in the user profile?
No idea, I created the mod because I wanted it in the postbit. Im sure you can search for adding things to the user profile and then use the provided code.
Reply With Quote
  #27  
Old 08-16-2007, 12:50 PM
Carpe Carpe is offline
 
Join Date: Jul 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pirate45 View Post
Carpe,

A couple of issues...
  • California was misspelled in the selection menu (calafornia) and a user told me it did not work. I did not confirm that but I changed it to "california" (proper spelling) and then he said it worked.
  • The Canadian province of Newfoundland is mis-spelled as "new foundland" in your menu. It should be one word.
  • A user has asked for the addition of the flag of England, which is not the same as the flag of the United Kingdom (he says).
Also, would it be possible to release a version with the proper capitalization?

I'm not complaining. It's just that USA looks better than "usa", etc.

It's an awesome mod and my users love it so far.

Thanks.
Corrected california and newfoundland. The flag of england was in the region list, I added it to the country list and folder.

The list of country/region names has to match the name of the image associated with it. This means if I change the list to be properly capitalized I have to change every single flag name as well. I agree with you that it would look better, but I don't currently have the desire to change that many names, sorry. You could easily do it if you have the time. Just make sure the text you insert into the profile field matches the flag names exactly.
Reply With Quote
  #28  
Old 08-20-2007, 02:35 AM
Tom_S Tom_S is offline
 
Join Date: Jan 2007
Location: VA Beach
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice job!
Reply With Quote
  #29  
Old 08-22-2007, 04:50 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if anyone will find this useful, but I took the country flag list and ran it through Microsoft Word. They've got a capitalization feature that not too many people know about. And I did a batch rename of the images folder so that all the names would match up. There were a handful of spelling errors in a few country names, so I made sure to correct those and match up the text file with the images. Everything should be formated and matched properly, but if it isn't let me know.

Like I said, I don't know if you'll find it useful, but since someone mentioned it, I'd thought I'd share what I did for my forum with you. I intend to do the regions folder next, just didn't have the time tonight. I'll post it when it's done.
Reply With Quote
  #30  
Old 08-22-2007, 12:59 PM
Reflect Reflect is offline
 
Join Date: Feb 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this and it works for me.

But for some reason only admins can see the flags and not registered users. When they select there country i can see their flags, but they cant see their own or mine. Anyone know whats wrong?
Reply With Quote
  #31  
Old 08-22-2007, 02:29 PM
tutusinghsohi's Avatar
tutusinghsohi tutusinghsohi is offline
 
Join Date: May 2006
Location: Virginia, USA
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

springfield va.....lol....
so close dude...
i'm in fairfax va.........

anyways..
very nice hack....installed and loving it ..
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:57 AM.


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.06342 seconds
  • Memory Usage 2,311KB
  • Queries Executed 27 (?)
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
  • (3)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_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
  • 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