Page 3 of 3

Re: phpbb user always ending up on wp-profile page when added on WP

Posted: Thu Mar 15, 2018 9:19 pm
by axew3
NO! further fixed for one problem more: when user already existent in wp login via wp-login: the page stop to wp-login page also if the user is logged in, then,
the above

Code: Select all

if (isset($ins_coming_phpbbU)){
will be changed into:

Code: Select all

if (isset($ins_coming_phpbbU) OR !strstr($_SERVER['REQUEST_URI'], 'wp-admin') OR !strstr($_SERVER['SCRIPT_NAME'], 'profile.php')){
sorry i had the dinner in the while ... :) little delay on fixing as soon i've finish all tests come out in mind.
Now should be all resolved.
The file class.wp.w3all-phpbb.php has just been patched definitively i think.

Re: phpbb user always ending up on wp-profile page when added on WP

Posted: Thu Mar 15, 2018 9:26 pm
by freakenstein
I'll continue testing tomorrow on my side :)

Re: phpbb user always ending up on wp-profile page when added on WP

Posted: Thu Mar 15, 2018 9:51 pm
by axew3
it seem now definitively fixed in any test. It is important to test in more persons because often as you see, is possible (especially for me) to miss something (but do not worry, i think i do not forget about security by the way!)
class.wp.w3all-phpbb.php
has been patched (i think definitively now) to resolve any possible wp login flow, redirecting to correct page onlogin or onlogin/adding user.
https://plugins.trac.wordpress.org/brow ... tion/trunk
download the file
class.wp.w3all-phpbb.php
and replace it on:
/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php