FLAG problem

Do you want to test the possibilities of this forum? Want to test out your new signature? You can do it here.

Moderators: Fons, avij, Crazy Bob, Phaseolus

Post Reply
User avatar
MARIUS-FFB
Euro-Regular in Training
Euro-Regular in Training
Posts: 139
Joined: Sun Jun 29, 2014 8:32 pm
Location: Fürstenfeldbruck, Germany

FLAG problem

Post by MARIUS-FFB »

The following examples show the problem with the display of flag symbols in Forum and/or Eurobilltracker Website

Austria flag
:flag-at: (works as "smiley")
https://en.eurobilltracker.com/img/flags/Austria.gif (works NOT with the webaddress of Austria flag)

Finland flag
:flag-fi: (works as "smiley")
https://en.eurobilltracker.com/img/flags/Finland.gif (works NOT with the webaddress of Finland flag)

San Marino flag
:flag-sm: (works as "smiley")
https://en.eurobilltracker.com/img/flags/San Marino.gif (works NOT with the webaddress of San Marino flag)

I want to display an USA- flag on my EBT- profile but there are no "US-flag smileys".
The display of the flag does NOT work with the webaddress of the US-flag.
If I directly insert this flagsymbol address into the address field of the browser, the flag will be displayed.
But if I use this address in the Forum and/or Eurobilltracker Website, the flag will not appear.
See:
https://en.eurobilltracker.com/img/flag ... States.gif
See also my EBT profile page, first line of the signature:
https://en.eurobilltracker.com/profile/?user=128430
User avatar
Akai
Euro-Master in Training
Euro-Master in Training
Posts: 993
Joined: Fri Dec 24, 2010 6:31 pm
Location: Jaén, Andalucía, España (Spain)

Re: FLAG problem

Post by Akai »

Now is possible to use emojis 🇺🇸
User avatar
MARIUS-FFB
Euro-Regular in Training
Euro-Regular in Training
Posts: 139
Joined: Sun Jun 29, 2014 8:32 pm
Location: Fürstenfeldbruck, Germany

Re: FLAG problem

Post by MARIUS-FFB »

NO, I don't want to use external sources for the flag.
And NO, "your" US flag has rounded corners - this is not the correct display of the flag.
The EBT- webpage already has all the flags of the world -> see
https://en.eurobilltracker.com/rankings/?b=countries

Why it is not possible to just take one of these?

The code is quite simple. When clicking on the country flag symbol, a link should open in a new tab of the webbrowser.

Code: Select all

<a href="https://en.eurobilltracker.com/notes/?id=96782911" target="blank"> :flag-es: </a>
In this case the flag will be displayed correctly because it is a "Smiley". But if I replace the "Flag Smiley" with the webaddress of the same flag

Code: Select all

<a href="https://en.eurobilltracker.com/notes/?id=96782911" target="blank"><img src="https://en.eurobilltracker.com/img/flags/Spain.gif"></a>
the flag will not be displayed, only <img>.


For testing I made a simple webpage and surprisingly the flag will be displayed with working link:

Code: Select all

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Testing of flag symbols</title>
  </head>
  <body>
   <a href="https://en.eurobilltracker.com/notes/?id=238903890" target="blank">
   <img src="https://en.eurobilltracker.com/img/flags/United States.gif">
   </a>
  </body>
</html>
:arrow: Visit my EBT - Profile

:arrow: My statistics (thank you marty44)


Jeder Euro- Geldschein, den ich registriere, möchte auch wiedergefunden werden!
Every Euronote, which I record, want to be retrieved!


_____________________________________________________________________
User avatar
avij
Forum Moderator
Forum Moderator
Posts: 6131
Joined: Mon May 27, 2002 10:45 pm
Location: Helsinki Finland
Contact:

Re: FLAG problem

Post by avij »

The profile supports a limited set of HTML elements. <img> is intentionally not supported, because an <img> element pointing to some other website than EBT could be used for malicious purposes. There is currently no mechanism to allow <img> elements only if the src points to EBT, and I would not hold my breath waiting for that kind of mechanism to emerge.
Money makes the world go round. We track how the money goes round the world.
User avatar
MARIUS-FFB
Euro-Regular in Training
Euro-Regular in Training
Posts: 139
Joined: Sun Jun 29, 2014 8:32 pm
Location: Fürstenfeldbruck, Germany

Re: FLAG problem

Post by MARIUS-FFB »

The profile supports a limited set of HTML elements. <img> is intentionally not supported,
Hello avij,

yes, I already assumed the limitation of HTML coding.
That's why I wanted to point out:
The solution is already displayed on the right side of this page (PN writing mode) see ---->
SMILEYS
These smileys work very good on the profile.
But there's only a little problem: These smileys are limited.

1,5 years before, I was in need of a Brazil- flag. There was no Brazil- flag with the smileys.
I wrote this problem on the support page and some days later someone created a "Brazil Smiley" for me.
The Brazil- flag will be displayed on my profile now with the code :flag-br:
and I am quite happy about this. I suppose, our friend klapotec was the artist for the coding.
Now I have a similar problem with the US-flag. https://en.eurobilltracker.com/notes/?id=238903890
My request: Please extend the smilies chart (right side) with more countries flags!

The short code for the various countries is specified with the ISO 3166-2 code list:
https://en.wikipedia.org/wiki/ISO_3166-2

So the smiley for the US- flag should be :flag-us:

Greetings - Marius
:arrow: Visit my EBT - Profile

:arrow: My statistics (thank you marty44)


Jeder Euro- Geldschein, den ich registriere, möchte auch wiedergefunden werden!
Every Euronote, which I record, want to be retrieved!


_____________________________________________________________________
Post Reply

Return to “Test-Forum”