View Full Version : Profile Enhancements - Country Flag Gif's
Cobro
05-27-2008, 10:00 PM
This is not my work but i got these flags from my friend made them and he uses them on his forum and i just wanted to share it with you these are gif's so they are moving very cool just check them out and tell me what you think
https://vborg.vbsupport.ru/external/2008/05/3.gif
hope you enjoy
Charlie98902
05-28-2008, 01:50 AM
What does this actually do besides put animated gif's somewhere?
Cobro
05-28-2008, 01:51 AM
you have to get a plugin that puts the flag in postbit and stuff like that i just wanted to share the gifs
veenuisthebest
05-28-2008, 03:12 AM
toooo beautifulll.. i am really loving this. the animation is just perfect :up:
7lanet
05-28-2008, 03:44 AM
Please nominate images on behalf of the State
And replacement of the old name
For example
United States = United States.gif
from flag_us.gif for United States.gif
from flag_ye.gif for yemen.gif
I give her to me
look file
ShawneyJ
05-28-2008, 07:12 AM
wow sweet, i already have most of these. but lets see which ones i havent got ;)
wWw.Fun2Wii.Com
05-28-2008, 09:18 AM
Please nominate images on behalf of the State
And replacement of the old name
For example
United States = United States.gif
from flag_us.gif for United States.gif
I give her to me
look file
The same request
Thank
sensimilla
05-28-2008, 03:43 PM
The graphics are stunning, thanks alot!
Phr34q
05-28-2008, 04:47 PM
In the spirit of our hero Snoop dog, shiznizzle brotha!
* Phr34q clicks installed *
Thanks a bunch, good idea sharing it here :)
iogames
05-28-2008, 04:51 PM
Can I ask your friend how he made them? quite a job I see
Thank you, very nice flags! :)
ammoskumar
05-28-2008, 06:14 PM
I took flag's and applied to this code and it works.
Flags Install File - Country Only
1. Create Flags Profile Fields:
Go to AdminCP > Profile Fields > Add new Profile field > Single Select Menu
Title - Country Flag
Description - Select your Country Flag
Options - [copy and paste list of countries in country_flags_list.txt to this option field]
Set Default: None
Editable By User: Yes
Display Page: Edit Profile
Write down your field number, ie field8
2. Edit the postbit_legacy template:
Go to AdminCP > Styles & Templates > Style Manager
In your template list on the right select Edit Templates from the dropdown menu of the desired template
Double click Postbit Templates
Double click postbit_legacy
FIND:
<div>
$vbphrase[posts]: $post[posts]
</div>
BELOW, ADD:
<!-- / flags start -->
<div>
<if condition="$post[fieldX]"><img src="images/flags/$post[fieldX].gif"></if>
</div>
<!-- / flags end -->
Change X to the field id for your country flag.
ie, if your country flag is field8 the code will look like this:
<!-- / flags start -->
<div>
<if condition="$post[field8]"><img src="images/flags/$post[field8].gif"></if>
</div>
<!-- / flags end -->
3. Upload the folder flags to the images directory of your forum.
hey brother any demo on this i follow ur instruction but its not showing on postbit legacy??
plz help me on this..
Kaleem
05-28-2008, 06:18 PM
hey brother any demo on this i follow ur instruction but its not showing on postbit legacy??
plz help me on this..
Try both post_bit and postbit_legacy.
Soup^Dragon
05-28-2008, 06:19 PM
will only work if you are using postbit legacy, try the same in the postbit template
ammoskumar
05-28-2008, 06:51 PM
k ill do right now...
ammoskumar
05-28-2008, 06:55 PM
Try both post_bit and postbit_legacy.
i tried both and still not coming up.... i have flags folder under the images....
do i have to rename the flag name or anything??
i want to show that flags images in the user postbit....
plz help thank you so much...
Hello!
something is wrong with file name (extension) GIF --- should be gif and how and where implement that code " {title}: <img src="./style_images/flag/flag_{key}.GIF" /> "
also must change all filenames to flags ... to countryname.gif
reg
macc
can some fix that and make wright code to put in postbit and postbit_legacy?
ammoskumar
05-28-2008, 07:05 PM
No problem i found it you have to rename the name flag_in.gif to india.gif
thanx a lot LightInClouds & Soup^Dragon
it came now up... :)
stardotstar
05-28-2008, 11:43 PM
I am new at modding vB - first one actually - and I had this mod on phpBB so I have added it according to the user profile custom field addition and then linking to the flag name in postbit_legacy - and this does indeed work if the file is renamed from the list provided ie:
flag_au.GIF --> Australia.GIF works but that requires renaming all the flags according to the names in the list whilst the original bundle already provides a translation key:
...
au=Australia
...
in phpBB this is done using a language key where anything called for as 'au' shows up as 'Australia'; then the menu list would be the list of keys
...
au
...
which is an easier job to edit than the actual file names - including the fact that there are spaces and capitalisation in the file names and also some exceptions to the two letter country code etc...
There must be some simple code that would allow the supplied list to be used in both the dropdown and the image file translation without a lot of editing?
Language key:
at=Austria
au=Australia
aw=Aruba
ax=Aaland
Drop down menu is then set up as
at
au
aw
ax
but displays to users as
Austria
Australia
Aruba
Aaland
and when one is selected by the language key in the profile it translates to:
flag_at.GIF
flag_au.GIF
flag_aw.GIF
flag_ax.GIF
or
flag_$post[fieldX].GIF
Sort of thinking out loud since I don't even know if this is where such a question should be asked...
sweetguy2004
05-29-2008, 08:03 PM
Sort of thinking out loud since I don't even know if this is where such a question should be asked...
LOL
iogames
05-30-2008, 12:27 AM
I want/need to know how the waving effect was made :)
rigodiaz
05-30-2008, 12:48 AM
Thank you man!
stardotstar
05-30-2008, 02:27 AM
Not sure what technique was used in this instance but I have used photoshop displacement/bump maps and lighting effects in the past. There are numerous tutorials around. eg using
http://www.nomadthepirate.com/tutorial/
you can very quickly get:
http://www.archeli.com.au/flags/anim_Australia_55.gif
http://www.archeli.com.au/flags/Italy_big_will_angle.gif
etc. (not as good as the ones in this post I know) but you get the idea.
This mod's flags are using a much higher frequency bump map and lighting effect and an angle on the effect which is partly why the flags look so good cropped as they are...
BTW great tutorial - thanks!
7lanet
05-30-2008, 04:15 PM
I tried to amend country name, however things went wrong, plz re_arrange country names as following
United States = United States.gif
from flag_us.gif for United States.gif
Phr34q
05-30-2008, 05:58 PM
aah damn, i really like this one, too much work for me to even begin with :o
anyone got the flags renamed that would like to share with me?
jewropa
05-31-2008, 12:47 PM
Thank You Very Much!
CHEROKYE
05-31-2008, 01:11 PM
Is fantastic, Thanks
nokidding
05-31-2008, 06:18 PM
can anyone upload a new file with all the flags renamed?
thanks
jewropa
05-31-2008, 07:14 PM
I think we can divide the pictures to 3 people, then if we rename it together it will be very quick work.
I rename now the folder: New Folder
jewropa
05-31-2008, 07:38 PM
Here: The first Folder
7lanet
06-01-2008, 01:31 AM
Thanks for the amendment, awaiting for completion of the rest.
wWw.Fun2Wii.Com
06-01-2008, 12:00 PM
thanks
Goomzee
06-02-2008, 06:17 AM
thankx but this flags are showing me on forums i think i have rename flags name and that's anoyying
wWw.Fun2Wii.Com
06-07-2008, 11:24 PM
Names of all States has been modified
The rest of this, Did not know it
https://vborg.vbsupport.ru/
P.S: this Faroe Islands
shaynehammy
06-08-2008, 12:27 AM
Anyone got this working in 3.7?
shaynehammy
06-08-2008, 12:56 AM
Got it working.
<!-- / flags start -->
<div>
<if condition="$post[fieldX]"><img src="images/flags/$post[fieldX].gif"></if>
</div>
<!-- / flags end -->
needs to be
<!-- / flags start -->
<div>
<if condition="$post[fieldX]"><img src="images/flags/$post[fieldX].GIF"></if>
</div>
<!-- / flags end -->
for any people that have Linux hosting systems
dt_truck11
07-18-2008, 11:20 PM
Names of all States has been modified
The rest of this, Did not know it
https://vborg.vbsupport.ru/
P.S: this Faroe Islands
the attached folders do not work. when i go to extract the files i get a message saying that there are no files to extract. o well will change the names myself
tommythejoat
07-23-2008, 07:32 PM
Original folder 2 contains the map of codes to country names. The codes are the iso standard country codes.
MDK-Indy
07-29-2008, 09:54 AM
Sal?,
the following Flag's are missing
Andorra
Cote d'Ivoire
Vatican City
The FaroesCan you make it...?
greeting Indy
dt_truck11
07-29-2008, 08:06 PM
Sal?,
the following Flag's are missing
* Andorra
* Cote d'Ivoire
* Vatican City
* The Faroes
Can you make it...?
greeting Indy
correct me if im wrong but i think "Holy See (Vatican City State)" is the same as Vatican City. see attachment below
TimberFloorAu
08-06-2008, 06:37 AM
Enclosed:
1. renamed country image files.
2. profile field drop down re coded
3. instructions upto date
dt_truck11
08-06-2008, 08:30 PM
ty timber
TimberFloorAu
08-07-2008, 04:04 AM
Your Very Welcome , Truck
Cobro
08-16-2008, 06:33 PM
special flags for my friend :) here you go my friend keep me in mind hehe :) enjoy
captainslater
08-17-2008, 11:41 AM
Thanks for the austria flag :)
hatschipratschi
08-18-2008, 12:36 PM
Hello Cobro!
Thanks for my special flags also!
kind regards
TimberFloorAu
08-23-2008, 07:45 AM
anyone know how these flags were created , ie what software ?
they r awesome
Markos
08-24-2008, 01:25 PM
i use Macromedia Fireworks MX to make images like that
zivester
08-26-2008, 07:01 PM
I do inclusion outside of the vbulletin system (through a plugin).. how to I access the $post[field8] from another php file? I tried $vbulletin->post[field8] to no avail...
Spicey LA
08-26-2008, 07:32 PM
is there a country flag mod plugin for vbulletin????
cindy helmond
08-27-2008, 10:05 PM
Enclosed:
1. renamed country image files.
2. profile field drop down re coded
3. instructions upto date
the flag hack install and rename the flag files but still nothing to see in the forums no image flags any help ?
code flags hack :
<!-- / flags start -->
<div>
<if condition="$post[field10]"><img src="images/flags/$post[field10].GIF"></if>
</div>
<!-- / flags end -->
thx
murekhalir
11-11-2008, 11:13 PM
it doesnt work for me either.
michi123
01-29-2009, 09:12 AM
anybody got the flags for litauen, estland, letland?
Manic Mechanic
01-31-2009, 05:36 AM
Enclosed:
1. renamed country image files.
2. profile field drop down re coded
3. instructions upto date
I down loaded all your files, but found I had to make one folder named flags and transfer all images from the three folders you have. It is working fine now thanks.
Pure Dope
02-02-2009, 01:11 AM
missing flag jamaicia.
abo rashid
02-07-2009, 04:52 PM
hi
its only to update my profiled but no flags show up
Tagert
02-19-2009, 10:49 PM
Thank you author and thank you TimberFloorAu for simplifying the process of adding the gifs for use :)
:D
gsmph
02-23-2009, 12:31 AM
may i request for UAE flag
thanks
br
gsmph
karlm
02-23-2009, 09:17 PM
Can I ask what the flag "fo" is, please? I've no idea!
Playa82
02-26-2009, 01:19 PM
Can I ask what the flag "fo" is, please? I've no idea!
https://vborg.vbsupport.ru/
Faroe Islands
http://en.wikipedia.org/wiki/Faroe_Islands
93Corvette
03-03-2009, 05:53 AM
Is there anyway of getting rid of the lettering? I love the flag waving, but hate the text...
karlm
03-05-2009, 10:58 AM
http://fun2wii.net/uploads/images/Fun2Wii-d51401b44b.GIF
Faroe Islands
http://en.wikipedia.org/wiki/Faroe_Islands
Thanks :)
Amalion
04-09-2009, 12:41 PM
I am searching for a Rainbowflag in that Style.
Is there anyone who can help?
RedKilla
04-17-2009, 09:03 PM
How about one for Trinidad Tobago??
RedKilla
04-18-2009, 02:45 PM
Nevermind..its there already..LOL
AKBAR
05-04-2009, 10:41 PM
<font color="Magenta">Thank you,</font>
zivester
05-19-2009, 06:52 PM
Is there any chance we can get these flags without the animation? It's kool, but on a site without any animations, its kind of distracting...
Love them though!
SweetHome
05-27-2009, 09:45 AM
Thanks, very nice..
mondiuk
06-11-2009, 10:04 AM
Downloaded thank's
Where doo i get this plugin to put flag in postbit?
you have to get a plugin that puts the flag in postbit and stuff like that i just wanted to share the gifs
Welshy2008
07-07-2009, 06:32 PM
Got the flags working.
Is there any way that I could add 'Alt' to them.
I mean when the mouse is hovered over the user's flag in his/her profile - The actual country name will show (and it would be really great if their username showed too)
Hover your mouse over the aviatar - That Is what I mean. ;)
Is this possible please ladies and gents?
Welshy2008
07-09-2009, 06:45 AM
Fantastic flags.
Would it be possible for someone to make the following flags into the same way for me please?
My Members are requestiong Sicily and Yorkshir flags and are shown in the attachment below, repectively...
Thank You.
Welshy2008
07-12-2009, 02:15 PM
Got the flags working.
Is there any way that I could add 'Alt' to them.
I mean when the mouse is hovered over the user's flag in his/her profile - The actual country name will show (and it would be really great if their username showed too)
Hover your mouse over the aviatar - That Is what I mean. ;)
Is this possible please ladies and gents?
Fantastic flags.
Would it be possible for someone to make the following flags into the same way for me please?
My Members are requestiong Sicily and Yorkshire flags and are shown in the attachment below, repectively...
Thank You.
Anyone, Please?
Welshy2008
07-18-2009, 11:26 AM
Got the flags working.
Is there any way that I could add 'Alt' to them.
I mean when the mouse is hovered over the user's flag in his/her profile - The actual country name will show (and it would be really great if their username showed too)
Hover your mouse over the aviatar - That Is what I mean. ;)
Is this possible please ladies and gents?
Fantastic flags.
Would it be possible for someone to make the following flags into the same way for me please?
My Members are requestiong Sicily and Yorkshir flags and are shown in the attachment below, repectively...
Thank You.
Is there anyone out there that could do the above mention, Please?
Manoel J?nior
07-18-2009, 04:49 PM
Thanks bro
mondiuk
07-19-2009, 07:44 AM
Not Working For Me, I Dont Know Why But I Felloved All The Instraction As They Say And The Flubs Dont Show Up..
Any One Who Donet Can You Axpalin How Is Done Please..
mondiuk
07-19-2009, 10:29 AM
Ok maked work now the thing i found is you need to edit the postbit tamplate not the legacy_postbit!!
KLUNZ
09-15-2009, 07:45 AM
beautiful . . . . Thanx
jaderollie
09-17-2009, 12:03 PM
How Do We Install These Please??
Welshy2008
09-26-2009, 06:18 PM
Fantastic flags.
Would it be possible for someone to make the following flags into the same way for me please?
My Members are requestiong Sicily and Yorkshir flags and are shown in the attachment below, repectively...
Thank You.
Still looking. :)
Welshy2008
09-26-2009, 06:21 PM
Attached are the flags - If someone would be kind enough. :)
jaderollie
09-27-2009, 04:44 PM
still wanting to know How Do We Install These Please??
RomainVL
10-08-2009, 01:42 AM
Easy to install - just follow what is said in the readme page.
But I wonder why it doesn't work for me. Is it because I run vB 3.8.4?
jaderollie
10-08-2009, 01:52 AM
Easy to install - just follow what is said in the readme page.
But I wonder why it doesn't work for me. Is it because I run vB 3.8.4?
i got mune installed ok
it could be that, did you have it working before?
RomainVL
10-08-2009, 02:01 AM
No, as it's the first time I use vBulletin. Maybe a version problem - I hope it's only that hahaha! :D
jaderollie
10-08-2009, 02:18 AM
i wouldnt think it is, but im insure :(
RomainVL
10-10-2009, 11:55 AM
Finally it works perfectly, I only had to put avatars/usernames/age/... to the left :
Admin CP > vBulletin Options > Style & Language Settings; and set the "Use Legacy (Vertical) Postbit Template" to Yes (and save)
And now you only have to pute the code at the correct place in the postbit_legacy, otherwise it will show up under the cadre.
So find this line :
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
and add the flag code after
<!-- / flags start -->
<div>
<if condition="$post[field11]"><img src="images/flags/$post[field11].GIF"></if>
</div>
<!-- / flags end -->
and you're done. ;)
linuxututs
10-10-2009, 11:27 PM
Finally it works perfectly, I only had to put avatars/usernames/age/... to the left :
Admin CP > vBulletin Options > Style & Language Settings; and set the "Use Legacy (Vertical) Postbit Template" to Yes (and save)
And now you only have to pute the code at the correct place in the postbit_legacy, otherwise it will show up under the cadre.
So find this line :
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
and add the flag code after
<!-- / flags start -->
<div>
<if condition="$post[field11]"><img src="images/flags/$post[field11].GIF"></if>
</div>
<!-- / flags end -->
and you're done. ;)
Thanks a MILLION !!
I found this elsewhere and could not get it to work. ( You solved it ! )
Here's what I did though.
FIND:
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
IN LINE AFTER :
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]
ADD :
<br><!-- / flags start -->
<div>
<if condition="$post[field7]"><img src="images/flags/$post[field7].GIF"></if>
</div>
<!-- / flags end --></br></div></if>
This way your location and flag are in the same box ( per-say )
Thanks again,
EDIT : If you do the above you have to remove the extra </if> and </div> tags at the end..............lol
Just find :
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
Replace with :
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]<br><!-- / flags start -->
<div>
<if condition="$post[field7]"><img src="images/flags/$post[field7].GIF"></if>
</div>
<!-- / flags end --></br></div></if>
What-ever, you get the idea.............
Hope this helps someone.
RomainVL
10-11-2009, 01:42 AM
You're welcome! :)
I'm a total newbie in vBulletin, even in computers, but after reading tons of threads about problems, I finally understood a little bit how it works.
And btw, which version do you use? As I'm on 3.8.4, so maybe this should be the solution for this version?
Super-six
01-02-2010, 04:20 PM
Can someone post a complete list of the flags that are included in this pack?
Thanks :erm:
Azonaco
02-03-2010, 07:15 PM
Anyone add this to vB 4 yet?
Super-six
02-03-2010, 07:55 PM
Can someone post a complete list of the flags that are included in this pack?
Thanks :erm:
How about the total number of flags included?
Azonaco
02-04-2010, 06:16 PM
Alright, thanks to Lynn (https://vborg.vbsupport.ru/showthread.php?t=234919), you can now add the following code to your VB4 postbit_legacy:
<vb:if condition="$post[fieldX]"><img src="images/misc/{vb:var post.fieldX}.GIF"></vb:if>
You must use the renamed country gifs posted back on page 3 (https://vborg.vbsupport.ru/showpost.php?p=1592434&postcount=41) instead of the original attached images.
cindy helmond
02-04-2010, 06:44 PM
Alright, thanks to Lynn (https://vborg.vbsupport.ru/showthread.php?t=234919), you can now add the following code to your VB4 postbit_legacy:
<vb:if condition="$post[fieldX]"><img src="images/misc/{vb:var post.fieldX}.GIF"></vb:if>
You must use the renamed country gifs posted back on page 3 (https://vborg.vbsupport.ru/showpost.php?p=1592434&postcount=41) instead of the original attached images.
thx
Pro-eSports.com
02-15-2010, 08:28 PM
Where can I find the flag mod?
Welshy2008
03-21-2010, 11:59 PM
Where can I find the flag mod?
For vB4.0.X?
If so, Here:
https://vborg.vbsupport.ru/showthread.php?t=229511
sheep92032
05-31-2010, 07:56 AM
There's the English flag with 'UK' on.
Stupid American ignorance.
Welshy2008
05-31-2010, 10:43 AM
There's the English flag with 'UK' on.
Stupid American ignorance.
That isn't very nice, is it? Cobro and his friend has worked hard to provide this free mod for everyone. Do you know the amount of work it takes to make an animated flag?
I don't like the initials within the flag either. But I wouldn't say what you did. I am greatful for what they have done and they look so much better than the other mods that are available.
Besides, England IS in the UK, as is Wales and Scotland. ;)
ALMUSA
06-08-2020, 11:54 AM
Can we get the new flag of Libya please? or at least an instruction on what software was used to design the flags and where were the flags obtained from so I can attempt to do it myself.
Thanks in advance
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.