Page 1 of 1

directly to portal

Posted: 2. September 2008 16:04
by tatzel
Your phpBB Version: 2.0.
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
I installed the forum and the portal in the same directory (/root). How do i adapt my files so when you enter www.mysite.com, it goes straight to portal.php instead of index.php? been searching for a solution, but i can seem to find one. thanks in advance

Re: directly to portal

Posted: 2. September 2008 18:44
by scwfan06
Hi tatzel

Open: .htaccess

Find:

Code: Select all

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
Add after in a new line:

Code: Select all

DirectoryIndex portal.php index.php index.html index.htm

Re: directly to portal

Posted: 2. September 2008 19:59
by tatzel
did that. didnt work....

Re: directly to portal

Posted: 3. September 2008 08:12
by tatzel
I solved this now.

Code: Select all

# $Id: .htaccess,v 1.2 2007/04/12 06:19:39 angelside Exp $
# .htaccess for phpBB3 Portal
DirectoryIndex bb3portal.php index.php

<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

DirectoryIndex portal.php index.php index.html index.htm
is my .htaccess atm.
changing bb3portal.php at the top into portal.php solved it.

Re: directly to portal

Posted: 3. September 2008 18:49
by WeeTjeSSS
Hello,
I have a problem,
If I am on Board index,
do not be possible I to Portal.
But if I am on Portal am possible
I, however, to Board index…

Help me please

http://forum.goldenhabbos.nl


Sorry for my English I'm Dutch ;)

Re: directly to portal

Posted: 3. September 2008 19:18
by Kevin
You may have missed this during installation:

Open: includes/functions.php
Find

Code: Select all

'U_PRIVATEMSGS'            => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'), 
Add before

Code: Select all

'U_PORTAL'                => append_sid("{$phpbb_root_path}portal.$phpEx"), 

Re: directly to portal

Posted: 3. September 2008 19:28
by WeeTjeSSS
He cannot find

Code: Select all

'U_PRIVATEMSGS'            => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'), 
This are my functions I have edit php to txt, now can you see...)
http://forum.goldenhabbos.nl/board3/functions.txt

Re: directly to portal

Posted: 3. September 2008 19:43
by Kevin
Search for:

Code: Select all

'U_PRIVATEMSGS'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'),

Re: directly to portal

Posted: 3. September 2008 20:16
by WeeTjeSSS
Sorry for my Stopid Questions!

I have fix ;)

Thanks for you help!

Greez,
Dylan