2012-03-21, 09:27 PM
2012-03-21, 09:47 PM
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.
{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.
2012-03-21, 10:08 PM
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 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
2012-03-22, 03:33 AM
i also need for adding shoutbox only for portal page.............
2014-03-21, 01:37 PM
Admin CP > Templates > Portal Templates
In the template, add the {myshoutbox_KEY} where you'd like your shout box.
In the template, add the {myshoutbox_KEY} where you'd like your shout box.
2014-03-21, 06:41 PM
(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:59 PM
(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> </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.