![]() |
Special characters and filenames
I need to make a customized option with a special character to point to a filename which cannot be have that special character. This is for the Country Flag hack. I asked the question a few months ago, but the coder has not logged in since:
https://vborg.vbsupport.ru/showpost....&postcount=175 In the User Profile Fields, the custom Profile Field "Country" has a list of options which are the country names. When a "country name" is chosen by a user from the dropdown menu in the user's Edit Options, this links to a "filename" in a directory which is a gif image with the country flag. This is alright except with "country names" which have a special character, like Espa?a, because the "filename" cannot have that special character and it doesn't recognize it. How can I go around this? I.e. make option "Espa?a" link to file "Espana.gif". Surely there must be a way to do this? |
Anyone? :(
|
*bump*
|
Code:
<img src="images/flags/<if condition="$userinfo[fieldX]=='Espa?a'">Espana<else />$userinfo[fieldX]</if>.gif" title="$userinfo[fieldX]" align="center"> |
All times are GMT. The time now is 10:02 PM. |
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:
|