2004-10-27, 12:42 PM
I've just updated the shoutbox modification, to incorporate one feature improvement and one new feature which should have been added when the mod was updated for RC4, but somehow slipped the net.
If you've already installed this mod, there is no need to reinstall. Both changes are in the same template, so to update manually, simply open up your shoutbox_submit template from the global templates list, highlight all the html code and replace it with this...
The new feature is the addition of a refresh link, which has been suggested many times. Clicking the link simply reloads shoutbox.php, but the page will still refresh itself every 60 seconds. I'm debating removing the 60 second auto-refresh now that it can be done manually, but I haven't made up my mind yet.
The feature improvement is that you shouts are no longer limited to 60 characters or length. In all honesty, I don't even know myself why this limit was imposed, but it's been changed to something more appropriate now.
As always, the download package has been updated, but once again I stress that you need not download it if you have already installed the mod.
If you've already installed this mod, there is no need to reinstall. Both changes are in the same template, so to update manually, simply open up your shoutbox_submit template from the global templates list, highlight all the html code and replace it with this...
<br />
<form method="post" action="shoutbox.php">
<input type="hidden" name="action" value="do_shout">
<table cellspacing="0" cellpadding="0" border="0" width="98%" align="center">
<tr><td class="tborder">
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" width="100%">
<tr><td class="trow1" align="center">Shout: <input type="text" name="message" size="40" maxlength="200"> <input type="submit" name="submit" value="Add Shout"><br /><span class="smalltext"><a href="shoutbox.php">Refresh</a></span></td>
</tr>
</form>
</table>
</td></tr></table>
The new feature is the addition of a refresh link, which has been suggested many times. Clicking the link simply reloads shoutbox.php, but the page will still refresh itself every 60 seconds. I'm debating removing the 60 second auto-refresh now that it can be done manually, but I haven't made up my mind yet.
The feature improvement is that you shouts are no longer limited to 60 characters or length. In all honesty, I don't even know myself why this limit was imposed, but it's been changed to something more appropriate now.
As always, the download package has been updated, but once again I stress that you need not download it if you have already installed the mod.