MyBB Community Forums

Full Version: Shout Box in headers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello Mybb Support Team

In Myweb(mybest4u.co.cc) i install Shoutbox (2.2.0) and it working but i need Shout Box in headers please me with sample (picture) Thank you!
Just move the shoutbox variable into the header template.
If you PM me a link to your site, and an admin account I can sort it out for you. - Tom
(2009-04-05, 09:39 PM)Joshua Mayer Wrote: [ -> ]Just move the shoutbox variable into the header template.


How ? Send some sample or img ........ Readme Note
Its a bit simple man,
just find {$shoutbox} and move it to the $header Smile
(2009-04-06, 11:30 AM)Ghazala_Wali Wrote: [ -> ]Its a bit simple man,
just find {$shoutbox} and move it to the $header Smile

Tell Me More detail ( Names of file , Where the file is located (/mybest4u.co.cc/htdocs/ )
(2009-04-05, 09:39 PM)Joshua Mayer Wrote: [ -> ]Just move the shoutbox variable into the header template.

Tell Me More detail ( Names of file , Where the file is located (/mybest4u.co.cc/htdocs/ )
It's not in a file, it's all in the templates section of the ACP.
Guys help him with an easy way Big Grin

Try this, Smile

Go to Admin CP > Themes & Templates > *Your Themes Template* > Index Template > index > Edit

Now find
$shoutbox
and remove it from there.

Now Came back to Templates of your theme > Header Templates > header > Edit

and add
$shoutbox
just below the $header

and you are Done ! Smile
(2009-04-06, 02:41 PM)Ghazala_Wali Wrote: [ -> ]Guys help him with an easy way Big Grin

Try this, Smile

Go to Admin CP > Themes & Templates > *Your Themes Template* > Index Template > index > Edit

Now find
$shoutbox
and remove it from there.

Now Came back to Templates of your theme > Header Templates > header > Edit

and add
$shoutbox
just below the $header

and you are Done ! Smile
Till my problem not end ! First i went index removed and came back to header i adder $shoutbox but not display

<div id="container">
<a name="top" id="top"></a>
<div id="header">
<table border="0" width="200%" cellpadding="0" cellspacing="0" align="center" class="header_bg">
<tr>
<td align="right" id="header_right_cell">&nbsp;</td>
<td align="left" valign="top" height="112"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></td>
</tr>
<tr>
<td height="34" colspan="2">
{$welcomeblock}

</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
<br />
{$shoutbox}
Yup ! You have entered $shoutbox at the end of template,
I said not at the end but just below $header,
In this code of template you provided add {$shoutbox} under {$welcomeblock}
Pages: 1 2