Inferno Shoutbox Module For vBadvanced CMPS v3.0.1

This Simple Addon Allows You To Display Your Inferno-Based Shoutbox Right On Your VBAdvanced Portal!

Notice
-You Have To Actually Press Shout To Send A Shout, Pressing Enter Doesn't Work
-Color Options, Size, And Font Options Have Not Yet Been Added

Install:
1. After Installing Both The Inferno Shoutbox, And vBAdvanced, go into your admin panel and click "vBa CMPS", then "Add Module"
2. Click "Template Module"
3. Fill Out The Form With The Following Info:
Module Title : Shoutbox
Active : Yes
Template To Include : shoutmodule
Style To Include: Whatever Styles You Want This Installed On
Template Content: Copy-Paste The Following Code:

HTML:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<input type="text" name="vbshout_pro_shoutbox_editor" style="width: 93%" class="bginput" id="vbshout_pro_shoutbox_editor" />   
</td>
	<td style='white-space:nowrap' width='1%'>
		<input type="button" value="Shout" class="button" onclick='InfernoShoutbox.shout();' />
		<if condition="$vboptions['ishout_editor_tools'] & 32"><input type='button' class='button' value='Clear' onclick='InfernoShoutbox.clear();' /></if>
		<if condition="$vboptions['ishout_editor_tools'] & 64"><input type='button' class='button' value='Smilies' onclick='InfernoShoutbox.smilies();' /></if>
		<if condition="$vboptions['ishout_editor_tools'] & 1"><input id='sb_mem_bold' type='button' class='button' style='font-weight:bold' value='B' onclick='InfernoShoutbox.assign_styleprop("fontWeight", this);' /></if>
		<if condition="$vboptions['ishout_editor_tools'] & 2"><input id='sb_mem_underline' type='button' class='button' style='text-decoration:underline' value='U' onclick='InfernoShoutbox.assign_styleprop("textDecoration", this);' /></if>
		<if condition="$vboptions['ishout_editor_tools'] & 4"><input id='sb_mem_italic' type='button' class='button' style='font-style:italic' value='I' onclick='InfernoShoutbox.assign_styleprop("fontStyle", this);' /></if>
<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>
<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">
			<form onsubmit="return InfernoShoutbox.shout();" action="index.php">
			{$infernoshout->editor}
			<div style="height: 4px"></div>
			</form>
		</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:{$vboptions['ishout_height']}px; width: 99%;">Loading...</span><span id="shoutbox_users_frame" style="display: none; padding: 3px; overflow:auto;height:{$vboptions['ishout_height']}px; width: 99%;">Loading...</span></div>
	<if condition="$vboptions[ishout_editor_position] && $bbuserinfo[userid] > 0">
			<form onsubmit="return InfernoShoutbox.shout();" action="index.php">
			<div style="height: 4px"></div>
			{$infernoshout->editor}
			</form>
		</if>
		</td>
	</tr>
</tbody>
<br />
<script type="text/javascript" src="infernoshout/browser/infernoshout.js?ver={$vboptions['ishout_jversion']}"></script>
<script type="text/javascript">
<!--
InfernoShoutbox = new _ishout;
<if condition="$_REQUEST['do'] == 'detach'">InfernoShoutbox.detached = true;</if>
<if condition="$vboptions[ishout_aop]">InfernoShoutbox.aop = true;</if>
InfernoShoutbox.initiate(
	'{$infernoshout->script}',
	'{$infernoshout->vbulletin->options['ishout_idletime']}',
	'{$infernoshout->editor_settings['s_bold']}',
	'{$infernoshout->editor_settings['s_italic']}',
	'{$infernoshout->editor_settings['s_underline']}',
	'{$infernoshout->vbulletin->options['ishout_shoutorder']}',
	'{$infernoshout->vbulletin->options['ishout_flood']}',
	'{$vboptions['ishout_height']}',
	parseInt("{$vboptions[ishout_ajaxrefresh]}") * 1000
);
-->
</script>
4. Go Down To "Use Module Wrapper Template" And Select No
All The Rest Of The Settings Should Be Left At Their Default Values Unless You Feel The Need To Edit Them.
5. Scroll Down To The Bottom And Hit Save.
6. Place Your Module As You Would Any Other One
 
Back
Top