DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Forum Themes  (Read 16,482 times)

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • Participated in NANY Challenge Seven Times
    • Plugin Coding Medal
Forum Themes
« on: January 18, 2011, 07:55 AM »
On the SMF feature list it says SMF supports (per user) themes. Would that be hard to implement on donationcoder? I wouldn't mind some change once in a while ;)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Forum Themes
« Reply #1 on: January 18, 2011, 09:37 AM »
not feasible since ive super customized the a dc theme and everything would break if users switched away from it (donationcredits, etc).

now theoretically i could post the dc theme and let others customize that to make an official new dc theme alternative.. BUT.. that would make 2 themes that need updating every time something changes, which i'm not fond of..

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • Participated in NANY Challenge Seven Times
    • Plugin Coding Medal
Re: Forum Themes
« Reply #2 on: January 18, 2011, 09:39 AM »
Ok. Thanks for letting me know.

Winkie

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 94
    • Participated in NANY Challenge Once
Re: Forum Themes
« Reply #3 on: January 18, 2011, 12:11 PM »
On the SMF feature list it says SMF supports (per user) themes. Would that be hard to implement on donationcoder?

Actually I was wondering the same lately...

I wouldn't mind some change once in a while ;)

How about changing the appearance with Userstyles?
There are a few styles for SMF over there.

I personally made one userstyle (more of a quick hack actually) because I didn't like the white background on the forum.
I can post it if I'm at home if you're interested...

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • Participated in NANY Challenge Seven Times
    • Plugin Coding Medal
Re: Forum Themes
« Reply #4 on: January 18, 2011, 01:22 PM »
Never heard of Userstyles before. But yeah, why not post yours. I'd be glad to check it out :Thmbsup:

Winkie

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 94
    • Participated in NANY Challenge Once
Re: Forum Themes
« Reply #5 on: January 18, 2011, 06:48 PM »
OK here we go - in 'Front page' yellow!
Screenies first:
Screenshot DC-Userstyle 01.png


Screenshot DC-Userstyle 02.png

Userstyle:
Code: (css)
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("www.donationcoder.com") {

/* Outer background - works on complete DC site (without subdomains) */
body, #topnavbar, .forumbodytop { 
  background-color: #DFEDF5 !important; 
  background-image: none !important;
}

/* Content background */
.windowbg, .post, .windowbgdc, .windowbgdc2b, .windowbg2,
.windowbgdc2, .windowbgdc5, td.smalltext {
  background-color: #FCFEC6 !important; 
}

/* Quotes, Recent posts */
.quote, .orangemed, .orangesmall {
  background-color: #FAFAFA !important; 
  border-color: #828181 !important;
}

}
« Last Edit: January 18, 2011, 08:47 PM by Winkie »

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Forum Themes
« Reply #6 on: January 19, 2011, 12:16 AM »
Thanks Winkie!

At last, DC for troglodytes!

2011-01-19_11-13-45.jpg
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • Participated in NANY Challenge Seven Times
    • Plugin Coding Medal
Re: Forum Themes
« Reply #7 on: January 19, 2011, 08:13 AM »
Very cool. Thank you. How can I change the link colour on the outer part? I.e. the Links right at the top and the board tree?

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Forum Themes
« Reply #8 on: January 19, 2011, 10:19 AM »
This covers the links, change the #colours to suit.

Code: (css)
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("www.donationcoder.com") {

/* Outer background - works on complete DC site (without subdomains) */
body, #topnavbar, .forumbodytop { 
  background-color: #444444 !important; 
  background-image: none !important;
}

/* Content background */
.windowbg, .post, .windowbgdc, .windowbgdc2b, .windowbg2,
.windowbgdc2, .windowbgdc5, td.smalltext {
  background-color: #666666 !important; 
}

/* Quotes, Recent posts */
.quote, .orangemed, .orangesmall {
  background-color: #aaaaaa !important; 
  border-color: #828181 !important;
}

.nav:visited {
color:#ff0000 !important;
}

.nav:link {
color:#ffff00 !important;
text-decoration:none;
}

a:link {
color:#ffff00 !important;}

a:visited {
color:#990000 !important;}

}
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903
« Last Edit: January 19, 2011, 10:50 AM by 4wd »

Winkie

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 94
    • Participated in NANY Challenge Once
Re: Forum Themes
« Reply #9 on: January 19, 2011, 08:40 PM »
How can I change the link colour on the outer part? I.e. the Links right at the top and the board tree?

My version with different link colors, only the top navigation and forum tree (which is ugly by itself IMHO, so I changed that too  :D)
[attach]

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Forum Themes
« Reply #10 on: January 19, 2011, 11:59 PM »
You haven't got something for the CODE boxes have you?

They're still glaringly white - like a smack in the face when you're sitting up in the night :P
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

superboyac

  • Is your software in my list?
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
Re: Forum Themes
« Reply #11 on: January 20, 2011, 12:07 AM »
not feasible since ive super customized the a dc theme and everything would break if users switched away from it (donationcredits, etc).
Man, whatever you've done is the best I've ever seen.  I swear to you, I love the people here, but I think the forum design is 80% of the reason why I have stuck around for so long.  I often point people towards this forum when I complain about the design on other forums.  Especially the searching.  I mention that specifically because other forums will get super snarky about "did you search before you posted?!", and my response is like, "If I search it's going to take me forever to find anything, and I'm not going to find it, and I'm just going to come back and ask you the same thing.  Make your search easier to use and then maybe people will search first."

On this one forum, they had a pretty good search, but it got bogged down when there were a lot of users, so they replaced it with a single field search that returns you the awful google results.  Basically, it just adds a prefix to the search to limit google results to the forum.  Horrible change.  it made the search function pretty much useless, in my opinion.  But it's there and it works...I suppose.  Depends what you mean by it "works".  If it means you can type something and results are shown, yes, it works.  If you mean it facilitates finding information in a helpful manner, no, it does not work.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • Participated in NANY Challenge Seven Times
    • Plugin Coding Medal
Re: Forum Themes
« Reply #12 on: January 20, 2011, 08:10 AM »
Thanks Winkie. Bloody excellent! Now I can start playing around with colours :D

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Forum Themes
« Reply #13 on: January 20, 2011, 08:29 AM »
DC member Wordzilla is to be thanked for the awesome zillarank search that he custom coded for us -- it's a big step up from the built-in smf search.  and of course we have each other to thank for donating enough for us to run on a powerful server which is capable of performing fast full text searches on a big database.

Winkie

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 94
    • Participated in NANY Challenge Once
Re: Forum Themes
« Reply #14 on: January 20, 2011, 12:12 PM »
You haven't got something for the CODE boxes have you?

Insert above the last curly bracket:
Code: (css)
/* Code (and other preformatted text?) */
pre {
  background-color: cornsilk !important;
}

Untested, meaning: it does work for code boxes, but it may affect other areas too.

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Forum Themes
« Reply #15 on: January 20, 2011, 01:01 PM »
Nice, thanks again Winkie!  :Thmbsup:
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

superboyac

  • Is your software in my list?
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
Re: Forum Themes
« Reply #16 on: January 20, 2011, 03:16 PM »
DC member Wordzilla is to be thanked for the awesome zillarank search that he custom coded for us -- it's a big step up from the built-in smf search.  and of course we have each other to thank for donating enough for us to run on a powerful server which is capable of performing fast full text searches on a big database.
Thanks to everyone!

Original address: https://www.donationcoder.com/forum/index.php?topic=25319.0