MyBB Community Forums

Full Version: Help with ShoutBox
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I uploaded and installed the ShoutBox correctly, and I put in the code in the Admin CP. But my ShoutBox isn't working. What's wrong? It said to delete the files after you upload and install them, was I not supposed to not delete them? Any help is appreciated.
only templateinstall.php and dbupdate.php need to be uploaded & runned, after that deleted.

Shoutbox.php needs to be uploaded & must remain online.
Yup did that.
What happens when you attempt to open the shoutbox?

Could you possible provide a URL to your forums?

Thanks. Smile
http://slateport.sl.funpic.org/forums and you have to copy and paste that into your browser because my host doesn't support hot linking...I need a new host...

And the thing is, I can't even open my shoutbox because it doesn't appear on the menu (toplinks). And yes, I added the code in. This is the whole code for the index after I added in the ShoutBox code. Is it right?

Quote:<html>
<head>
<title>$settings[bbname]</title>
$headerinclude
</head>
<body>
$header
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<thead>
<tr>
<td class="thead" width="2%">&nbsp;</td>
<td class="thead" width="59%"><strong>$lang->forumbit_forum</strong></td>
<td class="thead" width="7%" align="center" nowrap="nowrap"><strong>$lang->forumbit_threads</strong></td>
<td class="thead" width="7%" align="center" nowrap="nowrap"><strong>$lang->forumbit_posts</strong></td>
<td class="thead" width="15%" align="center"><strong>$lang->forumbit_lastpost</strong></td>
</tr>
</thead>
$forums
</table>
<br />
$pms
<br />
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><a href="javascript:expandCollapse('boardstats');"><img src="images/collapse$collapsedimg[boardstats].gif" id="boardstats_collapseimg" border="0" alt="[-]" /></a></div>
<div><strong><i>&raquo;</i> $lang->boardstats</strong></div>
</td>
</tr>
</thead>
<tbody style="$collapsed[boardstats_e]" id="boardstats_e">
$whosonline
$birthdays
$forumstats
</tbody>
</table>
<br />
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<tr>
<td class="trow1">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle" align="left">
<table cellspacing="0" cellpadding="2" border="0">
<tr><td><img src="$theme[imgdir]/on.gif" alt="$lang->new_posts" /></td><td class="trow"><span class="smalltext">$lang->new_posts</span></td></tr>
<tr><td><img src="$theme[imgdir]/off.gif" alt="$lang->no_new_posts" /></td><td class="trow"><span class="smalltext">$lang->no_new_posts</span></td></tr>
<tr><td><img src="$theme[imgdir]/offlock.gif" alt="$lang->forum_locked" /></td><td class="trow"><span class="smalltext">$lang->forum_locked</span></td></tr>
</table>
</td>
<td valign="top" align="right">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr><td valign="top" align="right">
<span class="smalltext">$logoutlink<a href="misc.php?action=markread">$lang->markread</a> | <a href="showteam.php">$lang->forumteam</a> | <a href="javascript: popupWin('shoutbox.php#bottom',350,350)">Shoutbox</a> | <a href="stats.php">$lang->forumstats</a></span>
</td></tr>
$loginform
</table>
</td></tr>
</table>
</td></tr>
</table>
$footer
</body>
</html>
admin cp / templates / modify / *template name* / toplinks_admin

find:

<li><a href="$settings[bburl]/calendar.php">$lang->toplinks_calendar</a></li>

and add this after:

<li><a href="javascript: popupWin('$settings[bburl]/shoutbox.php#bottom', '600', '900', 'toolbar=no', 'location=no', 'directories=no', 'status=no', 'menubar=no', 'scrollbar=no', 'resizable=no')">Shoutbox</a></li>
By default, the link to the shoutbox is added to the bottom of the index page, next to the "Forum Team" link. If you take a look towards the bottom of your index page, the link is indeed there and the shoutbox appears to load correctly.

If you want to add the shoutbox link to your toplinks menu, simply add the link to the toplinks_member and toplinks_admin templates as Cory said. Wink
Ok thank you. It works now.
if you installed the "tweaked shoutbox" you already should have the link ontop.

The correct install is:

----- [ GO TO ] -----------------------------------------

ACP -> Templates -> Modify / Delete -> *Template Set Name* -> toplinks_admin
ACP -> Templates -> Modify / Delete -> *Template Set Name* -> toplinks_member

----- [ Find ] ------------------------------------------

<li><a href="$settings[bburl]/memberlist.php">$lang->toplinks_memberlist</a></li>

----- [ Before Add ] ------------------------------------

<li><a href="javascript: popupWin('$settings[bburl]/shoutbox.php#bottom', '600', '900', 'toolbar=no', 'location=no', 'directories=no', 'status=no', 'menubar=no', 'scrollbar=no', 'resizable=no')">Shoutbox</a></li>

Cory's way only admins see the link Smile (not guests, but that can also be fixed Smile )