Change colour of forum titles if they have new posts

Hoxxy

New Member
In your forumhome_forumbit_level2_post template change:
HTML:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
   <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>

to:

HTML:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"> <if condition="$forum[statusicon] == 'new'"><span style="color:orange;"><strong>$forum[title]</strong></span><else /><strong>$forum[title]</strong></if></a>
   <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>

The differences...
Its basiclly just a added condition:
HTML:
<if condition="$forum[statusicon] == 'new'"><span style="color:orange;"><strong>$forum[title]</strong></span><else /><strong>$forum[title]</strong></if>


This should work in 3.6.x aswell, don't forget to change the color to your preference...
Enjoy..;)
 
Back
Top