Loco Macheen
05-09-2005, 04:32 PM
i take no credit for this, and if its been posted already or is a hack that someone is charging for, pls delete this admin. and if it is something u must pay for, i deeply apologize, im not trying to rip somone off for the work they put into this,, a friend had given me this code.
this is a collapsible block, very easy to add :)
its like the side monthed block, but i have mine in the center,, not sure if they are exactly the same, if so again. admin pls delete this.
* Back up your site*
Add New Template> adv_portal_shoutbox
past this code in the box
<!-- shoutbox hack (by squall14716) -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_shoutbox')"><img id="collapseimg_forumhome_shoutbox" src="/designs/vision/buttons/collapse_tcat.gif" alt="" border="0" /></a>
<a href="$vboptions[bburl]/shoutbox.php?">Shoutbox - Last 15 Shouts</a>
</td>
</tr>
<tbody id="collapseobj_forumhome_shoutbox" style="">
<tr valign="top">
<td class="alt2"><a href="$vboptions[bburl]/shoutbox.php?"><img src="/images/icons/icon2.gif" alt="" title="" border="0" />
<!-- IF THE IFRAME IS ENABLED -->
<td class="alt1" width="100%"><span class="smallfont">
<form action="$vboptions[bburl]/shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><input type="text" name="message" value="" size="60" > <input type="submit" name="submit" value="Shout Now!" class="bginput" accesskey="s"></form><br />
<iframe src="$vboptions[bburl]/shoutbox.php?do=iframe" width="100%" height="165" scrolling="auto" frameborder="0" name="forumhome_shoutbox" id="forumhome_shoutbox"></iframe>
</span></td>
</tr>
</tbody>
</thead>
</table>
<br />
<!-- end shoutbox hack (by squall14716) -->
go to vBa CMS> Add Module>
Module Title: Shoutbox
Template to Include: shoutbox
then the rest you configure how u wish,, i have mine center and active :)
enjoy, let me know if i missed something
you can see a live demo here: www.locoforum.com
*edit* the bold you will have to modify for your site
this is a collapsible block, very easy to add :)
its like the side monthed block, but i have mine in the center,, not sure if they are exactly the same, if so again. admin pls delete this.
* Back up your site*
Add New Template> adv_portal_shoutbox
past this code in the box
<!-- shoutbox hack (by squall14716) -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_shoutbox')"><img id="collapseimg_forumhome_shoutbox" src="/designs/vision/buttons/collapse_tcat.gif" alt="" border="0" /></a>
<a href="$vboptions[bburl]/shoutbox.php?">Shoutbox - Last 15 Shouts</a>
</td>
</tr>
<tbody id="collapseobj_forumhome_shoutbox" style="">
<tr valign="top">
<td class="alt2"><a href="$vboptions[bburl]/shoutbox.php?"><img src="/images/icons/icon2.gif" alt="" title="" border="0" />
<!-- IF THE IFRAME IS ENABLED -->
<td class="alt1" width="100%"><span class="smallfont">
<form action="$vboptions[bburl]/shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><input type="text" name="message" value="" size="60" > <input type="submit" name="submit" value="Shout Now!" class="bginput" accesskey="s"></form><br />
<iframe src="$vboptions[bburl]/shoutbox.php?do=iframe" width="100%" height="165" scrolling="auto" frameborder="0" name="forumhome_shoutbox" id="forumhome_shoutbox"></iframe>
</span></td>
</tr>
</tbody>
</thead>
</table>
<br />
<!-- end shoutbox hack (by squall14716) -->
go to vBa CMS> Add Module>
Module Title: Shoutbox
Template to Include: shoutbox
then the rest you configure how u wish,, i have mine center and active :)
enjoy, let me know if i missed something
you can see a live demo here: www.locoforum.com
*edit* the bold you will have to modify for your site