![]() |
I doubt the code will but the graphics will.
|
1 Attachment(s)
OK Guys - you can try the following:
Firstly “Upload” ALL the Flag GIF pics to your forum root /images/buttons folder. 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!!! 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 ** ACP -> Styles & Templates -> Style Manager -> <<>> -> Postbit Templates -> select the template that you use (ie Postbit or Posbit_legacy) – I use Postbit… Find: Code:
$vbphrase[posts]: $post[posts] Code:
<!-- Flags Start --> FOR vB4 Beta - This code will add Alt Text to your Flag on mouseover. Find: Code:
</vb:if> Code:
<!-- Country Flags Start --> ** SAVE TEMPLATE ** ** Replace the ‘X’ with your FieldID number ** That should work for you?! |
Thanks Welshy I have this thread tagged.
|
Your Welcome Charlie, Let me know it it works for you in vB4.
|
Haha, unbelievable.. I've been searching for this all morning in the search bar.. Download VB 4, check out the mods randomly.. and look what I find :/
Thanks! Installed and Rated ++ ;) |
Quote:
|
Can I put all the flags in one folder then upload it and then set it as I set the feildX ID?
|
OPTIONS.xml where does that go? If I try to import as a product it says invalid file.
|
Tryed this and it does not work .
|
The original isn't anything either the notepad is just a list of all the flags nothing else.
|
All times are GMT. The time now is 11:48 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|