Externals plugins Incompatibility
Posted: Fri Dec 09, 2016 7:38 pm
Hello, first of all, congratulations to excellent integration that you made, it's the best by far.
I have some issues and conflicts when I activated your plugin and try to use frontend login. I'm using the popular user management plugin called UserPro (i know, you doesn't provide support for non free plugins, but don't get mad with me, I'll explain ) and when I try to login via frontend, nothing happens and then, the user returns to same page without being logged. However, wp-admin login is working, but when I'll try to logout in the same frontend, the page keeps user logged (not respecting the logout). Basically, the login / logout do nothing in the frontend.
I've spend about 2 days reading all old supports about login problems, external plugins, your documentation, etc.
The configs on WP and phpBB sides are ok.
Then, I've found some explanations made about external plugins fix (like Ultimate Member). In addon folder of your plugin, it's have a comment line like this:
--> //// workaround for some plugin that substitute wp-login.php default login page
//// ... but that DO NOT reset $_POST array (like some frontend ajax login widget plugin do)
and in Wordpress support forum, that guy made a this topic and his problem is marked as solved:
https://wordpress.org/support/topic/cus ... n-problem/
(I know, I'm typing too much, but I promise, I'll finish soon )
Looking at ajax.php file of UserPro, I've found this similar idea of login, with some differences (I can show you later if you could do just a litte check).
You have mentioned in your comment line and in another topics about this $_POST array (which could not be restarted), but I haven't found any $_POST array (just $_POST). Probably this conflict occurs because the custom login code is not sending the necessary cookies to the phpBB, right?
I guess that I'm stucked, because I can't find the "x" of the question and where exactly the conflict happens.
After describing this scenario, I need to do some questions:
1 - That bypass that have you made in "ext_plugins_fixes.php" of your plugin, can be improved to works with more external plugins?
2 - Do you have any start idea or hint to enlighten me how I can set the custom login to send cookies properly?
and
3 - In the worst case, if I can not do this works correctly, then can you tell me how to disable or nullify your Single Sign On integration with phpBB? (Sending new registered users in WP to phpBB automatically soon after making a registration, without login integration, or simply sending the users manually just via WP w3all transfer).
Thank you for the patience.
[EDITED=Title Modified]
I have some issues and conflicts when I activated your plugin and try to use frontend login. I'm using the popular user management plugin called UserPro (i know, you doesn't provide support for non free plugins, but don't get mad with me, I'll explain ) and when I try to login via frontend, nothing happens and then, the user returns to same page without being logged. However, wp-admin login is working, but when I'll try to logout in the same frontend, the page keeps user logged (not respecting the logout). Basically, the login / logout do nothing in the frontend.
I've spend about 2 days reading all old supports about login problems, external plugins, your documentation, etc.
The configs on WP and phpBB sides are ok.
Then, I've found some explanations made about external plugins fix (like Ultimate Member). In addon folder of your plugin, it's have a comment line like this:
--> //// workaround for some plugin that substitute wp-login.php default login page
//// ... but that DO NOT reset $_POST array (like some frontend ajax login widget plugin do)
and in Wordpress support forum, that guy made a this topic and his problem is marked as solved:
https://wordpress.org/support/topic/cus ... n-problem/
(I know, I'm typing too much, but I promise, I'll finish soon )
Looking at ajax.php file of UserPro, I've found this similar idea of login, with some differences (I can show you later if you could do just a litte check).
You have mentioned in your comment line and in another topics about this $_POST array (which could not be restarted), but I haven't found any $_POST array (just $_POST). Probably this conflict occurs because the custom login code is not sending the necessary cookies to the phpBB, right?
I guess that I'm stucked, because I can't find the "x" of the question and where exactly the conflict happens.
After describing this scenario, I need to do some questions:
1 - That bypass that have you made in "ext_plugins_fixes.php" of your plugin, can be improved to works with more external plugins?
2 - Do you have any start idea or hint to enlighten me how I can set the custom login to send cookies properly?
and
3 - In the worst case, if I can not do this works correctly, then can you tell me how to disable or nullify your Single Sign On integration with phpBB? (Sending new registered users in WP to phpBB automatically soon after making a registration, without login integration, or simply sending the users manually just via WP w3all transfer).
Thank you for the patience.
[EDITED=Title Modified]