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

User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

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

Post 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.
freakenstein
User w
User w
Posts: 7
Joined: Wed Mar 14, 2018 3:33 pm

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

Post by freakenstein »

I'll continue testing tomorrow on my side :)
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

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

Post 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
Post Reply