vBulletin Mods

The Official vBulletin Modifications Site

ammoskumar 28 May 2008 20:55


Originally Posted by LightInClouds (Post 1534303)
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...

macc 28 May 2008 21:02


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



can some fix that and make wright code to put in postbit and postbit_legacy?

ammoskumar 28 May 2008 21:05

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 29 May 2008 01:43

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:
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
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:

Drop down menu is then set up as


but displays to users as


and when one is selected by the language key in the profile it translates to:




Sort of thinking out loud since I don't even know if this is where such a question should be asked...

sweetguy2004 29 May 2008 22:03

Sort of thinking out loud since I don't even know if this is where such a question should be asked...


iogames 30 May 2008 02:27

I want/need to know how the waving effect was made :)

rigodiaz 30 May 2008 02:48

Thank you man!

stardotstar 30 May 2008 04:27

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
you can very quickly get:
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 30 May 2008 18:15

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 30 May 2008 19:58

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 31 May 2008 14:47

Thank You Very Much!

CHEROKYE 31 May 2008 15:11

Is fantastic, Thanks

nokidding 31 May 2008 20:18

can anyone upload a new file with all the flags renamed?

jewropa 31 May 2008 21:14

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 31 May 2008 21:38

1 Attachment(s)
Here: The first Folder

All times are GMT. The time now is 13:47.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.