|
|
|
|
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: <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: {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: {if $topics[row].forum_id eq '15' || $topics[row].forum_id eq '23'}You'll need to add an "extra" css of: .topicsubject_special { } .alt-topicsubject_special { } .new-topicsubject_special { } .new-alt-topicsubject_special { }![[Linked Image]](https://ubbdev.com/dump/special.gif) You may have to add linking classes as: .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 { }
|
|
|
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.
|
|
Posts: 417
Joined: November 2001
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 1424
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 26
|
|
|
|
|
|