PDA

View Full Version : Add-On Releases - Put a Box around Inferno ShoutBox vb4


ReFuZe
12-25-2011, 11:00 PM
Hello guys its Jason again

I will tell you on how to put a box on a Inferno ShoutBox

First Navigate to AdminCP -> Styles -> Your Template -> Inferno_shoutbox_box
Inside replace ALL the coding with this

<table cellpadding="2" cellspacing="4" border="0" width="100%" align="center" class="L1 collapse">
<thead>
<tr>
<td align="center">
<h2 class="blockhead"><a id="collapse_collapseobj_forumhome_infernoshout" href="{vb:raw relpath}#top" title="{vb:raw vboptions.ishout_sbtitle}">{vb:raw vboptions.ishout_sbtitle}</a></h2>
</td>
</tr>
</thead>
<tbody id="shoutbox_editshout" style="display: none;">
<tr>
<td class="alt1" align="left" width="100%">
<form onsubmit="return InfernoShoutbox.do_edit_shout();" action="index.php" id="editshoutform">
<span style="float: right;">
<input type="submit" class="button" value="Update" />
<input type="button" class="button" value="Delete" onclick="InfernoShoutbox.do_edit_shout(true);" />
<input type="button" class="button" value="Cancel" onclick="InfernoShoutbox.cancel_edit_shout();" />
</span>
<input type="text" size="60" class="bginput" name="editshout" />
<input type="hidden" name="shoutid" value="" />
</form>
</td>
</tr>
</tbody>
<tbody id="shoutbox_smilies" style="display: none;">
<tr>
<td class="alt1" align="center" width="100%" id="shoutbox_smilies_row">
</td>
</tr>
</tbody>

<table class="reference" cellspacing="0" cellpadding="0" border="1" width="100%" BORDERCOLOR=grey >

<tbody id="collapseobj_forumhome_infernoshout">
<tr>
<td class="alt1" align="left" width="100%">
<vb:if condition="!$vboptions[ishout_editor_position] && $bbuserinfo[userid] > 0">
<form onsubmit="return InfernoShoutbox.shout();" action="index.php">
{vb:raw editor}
<div style="height: 4px"></div>
</form>
</vb:if>


<div class="alt2" style="padding: 0px; margin: 0px; border: 0px !important;">
<table width="100%" cellpadding="0" cellspacing="0" id="vbshout_pro_tabs">
<tr>
<td class="alt1" width="100%" style="padding: 0px; margin: 0px; border: 0px !important;">&nbsp;</td>
</tr>
</table>
</div>

<div class="alt2" id="shoutbox_notice" style="border: 0px !important; display: none; padding-left: 3px; padding-top: 3px; padding-bottom: 0px; padding-right: 0px;"><b class="highlight">Shoutbox Notice:</b> <span class="smallfont" id="shoutbox_notice_message"></span></div>
<div class="alt2" id="shoutbox_window" style="border: 0px !important;"><span id="shoutbox_frame" style="border: 0px !important; display: block; padding: 3px; overflow:auto;height:{vb:raw vboptions.ishout_height}px; width: 99%;">Loading...</span><span id="shoutbox_users_frame" style="display: none; padding: 3px; overflow:auto;height:{vb:raw vboptions.ishout_height}px; width: 99%;">Loading...</span></div>

<vb:if condition="$vboptions[ishout_editor_position] && $bbuserinfo[userid] > 0">
<form onsubmit="return InfernoShoutbox.shout();" action="index.php">
<div style="height: 4px"></div>
{vb:raw editor}
</form>
</vb:if>
</td>
</tr>
</tbody>
</table>
<br />

<script type="text/javascript" src="infernoshout/browser/infernoshout.js?ver={vb:raw vboptions.ishout_jversion}"></script>
<script type="text/javascript">
<!--

/**
* Inferno Shoutbox Javascript Engine
* Created By Inferno Technologies
* All Rights Reserved
* * * * * * * * * * * * * * *
*/

InfernoShoutbox = new _ishout;
<vb:if condition="$_REQUEST['do'] == 'detach'">InfernoShoutbox.detached = true;</vb:if>
<vb:if condition="$vboptions[ishout_aop]">InfernoShoutbox.aop = true;</vb:if>
InfernoShoutbox.initiate(
'{vb:raw iShout.script}',
'{vb:raw vboptions.ishout_idletime}',
'{vb:raw iShout.s_bold}',
'{vb:raw iShout.s_italic}',
'{vb:raw iShout.s_underline]}',
'{vb:raw vboptions.ishout_shoutorder}',
'{vb:raw vboptions.ishout_flood}',
'{vb:raw vboptions.ishout_height}',
parseInt("{vb:raw vboptions.ishout_ajaxrefresh}") * 1000
);
<vb:if condition="$vboptions[ishout_autoidle]">InfernoShoutbox.idle = true;</vb:if>
-->
</script>
</table>

Then save and refresh:)

If you want to change the border then change it where it says border.






I will be adding in Iarchive later once im done with my NGU user bar so make sure you SubScribe to RaHeclan and if you need anything feel free to pm on youtube lolz or here.

my123world
12-26-2011, 09:09 AM
Any Screenie?

ReFuZe
12-26-2011, 09:51 AM
Oh yea sorry I will add

ReFuZe
12-26-2011, 09:51 AM
Check out my other codes

MrBeastlymfe
02-09-2012, 01:42 AM
Just use [ code ] text here [/ code ] but no spaces between brackets