MyBB Community Forums

Full Version: Help with portal.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have renamed index.php to portal.php and portal.php to index.php and now the kirts page user visit on my site is Portal - Works perfect BUT
When they Login the came to the forum part (now portal.php) how do i make sure all came to the Portal and NOT the forum part before they choose it in the menu

Hope someone understand my post.
rename them again and use DennisTT's portal redirect plugin. if you dont like it's redirecting system and if you want everytime first page must be portal page you can redirect it yourself by a .httacces file with this code

DirectoryIndex portal.php index.php

with this yourdomain.com will open portal.php everytime.
(2008-06-11, 09:03 AM)dared Wrote: [ -> ]rename them again and use DennisTT's portal redirect plugin. if you dont like it's redirecting system and if you want everytime first page must be portal page you can redirect it yourself by a .httacces file with this code

DirectoryIndex portal.php index.php

with this yourdomain.com will open portal.php everytime.

No the Plugin DONT work allready tested. Where and how do i add Portal in the topmenu then i will let user choose it there.
ok than...
lets do it Big Grin

open your theme's header template and find this codes

<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>

add above

<li><a href="{$mybb->settings['bburl']}/portal.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/portal.gif" alt="{$mybb->settings['bbname']}" />Portal</a></li>

use attached image as portal.gif and send it to your theme's toplinks dir.

regards.

[attachment=9411]

p.s: by the way image is 1.4's usercp image Big Grin
Thanks works perfect unless i got a BIG links in the menu says Sitename Portal (in my case The Pirate Zone Portal) and not only Portal
you can edit the code its realy realy simple..