MyBB Community Forums

Full Version: How to make custommenu blocks on the portal page.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do you make custom menu blocks for the portal?
Found out how to do it. Here's how
Open up your portal.php and find:
// Get the online users 

just above it add:

eval("\$customname = \"".$templates->get("portal_customname")."\";");

Then go to in Admin CP > Templates > Modify / Delete > Expand > Portal Templates > Portal

Find this $welcome

above it add $customname

Now go back to the list, find the button New Template at the top add a new template called portal_customname

and add this code to it

<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="tborder">
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" width="100%">
<tr>
<td class="thead"><strong>customname</strong></td>
</tr>
<tr>
<td class="trow1">
[b]Your things here[/b]
</td>
</tr>
</table></td></tr></table>
<br />

customname can be change to what ever you want.