Page 2 of 7

Re: 2.5.4 released, and coming 2.5.5 logs

Posted: Tue Feb 01, 2022 8:48 am
by axew3
try this (substitute page-board)
page-board.zip
(5.67 KiB) Downloaded 101 times
Seem that settings are all ok, but something external conflict.
It has been substituted

Code: Select all

document.location.replace('".$w3allhomeurl."/index.php/".$wp_w3all_forum_folder_wp."/');
with

Code: Select all

document.location.replace('".$w3allhomeurl."/".$wp_w3all_forum_folder_wp."/');
and a little thing more, to see what happen.
Because when login happen into phpBB iframed, the cookie is correctly released. Then the wp page forum get response from phpBB iframed and try to reload the page forum, to execute in WP the login (reloading the WP page), at this point you get the mess.
Please change page-board.php, let know when ready then i will take a look again.

Re: 2.5.4 released, and coming 2.5.5 logs

Posted: Tue Feb 01, 2022 9:26 am
by floxshifu
Okay, thank you for testing. I'll put the changes tonight after work, and i'll let you know or test again.

Have you seen when login directly on the forum page, you're immediately disconnected?

Re: 2.5.4 released, and coming 2.5.5 logs

Posted: Tue Feb 01, 2022 2:11 pm
by axew3

Code: Select all

Have you seen when login directly on the forum page, you're immediately disconnected?
you are disconnected after several loops and redirects. The cookie is correctly set when you login in phpBB. It is a problem given by some other plugin conflict or theme feature in WP.
Have a good time, see you later

Re: 2.5.4 released, and coming 2.5.5 logs

Posted: Tue Feb 01, 2022 5:47 pm
by floxshifu
Hi,

I've replaced page-board.php and it seems working fine for the moment! Thanks! And, it's makes me think about one thing, at default, page-forum.php has autoscroll enable, maybe you can add an option in frontend for basics users to disable or set it how they want? (for the next update...).

8-)

Re: 2.5.4 released, and coming 2.5.5 logs

Posted: Tue Feb 01, 2022 6:08 pm
by axew3
the autoscroll gap to match the header height?
It is option already, into plugin admin where
Re-position top gap
it is 100 (px) by default.
Change it to match the position you want to scroll to by default.
Do you mean this?

Re: 2.5.4 released, and coming 2.5.5 logs

Posted: Tue Feb 01, 2022 6:50 pm
by floxshifu
axew3 wrote: Tue Feb 01, 2022 6:08 pm the autoscroll gap to match the header height?
It is option already, into plugin admin where
Re-position top gap
it is 100 (px) by default.
Change it to match the position you want to scroll to by default.
Do you mean this?
Ah! I didn't seen it in admin, it was just a suggestion, sorry!

About my login problem, it is not working again...