![]() |
Thank you, very nice flags! :)
|
Quote:
plz help me on this.. |
Quote:
|
will only work if you are using postbit legacy, try the same in the postbit template
|
k ill do right now...
|
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 |
All times are GMT. The time now is 09:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|