• All Purchases made this month instantly go into the draw to win a USD $ 100.00 credit to your HoP account.
 

Forums > Social Discussion > Firefox script to make the site a bit less white :)

Login/Join to Participate

spiralx


spiralx

veteran
Location: London, UK

Total posts: 1376
Posted:Ok I generally like the new site but it's a little too white in my opinion. So if you want something different and are running Firefox then here's how you can change it to something like this...


Non-Https Image Link


Changed -
1) Tables have a very light grey background - new posts/threads with new posts still show up as a slighly darker grey.
2) Font is Verdana by default instead of Arial.
3) The area you enter your comment in is a bit bigger and the font is bigger.
4) Continue button now says Post reply instead smile

If you want this then you need to get the Greasemonkey extension for Firefox which you can install here

http://greasemonkey.mozdev.org/
br>
Once you've got that and restarted Firefox then go to

http://www.badongo.com/file/281763
br>
and wait until you get to a page with a load of code on it (should take 20 seconds or so) and there should be a bar at the top of the page saying

"Greetings fellow traveller. This is a Greasemonkey user script. Click install to start using it"

Click install, go back to HoP and it should be working!

Let me know any problems, thoughts etc.


"Moo," said the happy cow.

Delete Topic

Sym
BRONZE Member since Sep 2004

Sym

Geek-enviro-hippy priest
Location: Diss, Norfolk

Total posts: 1858
Posted:ubblol ubblol ubblol ubblol

I've just been doing the same thing this morning! I'll finish mine off and post it up as well (with screen shot)

It's nice being a HoP geek hug


There's too many home fires burning and not enough trees

Delete

spiralx


spiralx

veteran
Location: London, UK

Total posts: 1376
Posted:ubblol indeed biggrin

The changes finally gave me an excuse to have a play with Greasemonkey, and sort out a few things which've been annoying me here. Need to sort out quoting still though smile


"Moo," said the happy cow.

Delete

NOn


activist for HoPper liberation.
Location: ffidrac

Total posts: 1643
Posted:so basically, you've changed it back how it was pretty much biggrin

what i don't get, is that a screenshot of how yours now looks? because mine is not that white at all.... in fact it's grey, and i haven't done a thing to it... confused


Aurinko freedom agreement reached 10th Sept 2006

if it makes no sense that's because it's NOn-sense.

Delete

spiralx


spiralx

veteran
Location: London, UK

Total posts: 1376
Posted:That's a screenshot of how it looks when using my script - it's grey again, but a lot less so than before which was a bit gloomy smile



You say you're still seeing it as it was before? Try holding the Control key down and pressing F5; you might not have got the new version of the site yet!

EDITED_BY: spiralx (1142280450)


"Moo," said the happy cow.

Delete

NOn


activist for HoPper liberation.
Location: ffidrac

Total posts: 1643
Posted:hmm.. maybe i don't want it the white version then.... smile

all the graphics have changed and the links are now white, but the forum is most definately grey....


Aurinko freedom agreement reached 10th Sept 2006

if it makes no sense that's because it's NOn-sense.

Delete

spiralx


spiralx

veteran
Location: London, UK

Total posts: 1376
Posted:Then you've got part of it, you'll probably get the rest if you refresh a bit more. There's a sticky thread at the top of this section about it anyway smile

"Moo," said the happy cow.

Delete

NOn


activist for HoPper liberation.
Location: ffidrac

Total posts: 1643
Posted:yeah i noticed, and then i got intrigued so i refreshed it, and it did go all white, so i changed it to blue....:)

so this is what CSS does huh? what a coincidence, i've been learning all about that this week....


Aurinko freedom agreement reached 10th Sept 2006

if it makes no sense that's because it's NOn-sense.

Delete

spiralx


spiralx

veteran
Location: London, UK

Total posts: 1376
Posted:Yeah, my script pretty much just overrides the CSS styles for the page and tweaks a couple of other bits.

"Moo," said the happy cow.

Delete

Sym
BRONZE Member since Sep 2004

Sym

Geek-enviro-hippy priest
Location: Diss, Norfolk

Total posts: 1858
Posted:For the record, ctrl+F5 will do a clean refresh - it'll clear up all the cache problems

There's too many home fires burning and not enough trees

Delete

pricklyleaf
SILVER Member since Mar 2005

pricklyleaf

with added berries
Location: Manchester

Total posts: 1365
Posted:mmm... you know, you could have saved yourselves a lot of bother, and go into my home and change the forum colours that way, seen as the one you made is pretty much exactly the same as it used to be.

But then I guess that would have been no fun... wink


Live like there is no tomorrow,
dance like nobody is watching
and hula hoop like wiggling will save the world.

What lies behind us and what lies before us are tiny matters compared to what lies within us.

Ralph Waldo Emerson

Delete

spiralx


spiralx

veteran
Location: London, UK

Total posts: 1376
Posted:Exactly wink Besides, I couldn't've changed things like the size of the reply box that way. The latest update is a lot better so I've changed my script so it just does that now smile

"Moo," said the happy cow.

Delete

Sym
BRONZE Member since Sep 2004

Sym

Geek-enviro-hippy priest
Location: Diss, Norfolk

Total posts: 1858
Posted:erm, you can change the reply box size in the options too....but, you're right, a) no fun and b) you can do whatever you want with the site now biggrin

There's too many home fires burning and not enough trees

Delete

coleman
SILVER Member since Aug 2002

coleman

big and good and broken
Location: lunn dunn, yoo kay

Total posts: 7330
Posted:i used to use the 'small' profile which used white as the main colour and also used smaller fonts with verdana as the default.

since the site re-hash, that option has disappeared and the 'alternate' option that seems to have replaced it is like a mix of that and the new default version frown

this looks like it might sort me out - cheers guys smile


cole. x


"i see you at 'dis cafe.
i come to 'dis cafe quite a lot myself.
they do porridge."
- tim westwood

Delete

Sym
BRONZE Member since Sep 2004

Sym

Geek-enviro-hippy priest
Location: Diss, Norfolk

Total posts: 1858
Posted:mmm, I see a market for custom designs here!

Any requests?


There's too many home fires burning and not enough trees

Delete

spiralx


spiralx

veteran
Location: London, UK

Total posts: 1376
Posted:The current script is



 Written by: me



// Home of Poi modifier script

// version 0.02!

// 2006-03-13

// Copyright (c) 2006 James Skinner

// Released under the GPL license

// http://www.gnu.org/copyleft/gpl.html
br>
//

// ==UserScript==

// @name HoP Modify 0.02

// @description Changes HoP pages a bit

// @include http://www.homeofpoi.com/ubbthreads/*
br>
// ==/UserScript==



function addGlobalStyle(css)

{

var head, style;

head = document.getElementsByTagName('head')[0];

if (!head) { return; }

style = document.createElement('style');

style.type = 'text/css';

style.innerHTML = css;

head.appendChild(style);

}



addGlobalStyle(".newdarktable { color: #000000; background-color: #ececea; font-weight: bold; !important }");

addGlobalStyle(".subjecttable { color: #000000; background-color: #eeeeee; color: #000000; !important }");

addGlobalStyle(".darktable { background-color: #ffffff; color: #000000; !important }");



var bodyArea = document.getElementsByName("Body")[0];

bodyArea.rows = 16;

bodyArea.cols = 80;



var contButton = document.getElementsByName("textcont")[0];

contButton.value = "Post reply";





Just save it as something like hop.user.js, open it in the browser and install. Gets rid of the annoying alternating colours in the thread list pages.

EDITED_BY: spiralx (1142436986)


"Moo," said the happy cow.

Delete