Shoutbox neemt kleuren niet over
Geplaatst: 19 feb 2005, 22:35
Vat dr niks van, in subSilver en subTrail neemt ie zo de kleuren over.
Nu wil ik hem intergreren in een nieuw thema dus logischerwijs doe ik alles waar template voorstaat:
Als volgd:
index_body.tpl
Appalachia2.cfg
board_config_body.tpl
Ondanks dat blijft hij dus gewoon in de stijl van subSilver.

Kan iemand mij uitleggen wat ik fout heb gedaan?
Nu wil ik hem intergreren in een nieuw thema dus logischerwijs doe ik alles waar template voorstaat:
## Files To Edit: 12
## index.php
## viewonline.php
## admin/admin_board.php
## admin/admin_db_utilities.php
## admin/admin_users.php
## includes/constants.php
## language/lang_english/lang_admin.php
## language/lang_english/lang_main.php
## templates/subSilver/index_body.tpl
## templates/subSilver/subSilver.cfg
## templates/subsilver/admin/board_config.tpl
#-----[ COPY ]------------------------------------------------
#
copy shoutbox_db_update.php to shoutbox_db_update.php
copy root/shoutbox.php to shoutbox.php
copy root/shoutbox_max.php to shoutbox_max.php
copy root/shoutbox_view.php to shoutbox_view.php
copy root/templates/subSilver/shoutbox_body.tpl to templates/subSilver/shoutbox_body.tpl
copy root/templates/subSilver/shoutbox_max_body.tpl to templates/subSilver/shoutbox_max_body.tpl
copy root/templates/subSilver/shoutbox_max_guest_body.tpl to templates/subSilver/shoutbox_max_guest_body.tpl
copy root/templates/subSilver/shoutbox_view_body.tpl to templates/subSilver/shoutbox_view_body.tpl
copy root/templates/subSilver/images/icon_censor.gif to templates/subSilver/images/icon_censor.gif
copy root/templates/subSilver/bbcode.js to templates/subSilver/bbcode.js
Alles voor de 2de keer geupload en overgeschreven, en nog extra nagekeken bij wat ik heb aangepast, maar ik heb alles opgevolgd.#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- Start add - Fully integrated shoutbox MOD -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2" class="forumline">
<tr>
<td align="center" nowrap="nowrap" class="catHead"><span class="cattitle"><a href="{U_SHOUTBOX_MAX}">{L_SHOUTBOX}</a></span></td>
</tr>
<tr>
<td>
<iframe src="{U_SHOUTBOX}" scrolling="NO" width="100%" height="180" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>
</td>
</tr>
</table>
<br/>
<!-- End add - Fully integrated shoutbox MOD -->
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/subSilver.cfg
#
#-----[ FIND ]------------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
// Start add - Fully integrated shoutbox MOD
$images['icon_censor'] = "$current_template_images/icon_censor.gif";
// End add - Fully integrated shoutbox MOD
#
#-----[ OPEN ]------------------------------------------------
#
# (make sure to edit this file for every theme your admin uses).
templates/subSilver/admin/board_config_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<tr>
<td class="row1">{L_ENABLE_PRUNE}</td>
<td class="row2"><input type="radio" name="prune_enable" value="1" {PRUNE_YES} /> {L_YES} <input type="radio" name="prune_enable" value="0" {PRUNE_NO} /> {L_NO}</td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- Start add - Fully integrated shoutbox MOD -->
<tr>
<td class="row1">{L_PRUNE_SHOUTS}<br /><span class="gensmall">{L_PRUNE_SHOUTS_EXPLAIN}</span></td>
<td class="row2"><input type="text" size="6" maxlength="6" name="prune_shouts" value="{PRUNE_SHOUTS}" /></td>
</tr>
<!-- End add - Fully integrated shoutbox MOD -->
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
Als volgd:
index_body.tpl
<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
<!-- Start add - Fully integrated shoutbox MOD -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2" class="forumline">
<tr>
<td align="center" nowrap="nowrap" class="catHead"><span class="cattitle"><a href="{U_SHOUTBOX_MAX}">{L_SHOUTBOX}</a></span></td>
</tr>
<tr>
<td>
<iframe src="{U_SHOUTBOX}" scrolling="NO" width="100%" height="180" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>
</td>
</tr>
</table>
<br/>
<!-- End add - Fully integrated shoutbox MOD -->
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
Appalachia2.cfg
// Start add - Gender MOD
$images['icon_minigender_male'] = "$current_template_images/icon_minigender_male.gif";
$images['icon_minigender_female'] = "$current_template_images/icon_minigender_female.gif";
// End add - Gender MOD
// Start add - Fully integrated shoutbox MOD
$images['icon_censor'] = "$current_template_images/icon_censor.gif";
// End add - Fully integrated shoutbox MOD
?>
board_config_body.tpl
Dit dus alles in de template Appalachia2<td class="row1">{L_ENABLE_PRUNE}</td>
<td class="row2"><input type="radio" name="prune_enable" value="1" {PRUNE_YES} /> {L_YES} <input type="radio" name="prune_enable" value="0" {PRUNE_NO} /> {L_NO}</td>
</tr>
<!-- Start add - Fully integrated shoutbox MOD -->
<tr>
<td class="row1">{L_PRUNE_SHOUTS}<br /><span class="gensmall">{L_PRUNE_SHOUTS_EXPLAIN}</span></td>
<td class="row2"><input type="text" size="6" maxlength="6" name="prune_shouts" value="{PRUNE_SHOUTS}" /></td>
</tr>
<!-- End add - Fully integrated shoutbox MOD -->
<tr>
<th class="thHead" colspan="2">{L_COOKIE_SETTINGS}</th>
</tr>
<tr>
Ondanks dat blijft hij dus gewoon in de stijl van subSilver.
Kan iemand mij uitleggen wat ik fout heb gedaan?