Advertisement:
Advertise With Us!

Author Topic: Background Colours for different topics.  (Read 1523 times)

Offline jennyc

  • Semi-Newbie
  • *
  • Posts: 31
Background Colours for different topics.
« on: July 05, 2012, 06:55:48 AM »
Sorry to start a topic before looking but I dont even know what to look for.

Our site is there for people to offer help to anyone who asks it. Recently we've had a few people offering fostering and some offering transport however we dont want to have loads of different subsections so what i'm looking for is a way of making the background colours different depending whats offered.

for example: http://not.dnsalias.org/index.php/board,173.0.html

It's a white background with black writing for them all, is there a way of customising which topic has which background colour? Does that make sense at all? lol

Offline ziycon

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,758
  • Gender: Male
Re: Background Colours for different topics.
« Reply #1 on: July 27, 2012, 11:10:55 AM »
This would require a change to the way topics are output, you would need to apply a class for each specific topic to be able to change its colour.

I'm going to move this into the Mod Requests board as I think you'll get a better response there.
Please don't PM me for support unless asked as they'll be ignored.
If you've removed the SMF copyright you won't get support.

ign.ie | SQLFace | APRAI | war.ie

Offline jennyc

  • Semi-Newbie
  • *
  • Posts: 31
Re: Background Colours for different topics.
« Reply #2 on: August 30, 2012, 05:52:34 AM »
Thank you very much for this

Offline emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,912
  • Gender: Male
  • Because Orange is Orange
Re: Background Colours for different topics.
« Reply #3 on: August 31, 2012, 06:15:35 PM »
Have you considered prefixes?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline V@por

  • Jr. Member
  • **
  • Posts: 197
  • Gender: Male
  • |Co| founder
    • CLAN 1 - PC GAMING CLAN
Re: Background Colours for different topics.
« Reply #4 on: September 04, 2012, 04:06:10 AM »
Prefixs would be ideal, though we arent sure how many there would be. Could end up wih a boatload lol.

Great idea though

Offline jennyc

  • Semi-Newbie
  • *
  • Posts: 31
Re: Background Colours for different topics.
« Reply #5 on: September 10, 2012, 02:57:20 AM »
Sorry what's a prefix? How do I work it?

Offline emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,912
  • Gender: Male
  • Because Orange is Orange
Re: Background Colours for different topics.
« Reply #6 on: September 10, 2012, 04:10:04 AM »
This url I posted in my previous message:
http://custom.simplemachines.org/mods/index.php?mod=1752

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline jennyc

  • Semi-Newbie
  • *
  • Posts: 31
Re: Background Colours for different topics.
« Reply #7 on: September 10, 2012, 07:37:45 AM »
Thank you

Offline jennyc

  • Semi-Newbie
  • *
  • Posts: 31
Re: Background Colours for different topics.
« Reply #8 on: September 10, 2012, 08:13:14 AM »
I've just tried this and it says there is an error, I've been and looked through the thread talking about the mod and it seems you have to change coding. I have NO idea how to do this,
Is there something else that doesn't require me to do something like that?

Thanks guys

Offline emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,912
  • Gender: Male
  • Because Orange is Orange
Re: Background Colours for different topics.
« Reply #9 on: September 10, 2012, 08:39:58 AM »
What's the error exactly?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.