Advertisement:

Author Topic: Better group formatting options  (Read 4864 times)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,980
    • StoryBB/StoryBB on GitHub
Better group formatting options
« on: September 03, 2013, 07:13:03 PM »
Two things.

Firstly, it's always, always bugged me that the online list uses group's colours but the main listing doesn't. It should either be one or the other, not a half-way house.

If we accept the notion of having the group colours everywhere - and it's usually not as bad it as it sounds like it might be! - we start to wonder about other things like bold and italics.

The usual argument still stands - the online list already uses bold and italics, but that's no biggie, reply them with icons to indicate the state rather than using formatting. Then you're free to add whatever formatting you like. It's not a huge job but it's irritating enough.

It might look like so.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Irisado

  • Una Luz Brillante en la Oscuridad
  • Doc Coordinator
  • SMF Super Hero
  • *
  • Posts: 10,357
  • Soñando debajo del arco iris
Re: Better group formatting options
« Reply #1 on: September 04, 2013, 10:24:08 AM »
I like colours, so I'd have no issue with adding them more widely.  The fact that I like it probably means that Emanuele will hate it though, just to give you advanced warning :D!

That said, I don't think that it's a major problem to leave things as they are.
Soñando con una playa donde brilla el sol, un arco iris ilumina el cielo, y el mar espejea iridescentemente

kat

  • Guest
Re: Better group formatting options
« Reply #2 on: September 04, 2013, 01:31:32 PM »
It's something that's always made me scratch my head, too.

It kinda shows a lack of consistency.

But... I have a small caveat, which may, or may not, be bollox.

If the colours are set, like that, could there be the possibility that such colours could render some names invisible, when using some custom themes?

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: Better group formatting options
« Reply #3 on: September 04, 2013, 04:55:04 PM »
Colors are set anyway, just in the info-center online section, so themes are already a bit of a problem there.

What Arantor is meaning, is use the colors everywhere, not just there.

Also, his ideas on extra formatting are great. :)

kat

  • Guest
Re: Better group formatting options
« Reply #4 on: September 04, 2013, 04:57:51 PM »
Yeah, I realised with the "Everywhere" thing. I guess custom themes would need to take such things into consideration.

Mine you, changing the group colours isn't, exactly, quantum theory, is it? ;)

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: Better group formatting options
« Reply #5 on: September 04, 2013, 05:04:49 PM »
Mine you, changing the group colours isn't, exactly, quantum theory, is it? ;)

It can be with some of the themes :P

kat

  • Guest
Re: Better group formatting options
« Reply #6 on: September 04, 2013, 05:18:38 PM »
True enough. :)

Offline Antechinus

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,858
  • Master of BBC Abuse
Re: Better group formatting options
« Reply #7 on: September 04, 2013, 05:37:31 PM »
The problem comes when you have multiple theme options on the one site (either seperate theme or variants of one theme). That's when coloured text, whatever it is used for, can be really problematic. My 2c is that generally it's better to avoid coloured text that is not controlled by the theme's CSS.

IF you really want to enable group colours everywhere, then to make it easy to use you should give all those elements a class accrding to membergroup, and allow the theme to assign CSS that will be legible on the relevant background.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,980
    • StoryBB/StoryBB on GitHub
Re: Better group formatting options
« Reply #8 on: September 04, 2013, 06:01:25 PM »
That's the thing, Ant, that's actually how I did it by default.

I had this stuff building coloured groups as classes, e.g. defining a.group1 or a.group2 or whatever and the top level CSS would contain that - and if a later declaration (i.e. a theme itself) wanted to override specifics, that's fine.

I'm not saying that admins have to use it but it should really be an option, IMHO. And doing it as classes means themes can override should they want to regardless of what the admin wants. End of the day it's not entirely up to the themer as to how it looks on a given site.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.