Your Portal Version: 2.0.1
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://cxclub.org/phpbb/portal.php
What have you done before the problem was there?
nothing
What have you already tryed to solve the problem?
nothing
Description and Message
Hello,
On my forum, when connecting from the portal, it is redirected to the portal. This is what I want.
But if we connect leaving the index.php page, you are redirected to the index.php and I want users to be redirected to the portal page.
I just check the installation of the mod is installed for a long time, and it seems correct.
So I do not know if this is normal and I request a change or if I missed sth. : roll:
thank you in advance for your help
account test: test
Code: Mdp123456
portal redirection after login -please-
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Re: portal redirection after login -please-
Hi
Open: root/ucp.php
Find:
Replace with:
Open: root/styles/prosilver/template/index_body.html
Find:
Replace with:
Changes to the templates:
Go to your ACP, choose "Styles -> Templates -> your style", which has been changed and click "refresh" - confirm with "yes".
In the end "ACP -> General" --> purge cache
It's recommended to purge your browser cache too.
Open: root/ucp.php
Find:
Code: Select all
case 'login':
if ($user->data['is_registered'])
{
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
}
login_box(request_var('redirect', "index.$phpEx"));
break;
Code: Select all
case 'login':
if ($user->data['is_registered'])
{
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
}
login_box(request_var('redirect', "portal.$phpEx"));
break;
Find:
Code: Select all
{S_LOGIN_REDIRECT}
Code: Select all
<input type="hidden" name="redirect" value="{U_PORTAL}" />
Go to your ACP, choose "Styles -> Templates -> your style", which has been changed and click "refresh" - confirm with "yes".
In the end "ACP -> General" --> purge cache
It's recommended to purge your browser cache too.
Gruß Udo
-
Topic author - Active Member
- Posts: 6
- Joined: 29. May 2012 14:52
- phpBB.de User: papicx
- phpBB.com User: papicx
- Location: France
Re: portal redirection after login -please-
hello !
Thank you man ! you'r the best
papi enjoy
Thank you man ! you'r the best
papi enjoy