Steps to add as widget:
Install as recommended.
Make few edits:
1. Add new template: Call it whatever you wish (we'll call it shoutbox) and insert the following code...
PHP Code:
<div class="cms_widget">
<div class="block">
<div class="cms_widget_header">
<h3>Chatter</h3>
</div>
<div class="cms_widget_content">
<vb:if condition="$show['member']">
{vb:raw sb_pro}
<vb:else />
<p><center>Sorry, you must be registered and logged in to chat.</center></p>
</vb:if>
</div>
</div>
</div>
2. ACP -> Plugins & Products -> Plugin Manager -> Product : Shoutbox for vB4
Change [SB]
2-1. Edit to following changes
Last line change
PHP Code:
vB_Template::preRegister('FORUMHOME', $sb_pro);
to
PHP Code:
vB_Template::preRegister('(your new template or as we stated) - shoutbox', $sb_pro);
i.e.
PHP Code:
vB_Template::preRegister('shoutbox', $sb_pro);
2-2.
Make Hook Location drop down change to process_templates_complete <-- Important
SAVE
3. Add new widget:
Add new JS Enhanced widget and make sure to change the "template" field to your newly created template (i.e. shoutbox) FOUND UNDER CONFIGURE....
4. Insert Widget onto your Layout.