MyBB Community Forums

Full Version: Shoutbox Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Is it possible to make the shoutbox scroll? Or change the ammount of shouts in the list??

OR!

Can you add the shoutbox to the top of the index page?#

Thanks, Darren.
You could try to integrate the shoutbox with an iFrame. Here's the code you can insert into the index template:
<table width="100%" border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<thead>
<tr class="thead">
<td>
<div class="expcolimage"><a href="javascript:expandCollapse('shoutbox');"><img src="$theme[imgdir]/collapse$collapsedimg[shoutbox].gif" id="shoutbox_collapseimg" border="0" alt="[Open/Close]" /></a></div><div><strong>Shoutbox</strong></div>
</td>
</tr>
</thead>
<tbody style="$collapsed[shoutbox_e]" id="shoutbox_e">
<tr><td class="trow1">[b]<!-- iFrame goes here -->[/b]</td></tr>
</tbody>
</table>
<br/>
What is the code for the iFrame mate?
<iframe src="shoutbox.php" width="100%" height="400" name="Shoutbox" border="0">Sorry, but your browser does not support frames!</iframe>
Right, all done, check it out at www.ModsUK.co.uk

Only problem is its ugly, and the scroll br is rubbish, how can i make it neat?

For exampke the text scrolls, but the "Type a Message" bit stays the same?
Michael83, I added this code, but I would like the visitors to be able to see the chat without changing them....is that possible?
Thanks!
GSA
gsa, it works fine for me
hey i have add this, but the expand button doesnt work

forget it, i erase the space between java script and works Big Grin
titiki, what version are you using? The original or tweaked one? Check www.qnhl.com, and you see that visitors can't see the shoutbox!

GSA
Well gsa i guess your other thread, will fix that.

regards
Pages: 1 2