vBulletin ModsThe Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=180741 |
Quote:
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? |
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... :) |
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... |
Sort of thinking out loud since I don't even know if this is where such a question should be asked...
LOL |
I want/need to know how the waving effect was made :)
|
Thank you man!
|
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/Ital...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! |
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 |
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? |
Thank You Very Much!
|
Is fantastic, Thanks
|
can anyone upload a new file with all the flags renamed?
thanks |
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 |
1 Attachment(s)
Here: The first Folder
|
All times are GMT. The time now is 06:47. |
Powered by vBulletin® Version 3.8.14
Copyright © 2021, 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.