Topic: sticky text colour...
hi, in the forums i want to be able to change the colour of the part the says "Sticky:" to red, i managed to find thsi and i duno how to it, 1st post :-
// We won't display "the dot", but we add the spaces anyway
if ($pun_config['o_show_dot'] == '1')
$subject = ' '.$subject;
if ($cur_topic['sticky'] == '1')
$subject = $lang_forum['Sticky'].': '.$subject;
$num_pages_topic = ceil(($cur_topic['num_replies'] + 1) / $cur_user['disp_posts']);
if ($num_pages_topic > 1)
{
$stop = ($num_pages_topic < 3) ? ($num_pages_topic + 1) : 4;
^ i found that in moderate.php
i also found this in viewforum.php:-
// Without "the dot"
$result = $db->query('SELECT id, poster, subject, posted, last_post, last_post_id, last_poster, num_views, num_replies, closed, sticky, moved_to FROM '.$db->prefix.'topics WHERE forum_id='.$id.' ORDER BY sticky DESC, last_post DESC LIMIT '.$start_from.', '.$disp_topics) or error('Unable to fetch topic list for forum', __FILE__, __LINE__, $db->error());
^ 1337 php and mySQL sig
Like annoying people with visual basic? http://www.annoyingvb.com <-- the home for virus/spammers/trojans. ect source code!