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

  #46  
Old 03 Jul 2010, 05:57
goshalim goshalim is offline
 
Join Date: Oct 2007
On the 3.8.1 there is no Option field to copy paste the option.txt.

Please advice what to do
Reply With Quote
  #47  
Old 03 Jul 2010, 10:44
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Originally Posted by goshalim View Post
On the 3.8.1 there is no Option field to copy paste the option.txt.

Please advice what to do
Upgrage?
Reply With Quote
  #48  
Old 03 Jul 2010, 13:59
goshalim goshalim is offline
 
Join Date: Oct 2007
What if i dont want ot upgreat , there is no chance to make it work with 3.8.1 ?

Also when i tried the path ="http://www.Yourforum.com/images/buttons/flags/
its gets this


Forbidden
You don't have permission to access /up/forum/images/buttons/flags/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request

Last edited by goshalim; 03 Jul 2010 at 14:32.
Reply With Quote
  #49  
Old 03 Jul 2010, 14:45
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Can you post or PM me the URL to your forum? I don't have a 3.8.1 to test in on, sorry.
Reply With Quote
  #50  
Old 04 Jul 2010, 19:23
goshalim goshalim is offline
 
Join Date: Oct 2007
Found the mistake. Because on 3.8.1 there is not fielf for options, if you write wrong the name of the country or with small letters and not just like the list then you get an x .
Reply With Quote
  #51  
Old 05 Jul 2010, 07:31
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
That's right. You have to start with a capital letter the .GIF has to be in capitals too.

But, Thank You for updating us on your situation.
Reply With Quote
  #52  
Old 05 Jul 2010, 08:03
goshalim goshalim is offline
 
Join Date: Oct 2007
You are welcome but they should found a solution for the optio list.
User that are using 3.8.1 version they will have a problem.

Because there are a lot of ways how to write a name ......correct ?
Reply With Quote
  #53  
Old 14 Jul 2010, 22:11
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Works like a charm, thanks man
Reply With Quote
  #54  
Old 16 Aug 2010, 04:43
Nephalim Nephalim is offline
 
Join Date: Apr 2005
Real name: Bootsy Colins
hi how do you get this to work with blog? I keep getting errors when we post a blog. vb 3.8.4
Reply With Quote
  #55  
Old 13 Oct 2010, 20:55
cheech47's Avatar
cheech47 cheech47 is offline
 
Join Date: Oct 2006
Hi

Just to let you know the Cambodia flag is missing

Cheers
Reply With Quote
  #56  
Old 21 Oct 2010, 20:25
soroush soroush is offline
 
Join Date: Nov 2009
Hi,
Many of my forum users are from Iraq and Iraq's flag get changed recently; how could I find an updated one with same motion as in the current one?
Reply With Quote
  #57  
Old 20 Dec 2010, 21:43
ljd290 ljd290 is offline
 
Join Date: Apr 2009
Hi
Any chance of a Columbia flag please?
__________________
http://www.plecoplanet.com
Reply With Quote
  #58  
Old 02 Jan 2011, 09:07
Diablo-Sat Diablo-Sat is offline
 
Join Date: Dec 2010
thanks for this, only prob i had was when i finished the flag was under my name not under my stats but its ok
Reply With Quote
  #59  
Old 28 Nov 2011, 16:26
Fluke667 Fluke667 is offline
 
Join Date: Feb 2007
Can i use the Flags Display in Whos Online ?
Reply With Quote
  #60  
Old 02 Dec 2011, 07:50
vwdforum vwdforum is offline
 
Join Date: Jun 2006
any chance of a Switzerland flag please?
__________________
www.vwdforum.com
residual income
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:37.

Layout Options | Width: Wide Color: