MyBB Community Forums

Full Version: MyBB Shoutbox
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I see you have removed the if statements ... the parse error by the way was, because you did not have the conditionals plugin running,
however replace the template with
	<script type="text/javascript" src="jscripts/myshoutbox.js?ver=1400"></script>
<style type="text/css">

.shoutbox {
	margin: 0;
	padding: 0;
	left: 0;
}


li.shoutbox_normal {
	list-style: none;
	margin: 0;
	position: relative;
	cursor: pointer;
	color: transparent;
	display: inline ;
	border: 1px;
	border-color: #FFFFFF;
}

li.shoutbox_color {
	list-style: none;
	position: relative;
	cursor: pointer;
	color: transparent;
	display: inline ;
	border: 0px;
	float: left;
	margin: 1px;
}

.shoutbox_button_color a {
	width: 9px;
	height: 9px;
	display: block;
	border: 1px solid #FFF;
}

</style>
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<thead>
  
<tr>
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.gif" id="shoutbox_img" class="expander" alt="[-]" /></div>
<div><strong>{$lang->mysb_shoutbox}</strong> (<a href="index.php?action=full_shoutbox">{$lang->mysb_fullsbox}</a> - <a href="pspshoutbox.php">{$lang->mysb_portable}</a>)<br /></div>
 
</td>
</tr>
</thead>

<tbody id="shoutbox_e">
<tr>
 <td class="trow2" width="66%" align="center"><form onsubmit="ShoutBox.postShout(); $('shout_data').value = ''; return false;">{$lang->mysb_shout} <input type="text" id="shout_data" size="50" /> - <input type="submit" value="{$lang->mysb_shoutnow}" id="shouting-status" /></form> </td>
 <td class="trow2" width="12%" align="center">{$lang->mysb_options}</td>
</tr>
<tr>
 <td class="trow1" width="76%"><div id="shoutbox_data" style="height: {$mybb->settings['mysb_height']}px; overflow: auto;">{$lang->mysb_loading}</div> windowbox</td>
 <td class="trow1" width="12%" align="center">
	<a style="cursor: pointer;" id="smilies" onclick="window.open('misc.php?action=smilies&amp;popup=true&amp;editor=clickableEditor','{$lang->mysb_smilies}','scrollbars=yes, menubar=no,width=460,height=360,toolbar=no');">{$lang->mysb_smilies}</a>
	<br />
	<a style="cursor: pointer;" onclick="window.open('shoutbox.php','{$lang->mysb_shoutbox}','scrollbars=yes, menubar=no,width=825,height=449,toolbar=no');">{$lang->mysb_popup_shoutbox}</a>
 </td>
</tr>
 

<script type="text/javascript">
ShoutBox.refreshInterval = {$mybb->settings['mysb_refresh_interval']};
ShoutBox.MaxEntries = {$mybb->settings['mysb_shouts_main']};
ShoutBox.lang = ['{$lang->mysb_posting}', '{$lang->mysb_shoutnow}', '{$lang->mysb_loading}', '{$lang->mysb_flood_check}', '{$lang->mysb_no_perform}', '{$lang->mysb_already_sent}', '{$lang->mysb_deleted}', '{$lang->mysb_invalid}', '{$lang->mysb_self}', '{$lang->mysb_report_invalid_sid}', '{$lang->mysb_shout_reported}', '{$lang->mysb_shout_already_reported}'];
{$extra_js}
Event.observe(window, 'load', ShoutBox.showShouts); 
</script>
</tbody>
</table>
<br />
Same problems, and now guests see chat also, putted old coe back,
(2013-09-07, 04:48 PM)Kroketten Wrote: [ -> ]Same problems, and now guests see chat also, putted old coe back,

have you altered another template ?
Pages: 1 2 3