Shoutbox

Latest Posts suggestion - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: Latest Posts suggestion (/showthread.php?tid=92269)

Latest Posts suggestion by matty on 09-18-2009 at 01:26 PM

DZ could you add the ability to colour code the different forum sections?

This way you could essentially highlight the different forums so you can see certain ones easier? Like the scripting forum.

Thanks


RE: Latest Posts suggestion by Chris4 on 09-18-2009 at 02:43 PM

Could probably use a greasemonkey script to do that, if WDZ doesn't add it.

Kinda like my Google Calendar script, but make it highlight only when it says 'Scripting', if possible.


RE: Latest Posts suggestion by WDZ on 09-18-2009 at 04:55 PM

What if I just add a CSS class like "fid18" to each table row, so you can manually add styles to them? That way I wouldn't have to make an interface for it and store the settings on the server (for the 4 people who would actually use it :p).


RE: Latest Posts suggestion by matty on 09-18-2009 at 05:42 PM

(L) you dz! Despite what others say you aren't lazy :P


RE: Latest Posts suggestion by WDZ on 09-18-2009 at 09:50 PM

quote:
Originally posted by matty
(L) you dz! Despite what others say you aren't lazy :P
yeah, just ignore all those other forum suggestion threads that have gone nowhere (a)

I added the fid class name to latest.php... hopefully you can make better use of it than I did. :zippy:

CSS code:
.latest_thread.fid39 td { /* styles for all the table cells in the row */ }
.latest_thread.fid39 td.forumname { /* styles for just the "forum name" cell */ }
.latest_thread.fid39 td.subject   { /* styles for just the "subject" cell */ }


RE: Latest Posts suggestion by andrey on 09-19-2009 at 01:21 AM

that's pretty cool actually :zippy:

CSS code:
tr.latest_thread.fid18 td, tr.latest_thread.fid18 a:link, tr.latest_thread.fid18 a:visited{color: #676767 !important; }
tr.latest_thread.fid18 a:hover{ color:#adadad !important; }
tr.latest_thread.fid18 td.trow1{ background: #e8e8e8 url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAUCAAAAAC7NQIlAAAAB3RJTUUH2QkTACcusErC7QAAAAlw SFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAAoSURBVHjaY/zPgBuw3MYjycSATycj Pkl8WvEaS4Gdg01y0HmFfAcBAHQ0Aiyg0zLYAAAAAElFTkSuQmCC') repeat-x top left !important;}
tr.latest_thread.fid18 td.trow2{ background: #FFFFFF url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAUCAAAAABZ6RlcAAAAB3RJTUUH2QkTADQpT8EW3AAAAAlw SFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAAlSURBVHjaY/zPgBOwvMYjx0imHBN5 +vBoI9vMYe8HMs1kxJMmAJdTA0RBX9kGAAAAAElFTkSuQmCC') repeat-x top left !important;}


[Image: attachment.php?pid=975073]