wersja skryptu MyBB: 1.6.12
adres forum: Cyberstrike.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Jak ustawić, żeby belki w panelu bocznym i shoutboxie były tego samego koloru co belki w moim stylu?
jeżeli chodzi o sb zmien w dvz_shoutbox jest to szablon globalny
Na
Kod:
<div id="shoutbox" class="front{$classes}">
<table border="0" cellspacing="0" cellpadding="4" class="tborder">
<tbody>
<tr>
<td class="thead" colspan="8">
<div><strong>{$lang->dvz_sb_shoutbox}<p class="right"><a href="{$mybb->settings['bburl']}/index.php?action=shoutbox_archive">« {$lang->dvz_sb_archivelink}</a></p></strong></div>
</td>
</tr>
</tbody>
</table>
<div class="body">
{$panel}
<div class="window" style="height:{$mybb->settings['dvz_sb_height']}px">
<div class="data"></div>
</div>
</div>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/dvz_shoutbox.js"></script>
{$javascript}
</div>
Reszta w sumie podobnie
Kurde albo nie działa, albo coś źle robię.
Mój kod:
Kod:
<br>
<table id="shoutbox_panel_boczny_2" style="table-layout: fixed; word-wrap: break-word;" border="0" cellspacing="0" cellpadding="0" class="tborder2 shoutbox_panel_boczny_2">
<thead>
<tr>
<td class="thead"><div class="expcolimage"><img src="images/Inspi_light/collapse.gif" id="shoutbox_panel_8_img" class="expander" alt="[-]" title="[-]" style="cursor: pointer;"></div><div><span style="color: #d2d2d2;text-shadow: 0px 0px 10px #d2d2d2;"><strong>Shoutbox służy do luźnych pogawędek. Masz problem pisz temat na forum.</strong></span></div>
</td>
</tr>
</thead>
<tbody style="" id="shoutbox_panel_8_e">
<tr>
<td class="trow_sb1">
<div class="obrysbox2">
<div class="obrysboxtlo">
<div class="panel-away" style="display:none"><button class="button" onclick="dvz_shoutbox.setBack()">{$lang->dvz_sb_away_button}</button>{$lang->dvz_sb_away}</div>
</td>
</tr>
<tr>
<td class="trow_sb1">
<table border="0" cellspacing="0" cellpadding="0" class="tborder obrysbox">
<tr>
<td width="" valign="top" class="obrysboxtlo">
<div id="shoutbox">
<div id="shoutbox_data" style="height:{$mybb->settings[dvz_sb_height]}px; overflow:auto;"></div>
</div>
</td>
{$dvz_shoutbox_panel}
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<script type="text/javascript" src="jscripts/dvz_shoutbox.js"></script>
<script>
now = new Date;
dvz_shoutbox.userLastAction = now.getTime();
dvz_shoutbox.interval = {$mybb->settings[dvz_sb_interval]};
dvz_shoutbox.antiflood = {$mybb->settings[dvz_sb_antiflood]};
dvz_shoutbox.maxShouts = {$mybb->settings[dvz_sb_num]};
dvz_shoutbox.awayTimeout = {$mybb->settings[dvz_sb_away]}*1000;
dvz_shoutbox.lang = ['{$lang->dvz_sb_delete_confirm}', '{$lang->dvz_sb_antiflood}'];
{$dvz_shoutbox_js}
dvz_shoutbox.checkForMessages();
</script>