Page 1 of 1

How to redirect a WP login to phpBB index after success?

Posted: Wed May 24, 2017 5:50 am
by kaspir
After logging in using WP widget, load phpBB/index instead of refreshing WP home. What would be the best way to go about this?

Re: How to redirect a WP login to phpBB index after success?

Posted: Wed May 24, 2017 6:59 am
by axew3
Hi! Check into
login_form_include_noiframe_mode_links.php
or
login_form_include_iframe_mode_links.php
this line

Code: Select all

<input type="hidden" name="redirect" value="<?php echo $current_url; ?>">
change into (for example)

Code: Select all

<input type="hidden" name="redirect" value="http://myredirect.com/myforum/index.php">
this can be an option to be added?
Maybe, a single file, into same custom-config folder. The single file will contain several advanced options easy to be defined and that we'll do not need to update at each new plugin release. I will try to add into new 1.7.2.

All the online documentation and js code for iframe need to be corrected/improved.

Re: How to redirect a WP login to phpBB index after success?

Posted: Thu May 25, 2017 6:55 am
by kaspir
Sweet, thanks bro!

I'll admit, I didn't even spend time looking. I just posted, figured you would know right away where I should go to edit! :P I'm so bad! :twisted:
axew3 wrote: Wed May 24, 2017 6:59 am this can be an option to be added?
Maybe, a single file, into same custom-config folder. The single file will contain several advanced options easy to be defined and that we'll do not need to update at each new plugin release. I will try to add into new 1.7.2.

All the online documentation and js code for iframe need to be corrected/improved.
I know.. I know.. I really get your wheels turning and smoking, don't I? :P

Re: How to redirect a WP login to phpBB index after success?

Posted: Thu May 25, 2017 9:05 am
by axew3
;) np i'm even worse sometime ehhehe