Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO Details »
Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO
Mod Version: 1.00, by Welshy2008 (Designer) Welshy2008 is offline
Developer Last Online: Mar 2013 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (102 votes - 4.60 average) Installs: 593
Released: 04 Dec 2009 Last Update: 30 May 2012 Downloads: 4508
Not Supported Template Edits Code Changes Additional Files Translations  

Description:

This Add on, gives a selection of Countries that your Member (New or Existing) can choose from in a 'Drop-Down Menu'. The Country he/she selects, will be displayed as a Flag in their Postbit.

Credit for the Flags goes to Cobro. (I have renamed each and every flag to work with this Mod).


Instructions:

Firstly “Upload” ALL the Flag GIF pics to your forum root /images/buttons/flags folder.

IE: yourforumaddress.com/forum/images/buttons/flags

Please Note: Due to the flags folder being too large to upload as one - I have been forced to upload it as "flags1", "flags2" and "flags3" - Please ensure that you add a new folder to "images/buttons/" and name it "flags". Please copy the contents of ALL THREE (3) flags folders in the attachment below to the new 'flags' folder that you have just made. (DO NOT place them as 3 seperate folders!"


Then in your Admin Control Panel (ACP), please do the following:
ACP -> User Profile Fields -> Add New User Profile Field ->Profile Field Type -> Single-Selection Menu (select ‘Single-Selection Menu’ from the Drop-Down Menu) -> Please enter the following into the following fields (REMEMBER to make a note of the FieldID, because you will need to replace ALL the X’s in [fieldX] with it!!!
(Please see 'FieldID.jpg' attachment below).

Add New User Profile Field Single-Selection Menu:

Title = Country Flag
Description = Add your country flag to your profile:
Profile Field Category = (Uncategorized)
Options = Copy & Paste the Whole contents of the file attached below (OPTIONS)
Set Default = None
Display Order = You Select this (dependant on how many you already have)
Field Required = yes, at registration and profile updating
Field Editable by User = Yes
Private Field = No
Field Searchable on Members List = No
Show on Members List = Yes


Optional Input:

Allow user to input their own value for this option = No
Max length of allowed user input = 100
Field Length = 25
Regular Expression = Leave this Blank


Display Page:

Which page displays this option? = Edit Your Details ** Please note that the vB4.0.4 Version does not show this option. Please select "Edit Profile" option. The selct your country flag option, I can confirm, Also shows on registration too.
** SAVE **


Then, In your Admin Control Panel (ACP)...

ACP -> Styles & Templates -> Style Manager -> <<>> -> Postbit Templates -> select the template that you use (ie Postbit or Posbit_legacy) – This is for the Postbit_Legacy…

FIND:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


If you would like to place it under your number of user posts (to the right of your Postbit) then look for:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


(upto vB4.0.5) ADD BELOW:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(for vB4.0.6 AND 4.0.7) ADD BELLOW:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Also adds the Username to the 'alt' Code on Mouseover).

(for vB4.0.8):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Thanks to Krusty1231 for this).

(for vB4.1.0 , 4.1.0 PL2 & 4.1.1)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Even though I have not tested this in these versions, others have and have reported this mod to be working in them.[/B]

Please make sure the style and template edits are still there. Just one of the people can be seen on post 350


** Replace the ‘X’ with your FieldID number **
** Replace the ‘Red Text’ with Your Forum Address **



** SAVE Template **





And that's it - Enjoy!


Please do not forget to click "Install"

Edit & Update TRACKER - Keep Upto date here:

** 30/05/2012 - Update "Flags2 to include correct name on Switzerland flag"..

** 27/09/2010 - Update on 4.0.6 "added code for the 4.0.6 Version, and instructions on how to place the flug under a user's postcount in posbit"..


** 12/07/2010 - Update on 4.0.4 "Which page displays this option"..

** 26/06/2010 - Updated Flag Names and Country Names in the "Options" text file. PLEASE Re-upload and overwrite all three flag folders and the options Text file...

** 15/01/2010 - Made all the Countries in the "OPTIONS.txt" in Alphabetical Order..

** 27/12/2009 - Changed the contents of OPTIONS.ZIP folder from a .docx file to a .txt file, as requested.

** 26/12/2009 - Option 2 Added
- Flag folder Updated (UK.gif changed to UK.GIF)


** 05/12/2009 - OPTIONS File Added.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	AdminCP.jpg
Views:	4053
Size:	100.7 KB
ID:	107172   Click image for larger version

Name:	Postbit_Legacy.jpg
Views:	7324
Size:	30.0 KB
ID:	107173   Click image for larger version

Name:	FieldID.jpg
Views:	5786
Size:	88.5 KB
ID:	107179  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Country Orb people (Country Flags) mac27 vBulletin Avatar Sets 101 03 Jan 2012 00:16

  #541  
Old 16 Dec 2012, 10:03
vladig vladig is offline
 
Join Date: May 2010
Location: Israel
Real name: Vlad
This is not a state of Palestine, and the file has only 200 countries, and the Olympics has more than 300. But other than that, this is excellent. Thank you, I motioned installed. Happy Hanukkah
Reply With Quote
  #542  
Old 28 Jan 2013, 05:35
Barbara1 Barbara1 is offline
 
Join Date: Jun 2010
Originally Posted by Keysailor View Post
I have it working just fine on 4.2.0pl2, had to futz with the code to get it to work right. The basic code to display the flag is...
...For the main postbit template, I used: *****

...and put that in right after the "template_hook.postbit_userinfo_right_after_posts" entry...
Thank you for the tip
(4.2.0 pl3)
Reply With Quote
  #543  
Old 28 Jan 2013, 22:49
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Real name: Lisa
Has anyone had any luck getting this mod to work with the postbit collapser mod?

http://www.vbulletin.org/forum/showthread.php?t=290770
Reply With Quote
  #544  
Old 09 Feb 2013, 10:18
SpottySocks SpottySocks is offline
 
Join Date: Jun 2008
Working fine except on one of my themes and this is happening:



No image is showing, only the name of the country.

I had to copy the code into 'Postbit'. I tried 'Postbit Legacy' and tried searching for '<dt>{vb:rawphrase posts}</dt>' but it wasn't found.

Can anyone help please as this is our default skin?
Reply With Quote
  #545  
Old 07 Mar 2013, 05:13
Spangle Spangle is offline
 
Join Date: Jun 2011
Works on 4.2pl3, had to muck about with the placement of the code a bit to get it where I want it.

Still have a problem where with small avatars it puts the image immediately to the right of them, can't seem to sort that out.
Reply With Quote
  #546  
Old 07 Mar 2013, 10:31
EasyEazy EasyEazy is offline
 
Join Date: Feb 2011
Originally Posted by SpottySocks View Post
Working fine except on one of my themes and this is happening:



No image is showing, only the name of the country.

I had to copy the code into 'Postbit'. I tried 'Postbit Legacy' and tried searching for '<dt>{vb:rawphrase posts}</dt>' but it wasn't found.

Can anyone help please as this is our default skin?
Have you uploaded the flags to your correct folder. They should be in

/images/styles/CreativeCreature/buttons/flags
Reply With Quote
  #547  
Old 23 Mar 2013, 17:48
Bluemax712 Bluemax712 is offline
 
Join Date: Oct 2010
Needed to change name for Palestinian Territory

website will look for this: images/buttons/flags/Palestinian Territory.GIF
but it's currently called "Palestinian.GIF"
Reply With Quote
  #548  
Old 23 Mar 2013, 20:42
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by apsrfvb4 View Post
Needed to change name for Palestinian Territory

website will look for this: images/buttons/flags/Palestinian Territory.GIF
but it's currently called "Palestinian.GIF"
Change the name of the field and the gif.
__________________
Reply With Quote
  #549  
Old 23 Mar 2013, 20:53
Bluemax712 Bluemax712 is offline
 
Join Date: Oct 2010
Originally Posted by Digital Jedi View Post
Change the name of the field and the gif.
hmm... I only changed the name of the gif to "Palestinian Territory.GIF" (with a space)
and it started working
Reply With Quote
  #550  
Old 24 Mar 2013, 22:25
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by apsrfvb4 View Post
hmm... I only changed the name of the gif to "Palestinian Territory.GIF" (with a space)
and it started working
As long as the field has the same name as the gif, then that's all that's needed.
__________________
Reply With Quote
  #551  
Old 19 Apr 2013, 17:31
Keythacker's Avatar
Keythacker Keythacker is offline
 
Join Date: Mar 2013
Ok IO know this shows as not supported but there must be a way to show the pics all I get is the name of the flag no pictures. I am using 4.21 the latest version
Reply With Quote
  #552  
Old 24 May 2013, 12:44
muimui muimui is offline
 
Join Date: Apr 2013
working on 4.2version...thankyou

Last edited by muimui; 24 May 2013 at 12:55.
Reply With Quote
  #553  
Old 05 Jun 2013, 01:03
Charro~ Charro~ is offline
 
Join Date: Jan 2013
Real name: Cheyenne
Installed & working after some tweaks....vb 4.2.1

Thanks & Rated !
Reply With Quote
  #554  
Old 30 Jun 2013, 23:56
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Real name: Joey
Originally Posted by Charro~ View Post
Installed & working after some tweaks....vb 4.2.1

Thanks & Rated !

What tweaks?
__________________
Lincoln vs Cadillac Forums -
Reply With Quote
  #555  
Old 02 Jul 2013, 01:56
K!nG K!nG is offline
 
Join Date: Dec 2010
Originally Posted by joeychgo View Post
What tweaks?

It worked for me without doing any tweaks ... !!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 09:46.

Layout Options | Width: Wide Color: