MyBB Community Forums

Full Version: Portal.php as main page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've tried http://mods.mybb.com/view/portal-redirect-for-1-6 but that just seems to make everything redirect to portal.php for me. It wouldn't show the forums at all just the portal.

I've also tried adding DirectoryIndex portal.php index.php into the htaccess file that comes with mybb. That did absolutely nothing. Is there anything else i can try? I have logging in redirect to the portal but the majority of the people on my site have the remember me button checked and never log in so they won't see the portal.
have you tried .htaccess redirecting your maindomain.com to your maindomain.com/portal.php ?
I'm not too sure if that would work, though.... as forum is index.php.... or i don't know...
it might end up as an endless loop....

i'm not sure if it's possible to rename portal.php to index.php and index.php to forum.php (or something like that)
hmmm i never thought of renaming. off to search the forums.

renaming = bad - found this while searching.

also tried renaming my htaccess.txt to .htaccess and it still wont redirect to the portal.
I've done some renaming. What you can do is change the following.

index.php becomes forums.php
portal.php becomes index.php

Then you need to go into the global.php file and find index.php and change it to forums.php. This will make the navigation direct the the forums. You may need to change the link in the header image as well.

EDIT: I attached global.php with the navigation changed to forums.php.
Hey.

You can use this plugin.

http://mods.mybb.com/view/portal-redirect-for-1-6

It works fine for me.

(2011-06-02, 08:49 AM)lesone Wrote: [ -> ]Hey.

You can use this plugin.

http://mods.mybb.com/view/portal-redirect-for-1-6

It works fine for me.

Have you even read the first post? He's been using that plugin and it hasn't worked.
lesone read the my first post/first sentance of the topic....

Quote:I've tried http://mods.mybb.com/view/portal-redirect-for-1-6 but that just seems to make everything redirect to portal.php for me. It wouldn't show the forums at all just the portal.

Clarkie i'll see what i can do. thanks for the help. I'll let ya know if it works.
No problem - it should work because I've done it many times before. On MyBB Tailor I've used the same concept but instead of making the portal the index I've created a new page and created a template for it.

Where did you find renaming is bad?
http://community.mybb.com/thread-89261-p...#pid651840 <--- says its bad. They most not know abut changing the index.php part in globals.

Also your solution worked perfectly!. now i just have to go through all my themes and edit the url for the header img lol
Haha sorry about that - can't be helped.

As for a million problems - it causes 2 lol.
Pages: 1 2