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
  #62  
Old 12-07-2007, 11:21 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by towermatt View Post
It creates a profile field that the user needs to fill in.

But its a drop down so pretty easy.
Quote:
Originally Posted by nyunyu View Post
Installed this hack but nothing happens? I suppose this hack shows a flag on postbit? Can anyone help me?

Look here.. http://www.animeheist.com/forum/show...61&postcount=1
Profile Field is the problem
Reply With Quote
  #63  
Old 12-08-2007, 09:12 AM
nyunyu nyunyu is offline
 
Join Date: Dec 2004
Location: Malaysia
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

iogames, what do you mean by profile field problem? care to explain a little bit more? Thanks
Reply With Quote
  #64  
Old 12-23-2007, 11:19 AM
serverguy84 serverguy84 is offline
 
Join Date: Nov 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod shows up in the memberlist. Except it shows up as Canada USA , etc.

Is there any way instead of the writing it shows the flags instead
Reply With Quote
  #65  
Old 12-23-2007, 11:28 AM
yeku yeku is offline
 
Join Date: May 2005
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved

thanks
Reply With Quote
  #66  
Old 12-25-2007, 04:53 PM
yeku yeku is offline
 
Join Date: May 2005
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same question please...

Quote:
Originally Posted by tiredoff View Post
Hi
Admincp > etc.......... it is ok
Options - [copy and paste list of countries in country_flags_list.txt to this option field] But where i can find it?
thank you
Reply With Quote
  #67  
Old 12-25-2007, 05:07 PM
serverguy84 serverguy84 is offline
 
Join Date: Nov 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you go to Admin->User Profile Fields->Add New User Profile->Single Selection Menu>

In the box where it says
"Options
Enter the options that the user can choose from. Separate each option with a new-line (carriage return)."

That is where you put in all the flags list
Reply With Quote
  #68  
Old 12-25-2007, 05:23 PM
yeku yeku is offline
 
Join Date: May 2005
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, now I understand it

Thanks
Reply With Quote
  #69  
Old 01-20-2008, 03:46 AM
sypherzone sypherzone is offline
 
Join Date: Jan 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried installing it but it isn't showing? What could be the problem?
Reply With Quote
  #70  
Old 01-20-2008, 07:40 AM
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 sypherzone View Post
I tried installing it but it isn't showing? What could be the problem?
Most common mistake is not putting it into the postbit template that you use for your forum.

postbit (Like on this forum, Avatar and User Info is on top of each post)
postbit_legacy (Avatar and User Info is on the side)


Quote:
Originally Posted by BoneDust View Post
What would cause the images to not show?

Here's what I posted in the postbit - legacy

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

My profile fields are 8 and 9

I uploaded the images to images/flags and images/region

Any thoughts? I've been trying to figure this out for some time and this is the first addon I've had a problem with.

It should be showing up, unless your forum isn't using postbit_legacy. Are the images not showing at all, or are they broken images? If they're broken, then you might need to add the flags folders to your skin's images folder, and not the one in your forum root.
Reply With Quote
  #71  
Old 01-24-2008, 08:26 PM
ashley53680 ashley53680 is offline
 
Join Date: Dec 2003
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beautiful hack that worked perfectly for what I need. I sort of rewrote to meet my needs. I run a local forum so I don't need country flags but more of an area identifier.

I was wondering however, how would you make it a conditional on if the user wants it displayed in their postbit? The field is already something I had in the profile, but now I just added images to go along with the field to display on the postbit. I have some users who don't want it displayed and I am at a loss on how to accomplish that with your hack.

Thanks so much!!!!!

Ash
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 01:35 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.06571 seconds
  • Memory Usage 2,307KB
  • 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
  • (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