[quote user="ewelin" post="84927"]I'll be adding the colaspible categories in the next release.... [/quote]
Excellent News ewelin! Thank you for the response!
I've another question regarding a subsilver Mod i'd like to include in my aphrodite_mc forum
http://www.securibox.net/vbforum/showpo ... ostcount=8
- Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
viewforum.php
#
#-----[ FIND ]------------------------------------------
#
if( $topic_type == POST_ANNOUNCE )
{
$topic_type = $lang['Topic_Announcement'] . ' ';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$row_color_topic_type1 = 'row1_announce';
$row_color_topic_type2 = 'row2_announce';
$row_color_topic_type3 = 'row3_announce';
#
#-----[ FIND ]------------------------------------------
#
else if( $topic_type == POST_GLOBAL_ANNOUNCE )
{
$topic_type = $lang['Topic_global_announcement'] . ' ';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$row_color_topic_type1 = 'row1_global_announce';
$row_color_topic_type2 = 'row2_global_announce';
$row_color_topic_type3 = 'row3_global_announce';
#
#-----[ FIND ]------------------------------------------
#
else if( $topic_type == POST_STICKY )
{
$topic_type = $lang['Topic_Sticky'] . ' ';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$row_color_topic_type1 = 'row1_sticky';
$row_color_topic_type2 = 'row2_sticky';
$row_color_topic_type3 = 'row3_sticky';
#
#-----[ FIND ]------------------------------------------
#
{
$topic_type = '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$row_color_topic_type1 = 'row1';
$row_color_topic_type2 = 'row2';
$row_color_topic_type3 = 'row3';
#
#-----[ FIND ]------------------------------------------
#
'TOPIC_TYPE' => $topic_type,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'ROW_COLOR_TOPIC_TYPE1' => $row_color_topic_type1,
'ROW_COLOR_TOPIC_TYPE2' => $row_color_topic_type2,
'ROW_COLOR_TOPIC_TYPE3' => $row_color_topic_type3,
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewforum_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1" align="center" valign="middle" width="20">[img]{topicrow.TOPIC_FOLDER_IMG}[/img]</td>
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}{topicrow.TOPIC_TITLE}</span><span class="gensmall">
{topicrow.GOTO_PAGE}</span></td>
<td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
<td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
<td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
<td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}
{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
</tr>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<tr>
<td class="{topicrow.ROW_COLOR_TOPIC_TYPE1}" align="center" valign="middle" width="20">[img]{topicrow.TOPIC_FOLDER_IMG}[/img]</td>
<td class="{topicrow.ROW_COLOR_TOPIC_TYPE1}" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}{topicrow.TOPIC_TITLE}</span><span class="gensmall">
{topicrow.GOTO_PAGE}</span></td>
<td class="{topicrow.ROW_COLOR_TOPIC_TYPE2}" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
<td class="{topicrow.ROW_COLOR_TOPIC_TYPE3}" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
<td class="{topicrow.ROW_COLOR_TOPIC_TYPE2}" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
<td class="{topicrow.ROW_COLOR_TOPIC_TYPE3}" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}
{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
body {
background-color: {T_BODY_BGCOLOR};
scrollbar-face-color: {T_TR_COLOR2};
scrollbar-highlight-color: {T_TD_COLOR2};
scrollbar-shadow-color: {T_TR_COLOR2};
scrollbar-3dlight-color: {T_TR_COLOR3};
scrollbar-arrow-color: {T_BODY_LINK};
scrollbar-track-color: {T_TR_COLOR1};
scrollbar-darkshadow-color: {T_TH_COLOR1};
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
.row1_global_announce{background:#fbece1;}
.row2_global_announce{background:#f7ddc9;}
.row3_global_announce{background:#f4ceb1;}
.row1_announce{background:#e6f1fb;}
.row2_announce{background:#d0e7f9;}
.row3_announce{background:#bcdcf7;}
.row1_sticky{background:#edf5ed;}
.row2_sticky{background:#ddecdd;}
.row3_sticky{background:#bfdbbf;}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Unfortunately after the installation the Layout of the forum is destroyed,
do you have any idea what i've doing wrong?
Or can't this Mod used in aphrodite_mc ?
cheers
Pascal