With a site this big they definately need someone doing better professional graphics. I'm not a whiner but the yellow in the banner looks extremely tacky.
With a site this big they definately need someone doing better professional graphics. I'm not a whiner but the yellow in the banner looks extremely tacky.
// ==UserScript==
// @name ECF Banner Fix
// @namespace http://www.e-cigarette-forum.com/
// @description Replace new logo with old one
// @include http://*.e-cigarette-forum.com/*
// ==/UserScript==
var theImage, altText;
theImage = document.getElementById('header');
if (theImage) {
altText = document.createTextNode(theImage.alt);
theImage.parentNode.replaceChild(altText, theImage);
}
// ==UserScript==
// @name ECF Banner Fix pt2
// @namespace http://www.e-cigarette-forum.com/
// @description PT2
// @include http://*.e-cigarette-forum.com/*
// ==/UserScript==
var logo = document.createElement("div");
logo.innerHTML = ' ' +
'<div><a name="top" href="http://www.e-cigarette-forum.com/forum/forum.php" class="logo-image"> ' +
'<img src="http://i327.photobucket.com/albums/k466/johnreagannumber1/oldbanner.jpg" alt="E-Cigarette Forum" /> ' +
'</a></div><br><br><br><br><br><br><br>';
document.body.insertBefore(logo, document.body.firstChild);
It's nowhere near perfect, but i've got it done with greasemonkey, at least as done as it's getting tonight. I'll work on it some more tomorrow and fix the links and stuff. Tell me what ya think.
ECF Banner Fix Pt1
ECF Banner Fix Pt2Code:// ==UserScript== // @name ECF Banner Fix // @namespace http://www.e-cigarette-forum.com/ // @description Replace new logo with old one // @include http://*.e-cigarette-forum.com/* // ==/UserScript== var theImage, altText; theImage = document.getElementById('header'); if (theImage) { altText = document.createTextNode(theImage.alt); theImage.parentNode.replaceChild(altText, theImage); }
Code:// ==UserScript== // @name ECF Banner Fix pt2 // @namespace http://www.e-cigarette-forum.com/ // @description PT2 // @include http://*.e-cigarette-forum.com/* // ==/UserScript== var logo = document.createElement("div"); logo.innerHTML = ' ' + '<div><a name="top" href="http://www.e-cigarette-forum.com/forum/forum.php" class="logo-image"> ' + '<img src="http://i327.photobucket.com/albums/k466/johnreagannumber1/oldbanner.jpg" alt="E-Cigarette Forum" /> ' + '</a></div><br><br><br><br><br><br><br>'; document.body.insertBefore(logo, document.body.firstChild);
Tomorrow i'll fix all the little links and hopefully have it all in one script, but i have to be up for work in a few hours and i'm tiredEnjoy
Here's a sneak peek of the new banner. Please note it's still a work in progress, hence the blurry quality on a small part of it. Hope you like it!
![]()
I just slapped up that new banner because I was tired of looking at the old one, and to generate some feedback.
Seems to have worked.
Send me your new banners: 940px x 128px, jpg, <50kB.
Otherwise we will have to go with Angus' one...
![]()
How interesting ... this is what we're getting:
![]()
Can't be a cache thing can it? So weird you're still getting the old banner!
I am kinda liking the Angus one.
See Roly? It's a hit. We should go with it.
How about the Spaky one of Angus and Elendil, in front of ECF Headquarters ??????![]()
// ==UserScript==
// @name ECF BANNER
// @namespace http://www.e-cigarette-forum.com/
// @include http://www.e-cigarette-forum.com/*
// ==/UserScript==
var images = document.getElementsByTagName ("img");
var x=0;
while(x<images.length)
{
if(images[x].src == "http://www.e-cigarette-forum.com/forum/logo.jpg")
{
images[x].src = "http://i327.photobucket.com/albums/k466/johnreagannumber1/oldbanner.jpg";
}
x=x+1;
}