Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Country Flags - Postbit & Postbit_Legacy. vB 3.8.X Details »
Country Flags - Postbit & Postbit_Legacy. vB 3.8.X
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: 3.8.x Rating: (16 votes - 4.94 average) Installs: 93
Released: 22 Mar 2010 Last Update: 25 Mar 2010 Downloads: 597
Not Supported Template Edits Code Changes Re-usable Code Translations  

After receiving many PMs for me to do my version of this mod, I have obliged.

Original Credit for the Mod goes to Cobro.

If you use this Mod, Please click "Installed" and rate the Mod fairly.

This Mod is available for vb4.0.X here:

http://www.vbulletin.org/forum/showt...02#post2008102



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.


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

** SAVE **


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


For Postbit:


ACP -> Styles & Templates -> Style Manager -> <<>> -> Postbit Templates -> postbit


FIND:



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


ADD BELOW:



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


For Posbit_Legacy:


ACP -> Styles & Templates -> Style Manager -> <<>> -> Postbit Templates -> posbit_legacy...


FIND:



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


ADD BELOW:



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


BOTH of the codes above will give you the Username and the Name of the actual Users Country Flag on mouseover.


TIP: (If you find that you get the box with a "red x" like this , instead of seeing your image whilst using Option 1, Above - This means that the route to your images is wrong.


** 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"

Download Now

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

Screenshots

Click image for larger version

Name:	AdminCP.jpg
Views:	692
Size:	93.1 KB
ID:	114581   Click image for larger version

Name:	Postbit.jpg
Views:	1355
Size:	24.1 KB
ID:	114582   Click image for larger version

Name:	FieldID.jpg
Views:	1176
Size:	66.1 KB
ID:	114583  

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
Add-On Releases Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO Welshy2008 vBulletin 4.x Add-ons 606 03 Aug 2016 02:04
Country Orb people (Country Flags) mac27 vBulletin Avatar Sets 101 02 Jan 2012 23:16
Mini Mods Total Threads & posts shown in the postbit & postbit_legacy abus3d vBulletin 3.8 Add-ons 15 14 Feb 2010 17:18

Comments
  #2  
Old 22 Mar 2010, 21:28
Super-six's Avatar
Super-six Super-six is offline
 
Join Date: Jul 2009
Real name: zero2sixty
Flags

Excellente !

We'll be installing this one.
BTW...thanks for the personal customer service also.
Reply With Quote
  #3  
Old 22 Mar 2010, 21:42
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Originally Posted by Super-six View Post
Excellente !

We'll be installing this one.
BTW...thanks for the personal customer service also.

You're Welcome, Let us know here, how you get on with it on 3.8.5.
Reply With Quote
  #4  
Old 22 Mar 2010, 23:57
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Real name: Shawn
Excellent. i already have this on my forum, but its good to see finally a addon using the animated flags.
__________________
Sorry Guys, just a little busy lately.
Reply With Quote
  #5  
Old 23 Mar 2010, 19:01
MichaelDance MichaelDance is offline
 
Join Date: Dec 2009
Real name: Michael Dance
TY you know our problem with flags before, could i use mine which i did for you on vb4.0 or are they fixed on this one??
Reply With Quote
  #6  
Old 23 Mar 2010, 20:47
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Problem?

These are all .GIF(s), But you are able to use your own if you so wish.
Reply With Quote
  #7  
Old 23 Mar 2010, 20:54
as7apcool's Avatar
as7apcool as7apcool is offline
 
Join Date: Feb 2009
thanks 4 this .. really good
Reply With Quote
  #8  
Old 24 Mar 2010, 16:04
cheech47's Avatar
cheech47 cheech47 is offline
 
Join Date: Oct 2006
Is there anyway to get these flags to work in who's online?

Thanks
Reply With Quote
  #9  
Old 24 Mar 2010, 20:17
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
installed as instructions, People are able to choose the flags, but nothing shows up in the postbit. It's showing up as a red X

When I right click the red X it's linking to the flags like this http://www.chattaboxforums.com/image...ons/flags/.GIF

Why??

Last edited by matthewhotdude; 24 Mar 2010 at 20:22.
Reply With Quote
  #10  
Old 24 Mar 2010, 20:45
ghostpt ghostpt is offline
 
Join Date: Oct 2007
Originally Posted by matthewhotdude View Post
installed as instructions, People are able to choose the flags, but nothing shows up in the postbit. It's showing up as a red X

When I right click the red X it's linking to the flags like this http://www.chattaboxforums.com/image...ons/flags/.GIF

Why??
When you add User Profile Field check the ID of the field. Eg: If the field is field10, replace the X with 10.


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

Reply With Quote
  #11  
Old 24 Mar 2010, 20:52
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Originally Posted by ghostpt View Post
When you add User Profile Field check the ID of the field. Eg: If the field is field10, replace the X with 10.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Yes sorted thanks, didnt notice there were 2 X's that needed changing in each edit
Reply With Quote
  #12  
Old 25 Mar 2010, 00:27
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
I think I had this installed maybe in 2.x or another 3.x version. I've got a whole /flags directory in my vbulletin.
I think I'm going to try this mod too.
__________________
Greetings, Black Tiger
Reply With Quote
  #13  
Old 25 Mar 2010, 10:03
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Matthew,

There are Three (3) X's to replace, Mate.

<!-- Wy Country Flags Start -->
<if condition="$post['fieldX']">
Country: <img src="http://www.Yourforum.com/images/buttons/flags/$post[fieldX].GIF" alt="$post[username]'s Flag is: $post[fieldX]" border="" />
</if>
<!--// Wy Country Flags End -->


You have missed out the code that is in Bold Green.


That gives the name of the country flag that that user has chosen, when you hover the mouse over their flag.
Reply With Quote
  #14  
Old 25 Mar 2010, 10:12
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
ahh thanks welshy
Reply With Quote
  #15  
Old 25 Mar 2010, 10:32
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
That's it mate, It working great now.


Can you go into your flags folder and rename the UK flag from "UK.gif" to "UK.GIF"?


That Flag will then work too.
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 15:22.

Layout Options | Width: Wide Color: