YAFLogo

Dr-Hack
  • Dr-Hack
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
13 years ago
Hello,

Just noticed this Image of Country Flag appearing in user profiles now the issue.

A User Selects his Country inage but that doesnt load in the page:

viewing the image it is linked to

DesktopModules/YetAnotherForumDotNet/resources/images/flags/N/A.png

while the directory is correct:

/DesktopModules/YetAnotherForumDotNet/resources/images/flags

the above particular user selected Nairobi , and the Image is "na.png" .. (UserPostedImage

I tried administering it and selected that above mentioned cty my self but stays the same ..

?

Sponsor
JP
  • JP
  • 100% (Exalted)
  • YAF Leader
13 years ago
I'm not sure if I am correct here, but it seems like some routines fetch the flags from the /resources/flags and some try to locate the theme folder /flags images... So I have kept both in sync with eachother....

I was a bit confused after installing 1.9.6 RC1, but it seems like I have got it working even if I really don't know how... 😄


He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Old Chinese Proverb]
Dr-Hack
  • Dr-Hack
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
13 years ago

I'm not sure if I am correct here, but it seems like some routines fetch the flags from the /resources/flags and some try to locate the theme folder /flags images... So I have kept both in sync with eachother....

I was a bit confused after installing 1.9.6 RC1, but it seems like I have got it working even if I really don't know how... 😄

Originally Posted by: JP 

didnt help:(

placed it in the Theme folder but as you see the image reference shown on my previous post . i mean the path is simply invalid ..

tried it placing "/DesktopModules/YetAnotherForumDotNet/themes/RedGrey/flags"

but "DesktopModules/YetAnotherForumDotNet/resources/images/flags/N/A.png" this "N/A.png" why this :s

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
13 years ago

I'm not sure if I am correct here, but it seems like some routines fetch the flags from the /resources/flags and some try to locate the theme folder /flags images... So I have kept both in sync with eachother....

I was a bit confused after installing 1.9.6 RC1, but it seems like I have got it working even if I really don't know how... 😄

Originally Posted by: Dr-Hack 

didnt help:(

placed it in the Theme folder but as you see the image reference shown on my previous post . i mean the path is simply invalid ..

tried it placing "/DesktopModules/YetAnotherForumDotNet/themes/RedGrey/flags"nn

but "DesktopModules/YetAnotherForumDotNet/resources/images/flags/N/A.png" this "N/A.png" why this :s

Originally Posted by: JP 

I can not reproduce this not even on your site

the above particular user selected Nairobi , and the Image is "na.png

the flag for na is Namibia, Nairobi isnt in the list because its not a country, thats maybe the reason for the n/a

UPDATE: It looks like the n/a value comes from dnn there are a few more items in the list then in the yaf country list, a little check if the image flag exists and the problem should be solved.

Dr-Hack
  • Dr-Hack
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
13 years ago
saw another with the same missing flag image .. but the image is linked to the correct flag folder BUT the file name was not correct ..

the image links to /DesktopModules/YetAnotherForumDotNet/resources/images/flags/India.png but i dont have india.png i have in.png