MyBB Community Forums

Full Version: Portal boxes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

Thats our Forum: Minecraft-Stammtisch.de

I try to edit the custom boxes on the left of the forum. i found the source template (portal)

<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">
{$pms}
{$whosonline}
</td>
<td>&nbsp;</td>
<td valign="top">
{$announcements}
</td>
</tr>
</table>
{$footer}
</body>
</html>

its this i hope. so {$pms} is the "link" for the pm box. where does this {$pms} link to? any file? mysql?

how could i create a custom one? with simple text or maybe a picture inside


next problem: i wrote news for my portal and they got shortened. but i want them in a full view, how can i change this?


sorry for my bad english,
pixelschmied
{$pms} is evaluating another template (which is Under Portal Templates) called "portal_pms".

To add another block, simply add the following code on the bottom of {$pms} variable;

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>BOX_NAME</strong></td>
</tr>
<tr>
<td class="trow1">
BOX_CONTENT
</td>
</tr>
</table>
<br />

Edit it to suite your desires Smile
How do I code the box to show Today's Calendar Events? I tried the plug in for that and it does not show up when using ProPortal.