MyBB Community Forums

Full Version: How to Shoutbox on up?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I install shoutbox on my site.

How to show it on top of forum
http://mybbstyles.net63.net
i don't see any shoutbox on your forum mate..
Move the $shoutbox variable above the $forums variable in your index template.
Admincp -> Templates & Style -> Templates -> Index Templates -> Index

Find:
{mysb_abcd}

Add it above:
{$forums}


Edit: Ninja'd
@Vernier I might have been faster but you were more accurate... Big Grin
Where is index templete
(2012-07-27, 10:51 AM)aftabiqbal Wrote: [ -> ]
Where is index templete

by index template they mean the code
you can get it by doing this
ACP > templates and style >templates > current theme > options > expand templates > index templates > options > expand > index > options > edit template > copy and paste all the code in here > use the quote tag to keep it organized tho..
quote tag :
Quote:the code..
regards,
Forum link
http://mybbstyles.net63.net
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$forums} 
{myshoutbox_abcd}
{$boardstats}

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6">
<div><strong>Forum Icon Legend</strong></div>
</td>
</tr>
		<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}on.png" alt="{$lang->new_posts}" title="{$lang->new_posts}"/></td>

		<td class="trow1" align="center" valign="middle"> <span class="smalltext">{$lang->new_posts}</span></td>

		<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}off.png" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}"/></td>

		<td class="trow1" align="center" valign="middle"><span class="smalltext">{$lang->no_new_posts}</span></td>

		<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}offlock.png" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" /></td>

		<td class="trow1" align="center" valign="middle"><span class="smalltext">{$lang->forum_locked}</span></td>

	</tr>
</table>
<br style="clear: both" />
{$footer}
</body>
</html>

(2012-07-27, 01:09 PM)aftabiqbal Wrote: [ -> ]Forum link
http://mybbstyles.net63.net
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$forums} 
{myshoutbox_abcd}
{$boardstats}

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6">
<div><strong>Forum Icon Legend</strong></div>
</td>
</tr>
		<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}on.png" alt="{$lang->new_posts}" title="{$lang->new_posts}"/></td>

		<td class="trow1" align="center" valign="middle"> <span class="smalltext">{$lang->new_posts}</span></td>

		<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}off.png" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}"/></td>

		<td class="trow1" align="center" valign="middle"><span class="smalltext">{$lang->no_new_posts}</span></td>

		<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}offlock.png" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" /></td>

		<td class="trow1" align="center" valign="middle"><span class="smalltext">{$lang->forum_locked}</span></td>

	</tr>
</table>
<br style="clear: both" />
{$footer}
</body>
</html>

simply replace it with this.

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{myshoutbox_abcd}
{$forums} 
{$boardstats}

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6">
<div><strong>Forum Icon Legend</strong></div>
</td>
</tr>
		<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}on.png" alt="{$lang->new_posts}" title="{$lang->new_posts}"/></td>

		<td class="trow1" align="center" valign="middle"> <span class="smalltext">{$lang->new_posts}</span></td>

		<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}off.png" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}"/></td>

		<td class="trow1" align="center" valign="middle"><span class="smalltext">{$lang->no_new_posts}</span></td>

		<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}offlock.png" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" /></td>

		<td class="trow1" align="center" valign="middle"><span class="smalltext">{$lang->forum_locked}</span></td>

	</tr>
</table>
<br style="clear: both" />
{$footer}
</body>
</html>



i just moved the "{myshoutbox_abcd}" up and the "forums" is under it atm
hope i helped
regards,
Thanxxx You Very Much You are best helper on Mybb
Pages: 1 2