Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 5,834
Likes: 20
UBBDev Owner
Time Lord
UBBDev Owner
Time Lord
Joined: Jan 2000
Posts: 5,834
Likes: 20
In templates/default/activetopics.tpl find:
Code
<tr>
<td class="{$topics[row].color}" valign="top">
<a href="{ubb url="ubb=postlist&Board=`$topics[row].forum_id`" title=$topics[row].forum_title}">{$topics[row].forum_title}</a>
</td>
<td class="{$topics[row].color}" valign="top">
<img src="{$config.BASE_URL}/images/{$style_array.icons}/{$topics[row].post_icon}" alt="" />
</td>
<td class="{$topics[row].color}" valign="top">
<div {$topics[row].tool_tip}>
{if $topics[row].gonew}
<a href="{ubb url="ubb=show`$display`&topic=`$topics[row].topic_id`&gonew=1#UNREAD"}"><img src="{$config.BASE_URL}/images/{$style_array.general}/gotonew.gif" alt="{$lang.JUMP_NEW}" title="{$lang.JUMP_NEW}" /></a>
{/if}
<a href="{ubb url="ubb=show`$display`&Number=`$topics[row].post_id`#Post`$topics[row].post_id`" title=$topics[row].post_subject}">{$topics[row].post_subject}</a>
{$lang.TEXT_BY} {$topics[row].poster_name}
@ {$topics[row].post_time}<br />
</div>
<br />
<span name="body[{$topics[row].row}]" style="display:block">{$topics[row].post_body}</span>
</td>
</tr>

Replace With:
Code
{if $topics[row].forum_id eq '15'}
<tr>
<td class="{$topics[row].color}_special" valign="top">
<a href="{ubb url="ubb=postlist&Board=`$topics[row].forum_id`" title=$topics[row].forum_title}">{$topics[row].forum_title}</a>
</td>
<td class="{$topics[row].color}_special" valign="top">
<img src="{$config.BASE_URL}/images/{$style_array.icons}/{$topics[row].post_icon}" alt="" />
</td>
<td class="{$topics[row].color}_special" valign="top">
<div {$topics[row].tool_tip}>
{if $topics[row].gonew}
<a href="{ubb url="ubb=show`$display`&topic=`$topics[row].topic_id`&gonew=1#UNREAD"}"><img src="{$config.BASE_URL}/images/{$style_array.general}/gotonew.gif" alt="{$lang.JUMP_NEW}" title="{$lang.JUMP_NEW}" /></a>
{/if}
<a href="{ubb url="ubb=show`$display`&Number=`$topics[row].post_id`#Post`$topics[row].post_id`" title=$topics[row].post_subject}">{$topics[row].post_subject}</a>
{$lang.TEXT_BY} {$topics[row].poster_name}
@ {$topics[row].post_time}<br />
</div>
<br />
<span name="body[{$topics[row].row}]" style="display:block">{$topics[row].post_body}</span>
</td>
</tr>
{else}
<tr>
<td class="{$topics[row].color}" valign="top">
<a href="{ubb url="ubb=postlist&Board=`$topics[row].forum_id`" title=$topics[row].forum_title}">{$topics[row].forum_title}</a>
</td>
<td class="{$topics[row].color}" valign="top">
<img src="{$config.BASE_URL}/images/{$style_array.icons}/{$topics[row].post_icon}" alt="" />
</td>
<td class="{$topics[row].color}" valign="top">
<div {$topics[row].tool_tip}>
{if $topics[row].gonew}
<a href="{ubb url="ubb=show`$display`&topic=`$topics[row].topic_id`&gonew=1#UNREAD"}"><img src="{$config.BASE_URL}/images/{$style_array.general}/gotonew.gif" alt="{$lang.JUMP_NEW}" title="{$lang.JUMP_NEW}" /></a>
{/if}
<a href="{ubb url="ubb=show`$display`&Number=`$topics[row].post_id`#Post`$topics[row].post_id`" title=$topics[row].post_subject}">{$topics[row].post_subject}</a>
{$lang.TEXT_BY} {$topics[row].poster_name}
@ {$topics[row].post_time}<br />
</div>
<br />
<span name="body[{$topics[row].row}]" style="display:block">{$topics[row].post_body}</span>
</td>
</tr>
{/if}

Replace '15' with the id of the special forum. For more than one forum you can adjust to the following and adapt accordingly:
Code
{if $topics[row].forum_id eq '15' || $topics[row].forum_id eq '23'}

You'll need to add an "extra" css of:
Code
.topicsubject_special {
}
.alt-topicsubject_special {
}
.new-topicsubject_special {
}
.new-alt-topicsubject_special {
}

[Linked Image]

You may have to add linking classes as:
Code
.topicsubject_special {
}
.topicsubject_special a:link {
}
.topicsubject_special a:visited {
}
.topicsubject_special a:active {
}
.alt-topicsubject_special {
}
.alt-topicsubject_special a:link {
}
.alt-topicsubject_special a:visited {
}
.alt-topicsubject_special a:active {
}
.new-topicsubject_special {
}
.new-topicsubject_special a:link {
}
.new-topicsubject_special a:visited {
}
.new-topicsubject_special a:active {
}
.new-alt-topicsubject_special {
}
.new-alt-topicsubject_special a:link {
}
.new-alt-topicsubject_special a:visited {
}
.new-alt-topicsubject_special a:active {
}


UBBDev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.threads: My UBB Themes, My UBB Scripts
Sponsored Links
Entire Thread
Subject Posted By Posted
Active Topic Color Change? Bill B 12/29/2012 11:07 AM
Re: Active Topic Color Change? Gizmo 12/29/2012 12:58 PM
Re: Active Topic Color Change? Gizmo 12/29/2012 1:10 PM
Re: Active Topic Color Change? Bill B 12/29/2012 4:10 PM
Re: Active Topic Color Change? Gizmo 12/29/2012 9:19 PM
Re: Active Topic Color Change? Bill B 12/30/2012 1:01 AM
Re: Active Topic Color Change? Gizmo 12/30/2012 5:20 AM
Re: Active Topic Color Change? Bill B 01/05/2013 4:50 PM
Re: Active Topic Color Change? Gizmo 01/06/2013 8:57 AM
Re: Active Topic Color Change? Bill B 01/06/2013 11:15 AM
Re: Active Topic Color Change? Gizmo 01/07/2013 2:04 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1424
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 26
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)