MyBB Community Forums

Full Version: Pro Portal Menu Tut
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Easy Admin Menu For Pro Portal

This is a menu for those of you who are new to mybb like me who find it hard to navigate your way arround the software.
This is my first tutorial so please dont moan about how rubish it is.

What you need:
1. A MyBB forum = http://www.mybboard.net/
2. Pro Portal = http://www.promybb.com/portal.php
3. A text editor (i use notepad++) = http://download.cnet.com/Notepad/3000-23...27521.html

After you have installed Pro Portal, go to admin cp - Pro Portal - block management - add block

Block title - Pick a title, i just use menu but you can call it what ever you want.
Display zone - looks best on the left but you could put it on the right if you want.
Block position - 1
Use Custom Block Template - Yes.
Block file - leave this.
Block Content - This is where we are going to put the content of the menu.

Content:
Do you want a custom border if so use this code and play around with it to suit your forum:
<table border="0" width="130" cellspacing="" cellpadding="4" class="tborder">
and at the very ebd of the menu put this:
</table>

If you dont want a custom border then go back to Use Custom Block Template and put in to No.

Now we want a title so were going to use this code:
<td class="tcat">
			<div class="float_right"><img src="[image url goes here]" id="modcpforums_img" class="expander" /></div>
			<div><span class="smalltext"><strong>Tilte goes here</strong></span></div>
		</td>
	</tr>
Make sure to put in a title and an image url.

Now we want the menu so we use this code:
<tbody style="{$collapsed['Portal']}" id="Portal">
	    <tr><td class="trow1 smalltext"><a href="[url goes here]">title</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="[url goes here">title</a></td></tr>
	</tbody>
Make sure to fill in the urls and the titles.

And now we should have this:
<table border="0" width="130" cellspacing="" cellpadding="4" class="tborder">
<td class="tcat">
			<div class="float_right"><img src="[image url goes here]" id="modcpforums_img" class="expander" /></div>
			<div><span class="smalltext"><strong>Tilte goes here</strong></span></div>
		</td>
	</tr>
	<tbody style="{$collapsed['Portal']}" id="Portal">
	    <tr><td class="trow1 smalltext"><a href="[url goes here]">title</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="[url goes here">title</a></td></tr>
	</tbody>

So now we move on,
set Enable Block? to yes,
and Allowed Usergroups to admin/mod/super mod.

You can play around with the code to make it better but this is just a simple tutorial.

And then click add block and we should be done.
Now go to www.[yourdomain].portal.php and have a look at the menu.

What i use:
<table border="0" width="130" cellspacing="" cellpadding="4" class="tborder">
	 <td class="tcat">
			<div class="float_right"><img src="http://www.gfxpalace.com/images/modcp/modqueue.gif" id="modcpforums_img" class="expander" /></div>
			<div><span class="smalltext"><strong>Admin Tools</strong></span></div>
		</td>
	</tr>
	<tbody style="{$collapsed['Portal']}" id="Portal">
	    <tr><td class="trow1 smalltext"><a href="/admin/index.php">Admin CP Home</a></td></tr>
		<tr><td class="trow1 smalltext"><b>Tools</b></td></tr>
		<tr><td class="trow1 smalltext"><a href="/admin/index.php?module=tools/prune">Prune Members</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="/admin/index.php?module=config/pagemanager">Page Manager</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="/admin/index.php?module=config/plugins">Plugins</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="/admin/index.php?module=tools/monthly_stats">Monthly Stats</a></td></tr>
	</tbody>
	<tr>
	<td class="tcat">
		<div class="expcolimage"><img src="http://www.gfxpalace.com/images/new_pm.gif" id="usercpmisc_img" class="expander"  /></div>
		<div><span class="smalltext"><strong>PM Tools</strong></span></div>
	</td>
</tr>
<tbody style="{$collapsed['Portal']}" id="Portal">
	<tr><td class="trow1 smalltext"><a href="/private.php?fid=1">Inbox</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="/private.php?action=send">Compose</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="/p5ghd6564/index.php?module=user/mass_mail">Mass Mail</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="/p5ghd6564/index.php?module=tools/pms">PM Admin</a></td></tr>
	</tbody>
	<tr>
		<td class="tcat">
			<div class="float_right"><img src="http://www.gfxpalace.com/images/modcp/banning.gif" id="modcpusers_img" class="expander" /></div>
			<div><span class="smalltext"><strong>Mod Tools</strong></span></div>
		</td>
	</tr>
	<tbody style="{$collapsed['Portal']}" id="Portal">
		<tr><td class="trow1 smalltext"><a href="modcp.php">Mod CP Home</a></td></tr>
		<tr><td class="trow1 smalltext"><b>Forums & Posts</b></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=announcements">Announcements</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=modqueue">Moderation Queue</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=reports">Reported Posts</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=modlogs">Moderator Logs</a></td></tr>
		<tr><td class="trow1 smalltext"><b>Users</b></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=finduser">Profile Editor</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="usercp.php?action=usergroups">User Groups</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=banning">Banning</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=warninglogs">Warning Logs</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=ipsearch">IP Search</a></td></tr>
	</tbody>
</table>

Thank you.
So what features does it offer exactly? Does it just allow you to modify the portal.php through AdminCP and provide a few more blocks?
It does alot Smile
The pro portal it gives you the ability to make new blocks pages ect...
The pro portal is what I have been dreaming mybb get. It isn't as great as lets say unreal portal or simple portal,but it does it job well.
Does this show up to normal users? I looked, but I didn't see anything that would suggest that it didn't.
set Enable Block? to yes,
and Allowed Usergroups to admin/mod/super mod.

You can pick who gets to see it.
Allowed Usergroups is not working properly on my site. Is there a bug?
Only if I choose visible to all it works, otherwise it doesn't show the block...
If you are trying to keep your admin cp url hidden, wouldn't this in theory make it "public" ? (by viewing page source)