SMF 2.1.3 has been released! Take it for a spin! Read more.
Started by Hj Ahmad Rasyid Hj Ismail, July 26, 2010, 05:21:35 AM
Quote from: flutter on October 20, 2010, 05:05:06 PMI'd have liked to have been able to pick the colour for the new topics. We intend to have a sepia coloured theme and blue would stand out horribly. Any plans on letting us change the colour through css or anything? Or is there a way to change it ourselves in the code? The last one being a good one. You must have written the colour somewhere in the code, so can you tell us where and we can change it ourselves.
Quote from: roryjsk on January 10, 2011, 01:16:56 AMTwo questions.How can I retain my sticky graphic on the right side of the topic? Since they return after you've read the topic, it seems strange.Second, is there a way to have either a different color for unread sticky topics?
Quote from: Masterd on January 10, 2011, 06:32:46 AMNice mod!
Quote from: roryjsk on January 10, 2011, 07:10:44 AMMy apologies. I had been working on my site all day, wrote the post, and abruptly conked out. SMF version 2.0 RC4Theme is BlueMaze.
Quote from: roryjsk on January 10, 2011, 11:33:32 AMCould there be a separate "unread" color unique for sticky topics, to keep them standing out?
if ($topic['new']) $color_class = 'new';
if ($topic['new'] && $topic['is_sticky']) $color_class = 'stickybg'; elseif ($topic['new']) $color_class = 'new';
Quote from: A_Survivor on June 29, 2011, 12:52:48 AMHi ya Joker,Upgraded ver 2.0 RC5 to ver 2.0 Final and am adding Mods. Like this one, , , but it's not working for me using ver 2.0 final, Default Theme. See attached Screen Shot. Hmmm.Thanks in advance. Take Care,Cloud
echo ' ', $topic['is_sticky'] ? '<b>' : '' , '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], '</span>', $topic['is_sticky'] ? '</b>' : '';
echo ' <a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt, '" /></a>';