Fix signature
find in viewtopic_body.html
Code: Select all
<div class="content">{postrow.MESSAGE}</div>
Replace with:
Code: Select all
<div class="content" style="min-height:180px;">{postrow.MESSAGE}</div>
announcement,sticky,globalannounce background color
In viewforum_body.html find:
after add:
Code: Select all
<!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF -->"
in your css add:
Code: Select all
.sticky {
background-color: #DFF0D8;
}
.announce {
background-color: #D9EDF7;
}
.global-announce {
background-color: #FCF8E3;
}
Styling the first post & author posts
viewtopic.php?f=74&p=12231995
Open viewtopic.php
Find
Code: Select all
'S_TOPIC_POSTER' => ($topic_data['topic_poster'] == $poster_id) ? true : false,
after add:
Code: Select all
'S_FIRST_POSTER' => ($topic_data['topic_first_post_id'] == $row['post_id']) ? true : false,
Open styles/prosilver/template/viewtopic_body.html
Find:
Add inline, before:
Code: Select all
<!-- IF postrow.S_FIRST_POSTER and FORUM_ID eq '4' -->style="background-color:#E1EBF2;"<!-- ENDIF -->
Notes:
Leave out and FORUM_ID eq '4' if you want the first post in each topic to change for all your forums. To find out the number of a forum, look in the URL whilst you're browsing it!
I don't think you need to refresh your style template but if you do - go to the Admin Control Panel > Styles tab > Templates (under Style Components), Action - Refresh.
This is a solution to colouring the first post in a topic. Styling the topic author's posts is not addressed.
change the joined date
in viewtopic.php, find:
Code: Select all
'joined' => $user->format_date($row['user_regdate']),
Replace with:
Code: Select all
'joined' => $user->format_date($row['user_regdate'], 'D | M | d, | Y'),
Or even this (get rid of 'Day'):
Code: Select all
'joined' => $user->format_date($row['user_regdate'], 'M | d, | Y'),
Autor:Mick

Har tios tintoninos insus tiko is dakon kand sia til kogaion ilmaton hlioylo pleiste naktoilo