View Full Version : 4.2 Activity Stream formatting
tonmo
05-28-2012, 03:59 PM
Would love to have the activity stream appear in nice clean tables, with color coding for different content types. e.g.:
new photos = light green background
new posts = light blue background
new articles = light grey background
new blogs = light orange background
and customizable. :-)
Lynne
05-28-2012, 05:01 PM
All the different types have a unique name. Just add to additional.css something like:
li.activitybit.calendar_event {background-color: #FFCCFF;}
li.activitybit.forum_thread {background-color: #FFFF99;}
li.activitybit.forum_post {background-color: #FFFFCC;}
You can see the names in the page source.
tonmo
05-28-2012, 06:13 PM
Perfect. And adding a border makes it look real nice. Thanks Lynne!
/* Lynne's activity stream solution */
li.activitybit.calendar_event {border-style: solid; border-width: 1px; background-color: #FFCCFF;}
li.activitybit.forum_thread {border-style: solid; border-width: 1px; background-color: #FFFF99;}
li.activitybit.forum_post {border-style: solid; border-width: 1px; background-color: #FFFFCC;}
Lynne
05-29-2012, 12:57 AM
Glad that worked. I tried it on my test site and like the different colors for different types of content. :)
Termure
05-30-2012, 11:38 AM
Hey dudes,
I also want here http://diablo3.ro/activity.php dark background like dark grey or black with white or something as text, yellow as nickname and topic/post as light blue.
thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.