Page 1 of 1

Coloured Unread Forums and Topic

Posted: 27 Jul 2011, 08:39
by Stoker
Coloured Unread Forums and Topics
Written by Stoker & Steve

Lets color the Forum and Topic links when they are unread. This makes it easier for the user to see if the Forum or Topic is unread.
It will work when viewing forum index, forum and search (like active topics)
Prosilver only!

Open styles/prosilver/template/forumlist_body.html
Find:

Code: Select all

<a href="{forumrow.U_VIEWFORUM}" class="forumtitle"
Inline add after:

Code: Select all

<!-- IF forumrow.S_UNREAD_FORUM --> style="color:#b22222;"<!-- ENDIF -->
Open styles/prosilver/template/viewforum_body.html
Find:

Code: Select all

<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle"
Inline add after:

Code: Select all

<!-- IF topicrow.S_UNREAD_TOPIC --> style="color:#b22222;"<!-- ENDIF -->

Open styles/prosilver/template/search_result.html
Find:

Code: Select all

<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle"
Inline add after:

Code: Select all

<!-- IF searchresults.S_UNREAD_TOPIC --> style="color:#b22222;"<!-- ENDIF -->