vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - vBulletin Flags In Postbit (https://vborg.vbsupport.ru/showthread.php?t=159252)

freddymaze 11-19-2007 10:51 AM

Installed. Uninstalled.

nyunyu 11-21-2007 01:17 PM

It works!! Thanks for this useful hack. Any plan to release an animated flag?

mauriceo 12-08-2007 09:51 AM

I'm using version 3.6.8 and can choice in the user profile the flag (only diggits available) but bihind or below the MSN or AIM icons i dont see any flag, where do i have to look to see the flag?

Here the code what i did changed.
Code:

                                ...<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
<!-- / flags start -->
<div>
<if condition="$post[fieldXX]"><img src="images/flags/$post[fieldXX].png"></if>
</div>
<!-- / flags end -->

                        </div>                                       
               
        </td>
        <if condition="$show['moderated']">...


Jase2 12-15-2007 01:24 PM

I followed the instructions but I can't get it to work. When I go in my profile it just shows the two letters that it said copy and paste.

And nothing shows in the post bit.

Regards Jason :)

gforce75 12-28-2007 11:23 AM

Hey guys i figured it out and it's so simple. You see that field option? You need to change it to whatever your field number is. Mine was 8. I left it at xx and just started to look at the code. Anyways, change it to your number and make sur ethe images point to your directory. You'll be fine!

franzjuve 02-01-2008 03:14 AM

Quote:

Originally Posted by freddymaze (Post 1385455)
Installed. Uninstalled.

same for me

TCE Killa 02-01-2008 01:28 PM

Thanks man.

River_rush 02-01-2008 06:51 PM

installed, and after changing the flag list to reflect what actually is there, changing the image/flag to the full url and making sure I put the right field number in, it works perfectly, thanks

TCE Killa 02-02-2008 11:57 PM

If you want your flag to show up next to your location - as so in the screenshot, simply replace your location, so find...

PHP Code:

<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if> 

Replace with this:

PHP Code:

<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]<!-- / flags start -->
<if 
condition="$post[field32]"><img src="images/flags/$post[field32].png"></if>
<!-- / 
flags end --></div></if> 

All I did was take out the div tags and added one at the end.

Screenshot: https://vborg.vbsupport.ru/external/2008/02/49.jpg

Magnusson2u 02-07-2008 04:18 PM

This looks GREAT! Can people use multiple flags?

sunnylikbeckham 03-09-2008 07:24 AM

did not worked for me

Warion 03-09-2008 10:49 PM

did not work for me either.

NeuroLancer 03-12-2008 03:31 PM

Here is attached fixed images and Country names.

No longer 2 letter abbreviations, this is full names, much nicer. The .png's have been changed in names to suit this.

Works great for me.

This took a long time to do all the changes by the way! :D enjoy.

Code:

United States
Canada
United Kingdom
Australia
Afghanistan
Aland Islands
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antigua & Barbuda
Argentina
Armenia
Aruba
Austria
Azerbaijan
Bahama
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bermuda
Bhutan
Bolivia
Bosnia and Herzegovina
Botswana
Bouvet Island
Brazil
British Indian Ocean Territory
British Virgin Islands
Brunei Darussalam
Bulgaria
Burkina Faso
Burundi
Cambodia
Cameroon
Cape Verde
Catalonia
Cayman Islands
Central African Republic
Chad
Chile
China
Christmas Island
Cocos Keeling Islands
Colombia
Comoros
Congo
Congo Democratic Republic
Cook Iislands
Costa Rica
Cote Divoire
Croatia
Cuba
Cyprus
Czech Republic
Czechoslovakia
Denmark
Djibouti
Dominica
Dominican Republic
Ecuador
Egypt
El Salvador
England
Equatorial Guinea
Eritrea
Estonia
Ethiopia
European Union
Falkland Islands Malvinas
Faroe Islands
Fiji
Finland
France
French Guiana
French Polynesia
French Southern Territories
Gabon
Gambia
Georgia
Germany
Ghana
Gibraltar
Greece
Greenland
Grenada
Guadeloupe
Guam
Guatemala
Guinea
Guinea Bissau
Haiti
Heard McDonald Islands
Honduras
Hong Kong
Hungary
Iceland
India
Indonesia
Iraq
Ireland
Islamic Republic of Iran
Israel
Italy
Jamaica
Japan
Jordan
Kazakhstan
Kenya
Kiribati
Korea
Korea Democratic Peoples
Kuwait
Kyrgyzstan
Lao
Latvia
Lebanon
Lesotho
Liberia
Libyan Arab Jamahiriya
Liechtenstein
Lithuania
Luxembourg
Macau
Macedonia
Madagascar
Malaysia
Maldives
Mali
Malta
Marshall Islands
Martinique
Mauritania
Mauritius
Mayotte
Mexico
Micronesia
Moldova
Monaco
Mongolia
Monserrat
Montenegro
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
Netherlands
Netherlands Antilles
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
Niue
Norfolk Island
Northern Mariana Islands
Norway
Oman
Pakistan
Palau
Palestinian Territory Occupied
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Pitcairn
Poland
Portugal
Puerto Rico
Qatar
Reunion
Romania
Russia
Rwanda
Saint Lucia
Samoa
San Marino
Sao Tome Principe
Saudi Arabia
Scotland
Senegal
Serbia
Seychelles
Sierra Leone
Singapore
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Georgia
Spain
Sri Lanka
St Helena
St Kitts and Nevis
St Pierre Miquelon
St Vincent Grenadines
Sudan
Suriname
Svalbard Jan Mayen Islands
Swaziland
Sweden
Switzerland
Syrian Arab Republic
Taiwan
Tajikistan
Tanzania
Thailand
Timor Leste
Togo
Tokelau
Tonga
Trinidad Tobago
Tunisia
Turkey
Turkmenistan
Turks Caicos Islands
Tuvalu
Uganda
Ukraine
United Arab Emirates
United States Outlying Islands
United States Virgin Islands
Uruguay
Uzbekistan
Vanuatu
Vatican City State
Venezuela
Viet Nam
Wales
Wallis Futuna Islands
Western Sahara
Yemen
Zambia
Zimbabwe


Magnusson2u 03-12-2008 03:43 PM

Thanks for the time and energy. Cheers!

Lombardo 03-12-2008 04:27 PM

It works if you edit the postbit template not the postbit legacy. Well i edited both and it worked as it didn't work when i just edited postbit_legacy.

Hypo 03-12-2008 04:46 PM

Quote:

Originally Posted by JacBowen (Post 1352074)
Ok, go into your AdminCP.
On the left navigation go...

User Profile Fields > User Profile Field Manager

Look for

Flag Single-Selection Menu Required, Editable, Searchable, Members List field6 [Edit][Delete]

See where it says Field6, well yours will probably be different but you insert that instead of the XX.

Jac

I've got the same problem, it only shows up as 2 letters, like NE, AA etc.
And I don't erally understand what you mean by this solution.
Yes I've found
Code:

Flag Single-Selection Menu          Required, Editable, Searchable, Members List          field7
So it's field7 @ my place.
But what should I do there than?

Sorry if I'm that stupid :$


Thanks in advance,
Hypo

Lombardo 03-12-2008 05:11 PM

You type that number "7" into the template that you were giving in your download.Where it says "fieldxx" you replace the "xx" with "7" so it will be "field7"

Hypo 03-12-2008 05:25 PM

OO is it that easy, will try than :)
Thanks Lombardo ;)

Lombardo 03-12-2008 05:30 PM

No worries,it was only a few months ago i was in the same boat as you. :D

Lombardo 03-16-2008 10:43 PM

is there any chance of getting the new flag of kosovo, i have a member from Kosovo and he'd like his flag.It would be much appreciated.

Jase2 03-16-2008 10:48 PM

Any update on this for 3.7?

Regards Jason :)

ETDC 05-17-2008 07:41 AM

Well, I can see it.

Drago912 05-17-2008 09:42 PM

Quote:

Originally Posted by Lombardo (Post 1463130)
It works if you edit the postbit template not the postbit legacy. Well i edited both and it worked as it didn't work when i just edited postbit_legacy.

yep....thats exactly what fixed it for me also.........:)

EhsanAhmad 05-19-2008 09:35 PM

i installed and fixed in both templates but didnt work , it just wont show up

bandare 05-20-2008 04:12 PM

would be good if in the drop down menu in profile edit, you could see the flag images, not double letters. Is this possible instead?

Britmovie 05-25-2008 06:09 PM

S'mae Jac,
Will this work with 3.7 as tried it and seems not to?
Dafydd

Soup^Dragon 05-26-2008 10:56 AM

works fine for me just follow the steps in all the posts above

Collectors 12-27-2008 08:43 AM

Works great (3.7.4), thanks! :)

zombietom 02-28-2009 01:23 PM

install and working on 3.7.1 --thanks!

zombietom 02-28-2009 06:45 PM

one thing i found --is that there is a PP but no image for it--i have no ideal what PP stands for so i just removed it from the field i created.
just a heads up.

itsheinz 03-07-2009 04:45 AM

its not working on my 3.8.1
btw,iv changed my flag images,it became gif,was there a problem?but in the code i changed png to gif as well,but unfortunately it didnt showed up.

mdawg 03-26-2009 06:44 PM

Are there any flag modifications that work on 3.8.1

forum4 05-28-2009 05:15 PM

Quote:

Originally Posted by NeuroLancer (Post 1463076)
Here is attached fixed images and Country names.

No longer 2 letter abbreviations, this is full names, much nicer. The .png's have been changed in names to suit this.

Works great for me.

This took a long time to do all the changes by the way! :D enjoy.

Code:

United States
Canada
United Kingdom
Australia
Afghanistan
Aland Islands
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antigua & Barbuda
Argentina
Armenia
Aruba
Austria
Azerbaijan
Bahama
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bermuda
Bhutan
Bolivia
Bosnia and Herzegovina
Botswana
Bouvet Island
Brazil
British Indian Ocean Territory
British Virgin Islands
Brunei Darussalam
Bulgaria
Burkina Faso
Burundi
Cambodia
Cameroon
Cape Verde
Catalonia
Cayman Islands
Central African Republic
Chad
Chile
China
Christmas Island
Cocos Keeling Islands
Colombia
Comoros
Congo
Congo Democratic Republic
Cook Iislands
Costa Rica
Cote Divoire
Croatia
Cuba
Cyprus
Czech Republic
Czechoslovakia
Denmark
Djibouti
Dominica
Dominican Republic
Ecuador
Egypt
El Salvador
England
Equatorial Guinea
Eritrea
Estonia
Ethiopia
European Union
Falkland Islands Malvinas
Faroe Islands
Fiji
Finland
France
French Guiana
French Polynesia
French Southern Territories
Gabon
Gambia
Georgia
Germany
Ghana
Gibraltar
Greece
Greenland
Grenada
Guadeloupe
Guam
Guatemala
Guinea
Guinea Bissau
Haiti
Heard McDonald Islands
Honduras
Hong Kong
Hungary
Iceland
India
Indonesia
Iraq
Ireland
Islamic Republic of Iran
Israel
Italy
Jamaica
Japan
Jordan
Kazakhstan
Kenya
Kiribati
Korea
Korea Democratic Peoples
Kuwait
Kyrgyzstan
Lao
Latvia
Lebanon
Lesotho
Liberia
Libyan Arab Jamahiriya
Liechtenstein
Lithuania
Luxembourg
Macau
Macedonia
Madagascar
Malaysia
Maldives
Mali
Malta
Marshall Islands
Martinique
Mauritania
Mauritius
Mayotte
Mexico
Micronesia
Moldova
Monaco
Mongolia
Monserrat
Montenegro
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
Netherlands
Netherlands Antilles
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
Niue
Norfolk Island
Northern Mariana Islands
Norway
Oman
Pakistan
Palau
Palestinian Territory Occupied
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Pitcairn
Poland
Portugal
Puerto Rico
Qatar
Reunion
Romania
Russia
Rwanda
Saint Lucia
Samoa
San Marino
Sao Tome Principe
Saudi Arabia
Scotland
Senegal
Serbia
Seychelles
Sierra Leone
Singapore
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Georgia
Spain
Sri Lanka
St Helena
St Kitts and Nevis
St Pierre Miquelon
St Vincent Grenadines
Sudan
Suriname
Svalbard Jan Mayen Islands
Swaziland
Sweden
Switzerland
Syrian Arab Republic
Taiwan
Tajikistan
Tanzania
Thailand
Timor Leste
Togo
Tokelau
Tonga
Trinidad Tobago
Tunisia
Turkey
Turkmenistan
Turks Caicos Islands
Tuvalu
Uganda
Ukraine
United Arab Emirates
United States Outlying Islands
United States Virgin Islands
Uruguay
Uzbekistan
Vanuatu
Vatican City State
Venezuela
Viet Nam
Wales
Wallis Futuna Islands
Western Sahara
Yemen
Zambia
Zimbabwe


Thanks so much for all of your work on this! I was able to manually code in the flags. This way is so nice as I can just have an input field. Members have to enter their country correctly, but it's so much nicer than a long drop down list etc.

Plus, the tiny flags are super cute! 5 stars!

ubcforums 05-31-2009 02:18 AM

works with 3.82 :D
Flags are cute :D

Verionia 08-14-2009 02:36 AM

Worked in 3.84!! :) THANKS!

faiz 09-13-2009 03:20 AM

Dear Sir...

From Where I can get vBulletin Flags for Version: 3.8.4

Please your help.


All times are GMT. The time now is 11:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01322 seconds
  • Memory Usage 1,837KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete