
alleen, die achtergrond kleur van die shoutbox, die is wit, hoe krijg ik die kleur hetzelfde als mijn forum kleur ?
Forum
Code: Selecteer alles
<?php
if($HTTP_COOKIE_VARS['shoutbox'] == "off")
{
$shout_size = 'width="1" height="1" border="0"';
$shoutbox_title = '<a href="shoutbox_view.php" class="mainmenu" title="' . $lang['All_Messages'] . '">ShoutBox</a> - </span><span class="gensmall"><a href="' . append_sid('shoutbox_view.'.$phpEx) . '?mode=show" class="mainmenu">' . $lang['sb_show'] . '</a></span>';
}
else
{
$shout_size = 'width="' . $shoutbox_config['shout_width'] . '" height="' . $shoutbox_config['shout_height'] . '" border="2"';
$shoutbox_title = '<a href="shoutbox_view.php" class="mainmenu" title="' . $lang['All_Messages'] . '">ShoutBox</a>';
}
$shoutbox_body = '<br>
<table width="' . $shoutbox_config['shout_width'] . '" align="center"cellpadding="3" cellspacing="1" border="0" class="forumline">
<td class="catHead" align="center" height="25"><span class="cattitle">' . $shoutbox_title . '</span></td>
<tr>
<td class="row1" align="center" valign="middle" rowspan="4"><iframe bgcolor="#000033" src="shoutbox.php" ' . $shout_size . '></iframe></td>
</tr>
</table>';
$template->assign_vars(array(
'SHOUTBOX_BODY' => $shoutbox_body)
);
?>
wat moet ik verandere ?Vikash schreef:shoutbox_body.TPl staat er niet bij, maar er staat wel in de map phpBB2 >shoutbox_body.PHP
dat is deze code :
Code: Selecteer alles
<?php if($HTTP_COOKIE_VARS['shoutbox'] == "off") { $shout_size = 'width="1" height="1" border="0"'; $shoutbox_title = '<a href="shoutbox_view.php" class="mainmenu" title="' . $lang['All_Messages'] . '">ShoutBox</a> - </span><span class="gensmall"><a href="' . append_sid('shoutbox_view.'.$phpEx) . '?mode=show" class="mainmenu">' . $lang['sb_show'] . '</a></span>'; } else { $shout_size = 'width="' . $shoutbox_config['shout_width'] . '" height="' . $shoutbox_config['shout_height'] . '" border="2"'; $shoutbox_title = '<a href="shoutbox_view.php" class="mainmenu" title="' . $lang['All_Messages'] . '">ShoutBox</a>'; } $shoutbox_body = '<br> <table width="' . $shoutbox_config['shout_width'] . '" align="center"cellpadding="3" cellspacing="1" border="0" class="forumline"> <td class="catHead" align="center" height="25"><span class="cattitle">' . $shoutbox_title . '</span></td> <tr> <td class="row1" align="center" valign="middle" rowspan="4"><iframe bgcolor="#000033" src="shoutbox.php" ' . $shout_size . '></iframe></td> </tr> </table>'; $template->assign_vars(array( 'SHOUTBOX_BODY' => $shoutbox_body) ); ?>
die shoutbox_body.tpl die staat er niet bijpaulus schreef:ff rustig
Je moet echt shoutbox_body.tpl hebben. Dis de verkeerde
Code: Selecteer alles
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="templates/subSilver/subSilver.css" type="text/css" />
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5493B4" onload="window.scrollTo(0,99999);" />
<!-- BEGIN shoutrow -->
<table cellpadding="2" cellspacing="0" border="0" class="table0" width="100%">
<tr>
<td class="{shoutrow.ROW_CLASS}" width="100%"><span class="gensmall">
<font style="font-size:9px; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif">{shoutrow.DELMSG} {shoutrow.EDITMSG} {shoutrow.DATE} </font>
<b>{shoutrow.NAME}: </b>{shoutrow.MSG}</span></td>
</tr>
</table>
<!-- END shoutrow -->
</body>
</html>
verander het stukje van templates/subSilver/subSilver.css naar templates/xxx/xxx.css , waar je xxx vervangt door de juiste gegevens.Code: Selecteer alles
<link rel="stylesheet" href="templates/subSilver/subSilver.css" type="text/css" />
ik heb gekeken, in shoutbox_body.php daar zag ik dit staan :bee schreef:Controleer de andere shoutbox template file op deze ook nog een andere stylesheet heeft, en pas hierop dezelfde truc op toe.
Code: Selecteer alles
<?php
if($HTTP_COOKIE_VARS['shoutbox'] == "off")
{
$shout_size = 'width="1" height="1" border="0"';
$shoutbox_title = '<a href="shoutbox_view.php" class="mainmenu" title="' . $lang['All_Messages'] . '">ShoutBox</a> - </span><span class="gensmall"><a href="' . append_sid('shoutbox_view.'.$phpEx) . '?mode=show" class="mainmenu">' . $lang['sb_show'] . '</a></span>';
}
else
{
$shout_size = 'width="' . $shoutbox_config['shout_width'] . '" height="' . $shoutbox_config['shout_height'] . '" border="2"';
$shoutbox_title = '<a href="shoutbox_view.php" class="mainmenu" title="' . $lang['All_Messages'] . '">ShoutBox</a>';
}
$shoutbox_body = '<br>
<table width="' . $shoutbox_config['shout_width'] . '" align="center"cellpadding="3" cellspacing="1" border="0" class="forumline">
<td class="catHead" align="center" height="25"><span class="cattitle">' . $shoutbox_title . '</span></td>
<tr>
<td class="row1" align="center" valign="middle" rowspan="4"><iframe bgcolor="#000033" src="shoutbox.php" ' . $shout_size . '></iframe></td>
</tr>
</table>';
$template->assign_vars(array(
'SHOUTBOX_BODY' => $shoutbox_body)
);
?>