I have the Shoutbox Hack found
HERE installed and running and I would like to make a vBadvanced CMPS Module similar to the "Latest Forum Topics" Module but only display the latest 5 Shouts (see attached).
I have the 'Shout Now' button working correctly, now I just need to know how to display the Last 5 Shouts, here is my Template Code so far:
PHP Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] <a href="$vboptions[bburl]/shoutbox.php?">ShoutBox</a></b></span></td>
</tr>
<tr>
<td class="$getbgrow"><span class="smallfont">
<b><u>Username</u></b>
<br />
Shout Text
<br />
<i>Timestamp</i>
<br /><br />
<b><u>Username</u></b>
<br />
Shout Text
<br />
<i>Timestamp</i>
<br /><br />
<b><u>Username</u></b>
<br />
Shout Text
<br />
<i>Timestamp</i>
<br /><br />
<b><u>Username</u></b>
<br />
Shout Text
<br />
<i>Timestamp</i>
<br /><br />
<b><u>Username</u></b>
<br />
Shout Text
<br />
<i>Timestamp</i>
<br /><br />
</span>
<center>
<form action="$vboptions[bburl]/shoutbox.php?" method="post"><input type="hidden" name="do" value="addshout"><input type="text" class="bginput" name="message" value="" size="25" ><br />
<span class="smallfont">
<i>(50 Character Limit)</i>
</span><br /><br />
<input type="submit" name="submit" value="Shout Now" class="bginput" accesskey="s"></form>
</center>
</td>
</tr>
</table>
<br />
I prefer
NOT to use iFrames if at all possible.
Thanks in advance!