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
  #122  
Old 04-05-2008, 12:26 PM
sensuison sensuison is offline
 
Join Date: Apr 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I just followed all the instructions on installing this flag mod but I couldn't see my flag under my profile on the thread?

For example: The administrator must have a flag under the picture:

http://philippinebasketball.net/foru...thread.php?t=2

I added this inside postbit_legacy

<!-- / flags start -->
<div>
<if condition="$post[field5]"><img src="images/flags/$post[field5].gif"></if>
</div>
<!-- / flags end -->

..and uploaded the images inside http://www.philippinebasketball.net/images/flags and region

Any help?

Thanks.
Reply With Quote
  #123  
Old 04-05-2008, 12:41 PM
sensuison sensuison is offline
 
Join Date: Apr 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, never mind, I got it working. I pasted it on postbit only, not the postbit_legacy.
Reply With Quote
  #124  
Old 04-05-2008, 11:04 PM
sensuison sensuison is offline
 
Join Date: Apr 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

question guys, do you guys have a new list of country flag images? a better graphics or 3D something?
Reply With Quote
  #125  
Old 04-06-2008, 01:17 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A few posts back I posted an updated list with corrected spellings and Ireland flags added. But that's about it so far.
Reply With Quote
  #126  
Old 04-07-2008, 11:35 PM
sensuison sensuison is offline
 
Join Date: Apr 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, hmm i think i might just search for a new one or make a new one. I just noticed that the flags are quite pixilized or distorted.
Reply With Quote
  #127  
Old 04-08-2008, 05:51 PM
bago200 bago200 is offline
 
Join Date: Feb 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, the flags are not all what i expected it to be but can work for now. I also noticed that if nothing shows up after copying the code to postbit_legacy its best to try putting the code in postbit only.


Find the code:

<div>
$vbphrase[posts]: $post[posts]
</div>

As mentioned in the installation and copy underneath the first code found.

<!-- / flags start -->
<div>
<if condition="$post[field7]"><img src="images/flags/$post[field7].gif"></if>
<if condition="$post[field8]"><img src="images/region/$post[field8].gif"></if>
</div>
<!-- / flags end -->

Notice i have my field#s in, not the display #'s

Copy the folders 'flags & 'region' to your www.site-name.com/forum/images folder or 'styles' folder of style been used.

Options for flags selection should be in user profile and thats it.

P.S. works well on 3.6.9
Reply With Quote
  #128  
Old 04-08-2008, 08:18 PM
clothahump clothahump is offline
 
Join Date: Jul 2004
Location: Dorset
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and Uninstalled within 30 minutes, images do not show for me, maybe try it again when it works.
Reply With Quote
  #129  
Old 04-08-2008, 09:45 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sensuison View Post
Ok, hmm i think i might just search for a new one or make a new one. I just noticed that the flags are quite pixilized or distorted.
Pixelated? There's no reason they should be pixelated. Did you alter the size of the images at all? These images are very tiny and will distort if you try to enlarge them. They should look like this, exactly like they do in the Screenshot:



Quote:
Originally Posted by bago200 View Post
Yeah, the flags are not all what i expected it to be but can work for now. I also noticed that if nothing shows up after copying the code to postbit_legacy its best to try putting the code in postbit only.
That's because postbit and postbit_legacy are two different style options. For example, vBulletin.org uses postbit, with the Avatars and User Information above everyone's posts. But some forums, like mine, use postbit_legacy, with the avatar and info to the left hand side of all the posts. You put this code in whichever template your using for your forum.


Quote:
Originally Posted by clothahump View Post
Installed and Uninstalled within 30 minutes, images do not show for me, maybe try it again when it works.
This is a very simple template edit. It works on everyone's forum, regardless of version. But if it's not working for you, then you've put the code in the wrong template or placed it in the wrong spot.
Reply With Quote
  #130  
Old 04-13-2008, 06:10 AM
birdie birdie is offline
 
Join Date: Aug 2007
Location: Australia
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working great.

Is it possible to add a "world" or "global" flag? Perhaps the United Nations flag.

I have two user names on my forum; one is 'Admin' in which I list my location as cyberspace - I use this user name for admin & mod functions, so do not want to be linked to any particular country; the other username is my name in which I use to take part in discussions, so do not mind having that name linked to a particular country.
Reply With Quote
  #131  
Old 05-18-2008, 12:04 PM
GremlinPrince GremlinPrince is offline
 
Join Date: May 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you for this installed
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 10:24 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.06213 seconds
  • Memory Usage 2,303KB
  • 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