MyBB Community Forums

Full Version: Shout Box On Portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Guys is there any way to get the shout box on to the portal
Yes. You would add this to wherever you want it on your Portal page:

{myshoutbox_KEY}

That's for myShoutbox. If your using another plugin, just find out what you would call it. Go to your index page and find the code for it.
ya its my shoutbox what do you mean where in admin do i find this to add it
i find portal on admin and in there i have block and page management i tryed to add code to a block but the code showed on the portal
i also need for adding shoutbox only for portal page.............
Admin CP > Templates > Portal Templates

In the template, add the {myshoutbox_KEY} where you'd like your shout box.
(2014-03-21, 01:37 PM)Miah Wrote: [ -> ]Admin CP > Templates > Portal Templates

In the template, add the {myshoutbox_KEY} where you'd like your shout box.

should that be {$myshoutbox_KEY} ???
(2014-03-21, 06:41 PM)JimR Wrote: [ -> ]
(2014-03-21, 01:37 PM)Miah Wrote: [ -> ]Admin CP > Templates > Portal Templates

In the template, add the {myshoutbox_KEY} where you'd like your shout box.

should that be {$myshoutbox_KEY} ???

No, it's {myshoutbox_KEY} - be sure to change 'KEY' to whatever you have your myshoutbox key set to (default I believe is just abcd).

Admin CP > Templates & Styles > Templates > Portal Templates > portal.

You should see something relatively similar to the code provide below:

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr><td valign="top" width="200">
{$welcome}
{$pms}
{$search}
{$stats}
{$whosonline}
{$latestthreads}
</td>
<td>&nbsp;</td>
<td valign="top">
{$announcements}
</td>
</tr>
</table>
{$footer}
</body>
</html>

Insert the {myshoutbox_KEY} where you' like to have it. Play around with it, see where it fits just right.

Good luck, let me know if you have any further questions.