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

User avatar
kaspir
Moderator
Moderator
Posts: 88
Joined: Mon Mar 20, 2017 2:38 pm
Location: USA
Contact:

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

Post 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?
Image
World of Phaos RPG online is making it's come back! Play free now!
Check out phpBB contributions & extension downloads. :P
User avatar
axew3
w3all User
w3all User
Posts: 2933
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

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

Post 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.
User avatar
kaspir
Moderator
Moderator
Posts: 88
Joined: Mon Mar 20, 2017 2:38 pm
Location: USA
Contact:

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

Post 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
Image
World of Phaos RPG online is making it's come back! Play free now!
Check out phpBB contributions & extension downloads. :P
User avatar
axew3
w3all User
w3all User
Posts: 2933
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

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

Post by axew3 »

;) np i'm even worse sometime ehhehe
Post Reply