Redirect to portal

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
1234homie
Active Member
Posts: 21
Joined: 28. October 2008 18:22

Redirect to portal

Post by 1234homie »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
Hi, its possible to redirect user after he write massage to portal not to topic?
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: Redirect to portal

Post by Kevin »

Yes, should be. Not tested:
Open posting.php

seach:

Code: Select all

$message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . $redirect_url . '">', '</a>'); 
replace with:

Code: Select all

$message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . append_sid("{$phpbb_root_path}portal.$phpEx") . '">', '</a> '); 
Note: this only changes the redirection. If you want the message to be changed, you have to modify $user->lang['VIEW_MESSAGE']
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!
Locked

Return to “board3 Portal 1.0.x - English Support”