Re: [resolved] Help, can't login/logout correctly thru widget.
Posted: Wed Mar 29, 2017 2:46 pm
hello! In this plugin we use only code that run in WP, no way to use phpBB functions. We can reproduce by the way anything on WP side.
On old versions of the plugin in fact, the logout widget link was pointing to phpBB logout not wp logout.
The trick is just to append phpbb session to an url that point to phpBB logout.
I see that you have cookie .thetopfew.com, i should test the thing to understand why the loop about cookie that should be the couse due to cookie problem, but you can try this?
Open wp_w3all.php file
search for this code
immediately after, add this:
OR
without point at begin.
try to logout and re-login.
On old versions of the plugin in fact, the logout widget link was pointing to phpBB logout not wp logout.
The trick is just to append phpbb session to an url that point to phpBB logout.
I see that you have cookie .thetopfew.com, i should test the thing to understand why the loop about cookie that should be the couse due to cookie problem, but you can try this?
Open wp_w3all.php file
search for this code
Code: Select all
$useragent = (!empty($_SERVER['HTTP_USER_AGENT'])) ? $_SERVER['HTTP_USER_AGENT'] : 'unknown';
Code: Select all
$w3cookie_domain = '.thetopfew.com';
Code: Select all
$w3cookie_domain = 'thetopfew.com';
try to logout and re-login.