Page 4 of 5

Re: Page redirect loop on configuration

Posted: Sun Apr 16, 2017 10:32 am
by axew3
Yes, i've do a jump into.
It was necessary to add some code to get all working.
Ok fine, but now, before i lost more time with my bad eng, so i need to loose time on reading long explanations that i often not understand (i learn normally better looking behaviors, that's strange) , i see one thing.

If i register a new user, it is correctly added into phpBB now (so the user exist in phpBB and you have not loop: memo: loop = or the user not exist into phpBB or cookie aren't properly recognized/set onlogin: the loop happen because the main function not find out one of these two conditions).

Now the user is created but i see in mp msmu the user have no role when register and finish signup: so when it is added into some subsite you activate with a specific role. It is ever in this way the wp msmu work? Manually adding user and so to him is applied manually the role?

Better than this, maybe i will give you the code to test, so you can see what in case still not work and we can fix in short.

Re: Page redirect loop on configuration

Posted: Sun Apr 16, 2017 10:52 am
by axew3
Check if you can this code and follow please on this topic, we will try to fix things in short:
https://www.axew3.com/w3/index.php/foru ... wtopic=488

Re: (WPMU-MS) Page redirect loop on configuration

Posted: Mon Apr 17, 2017 1:57 pm
by pennymachines
Thank you very much for trying to fix this.
Unfortunately, no luck so far.

I cut and pasted the code into the two files as instructed.
When I activate the plugin in one of the subsites, I am immediately logged out of admin and sent to the front page (index.php).
I can only get back into that subsite admin by removing or renaming the plugin.

Re: (WPMU-MS) Page redirect loop on configuration

Posted: Wed Apr 26, 2017 11:02 pm
by axew3
class.wp.w3all-phpbb.php and wp_w3all.php files has been patched to fix:
addition fail when site is created by admin. The created/related wp user isn’t created into phpBB also.

download here files
https://plugins.trac.wordpress.org/expo ... ion/trunk/

or re-download plugin and overwrite.
Let know!

Re: (WPMU-MS) Page redirect loop on configuration

Posted: Wed May 03, 2017 9:22 am
by axew3

Re: (WPMU-MS) Page redirect loop on configuration

Posted: Wed May 03, 2017 12:38 pm
by pennymachines
Thank you so much for all your work on this - donation sent. 8-)