Broken Banner Image Ippensheir

For Issues You Are Having with the Forums

Moderators: Moderator, Associate Dev, Quality Control, DM

Post Reply
Ewe
Posts: 154
Joined: Wed Feb 28, 2018 2:01 pm

Broken Banner Image Ippensheir

Unread post by Ewe » Wed May 08, 2019 5:19 pm

There's some code that adds images to the banner. The one for the twelve-day festival of Gond, Ippensheir is putting a broken image on the forum header.

Baldurs/theme/images/banner-ippensheir.jpg

is missing. Probably same for the midsummer one.
function banners( date ){
dates = {
"Greengrass":"ippensheir",
"1 Mirtul":"ippensheir",
"2 Mirtul":"ippensheir",
"3 Mirtul":"ippensheir",
"4 Mirtul":"ippensheir",
"5 Mirtul":"ippensheir",
"6 Mirtul":"ippensheir",
"7 Mirtul":"ippensheir",
"8 Mirtul":"ippensheir",
"9 Mirtul":"ippensheir",
"10 Mirtul":"ippensheir",
"11 Mirtul":"ippensheir",
"12 Mirtul":"ippensheir",
"30 Flamerule":"midsummer",
"Midsummer":"midsummer",
"Shieldmeet":"midsummer",
"1 Eleasis":"midsummer",
};

if( dates[ date ] ){
return dates[ date ];
}else{
return false;
}
}


function setBanner() {
if( banner = banners( eval( ( now.isLeapYear() ? 'frDatesLY':'frDates' ) + '[' + now.getDOY() + ']' ) ) ){
document.getElementById('render').innerHTML = '<img src="/styles/Baldurs/theme/images/banner-' + banner + '.jpg" alt="' + banner + '" />';
}
}

Maecius ordered it back in 1-May-2018: viewtopic.php?f=415&t=57815&p=819323&hi ... ir#p819323

User avatar
Zanniej
Forum Developer, Lead Moderator
Posts: 1586
Joined: Sat Jan 11, 2014 11:28 am
Location: The dark parts of the forum

Re: Broken Banner Image Ippensheir

Unread post by Zanniej » Thu May 09, 2019 1:51 am

Thanks, I'm aware. I fixed the code a while back, but have to find the banners in my backup. Will do so soon!
"May the forums be ever in your favor."
"Always forgive your enemies; nothing annoys them so much"
- Oscar Wilde
Now you see me ... now you don't

Post Reply