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

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: How to redirect a WP login to phpBB index after success?

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

by axew3 » Thu May 25, 2017 9:05 am

;) np i'm even worse sometime ehhehe

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

by kaspir » Thu May 25, 2017 6:55 am

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?

by axew3 » Wed May 24, 2017 6:59 am

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.

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

by kaspir » Wed May 24, 2017 5:50 am

After logging in using WP widget, load phpBB/index instead of refreshing WP home. What would be the best way to go about this?

Top