Quote:
Originally Posted by 1337_macro
Did you ever work on it so that it will work on the blak-ice template? I really would like to get thos working very much
|
Macro, its not as pretty, but you can replace the code below with the current inferno_shoutbox_box template code until it can be worked out:
Code:
<form onsubmit="return InfernoShoutbox.shout();">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" align="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_infernoshout')"><img id="collapseimg_forumhome_infernoshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_infernoshout].gif" alt="" border="0" /></a>
Shoutbox
</td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_infernoshout" style="$vbcollapse[collapseobj_forumhome_infernoshout]">
<tr>
<td class="alt1" align="left" width="100%">
<if condition="!$vboptions[ishout_editor_position] && $bbuserinfo[userid] > 0">
{$infernoshout->editor}
<div style="height: 4px"></div>
</if>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2" style="width: 100%; padding: 0px;" align="left">
<div class="alt2" style="padding: 0px;">
<div class="alt1" style="float: left; width: 110px; position: absolute; margin-left: 6px;">
<div class="smallfont" style="text-align: center;"><a href="?" onclick="return InfernoShoutbox.show('shoutbox');">Shoutbox</a></div>
</div>
<div class="alt1" style="float: left; width: 110px; position: absolute; margin-left: 119px;">
<div class="smallfont" style="text-align: center;"><a href="?" onclick="return InfernoShoutbox.show('activeusers');">Active Users</a>: <span id="shoutbox_activity">0</span></div>
<div class="alt1" style="float: left; width: 110px; position: absolute; margin-left: 232px; display: none;" id="shoutbox_loader">
<div class="smallfont" style="text-align: center;"><img src="infernoshout/images/processing.gif" alt="" /></div>
</div>
<div class="alt1" style="float: left; width: 250px; position: absolute; margin-left: 345px; display: none;" id="shoutbox_notice">
<div class="smallfont" style="text-align: left; padding-left: 3px;" id="shoutbox_notice_message"></div>
</div>
</div>
</td>
</tr>
</table>
<div class="alt2"><span id="shoutbox_frame" style="display: block; padding: 3px; padding-top: 16px;overflow:auto;height:{$vboptions['ishout_height']}px; width: 99%;">Loading...</span><span id="shoutbox_users_frame" style="display: none; padding: 3px; padding-top: 16px;overflow:auto;height:{$vboptions['ishout_height']}px; width: 99%;">Loading...</span></div>
<if condition="$vboptions[ishout_editor_position] && $bbuserinfo[userid] > 0">
<div style="height: 2px"></div>
{$infernoshout->editor}
</if>
</td>
</tr>
</tbody>
</table>
</form>
<br />
<script type="text/javascript" src="infernoshout/browser/infernoshout.js?ver=1.0.0"></script>
<script type="text/javascript">
<!--
/**
* Inferno Shoutbox Javascript Engine
* Created By Inferno Technologies
* All Rights Reserved
* * * * * * * * * * * * * * *
*/
InfernoShoutbox = new _ishout;
InfernoShoutbox.initiate('{$infernoshout->script}', '{$vboptions['ishout_idletime']}', '{$infernoshout->editor_settings['s_bold']}', '{$infernoshout->editor_settings['s_italic']}', '{$infernoshout->editor_settings['s_underline']}');
-->
</script>
Hope this is ok ZT?