Plugin Author
axew3
(@axewww)
Hello!
The cookie is not recognized?
As explained by you, you login in phpBB then coming in wordpress the user need to re-login again? This is not working. It mean the cookie is not recognized into WP side.
So, when login done in phpBB side, the cookie is correctly released?
Didi you read the part about cookie settings into explain help, that need to be set to be recognized all over the domain?
https://www.axew3.com/w3/wordpress-phpbb-integration-install/
Set the phpBB cookies to be available across the entire domain:
Go under ‘phpBB ACP admin -> Server Configuration -> Cookie Settings’
Set the Cookie domain value as (for example):
.yourdomain.com
NOTE: if localhost, may leave the value as is, localhost. If on subdomain, like mysub.mysite.com, set it as above using only domain name so .mysite.com
(older browsers still implementing the deprecated » RFC 2109 may require a leading . (dot) to match all subdomains, so .mysite.com)
now change the cookie name, so old cookies on browsers will not be used anymore:
Cookie name: example if phpbb3_forum change into phpbb33_forum or what you like
Cookie path set as single fraction slash: /
let know
Plugin Author
axew3
(@axewww)
PSSS
VERY IMPORTANT IS ALSO THIS, please check:
Then into phpBB ACP under option Security settings:
Option: Allow “Remember Me” logins
set to: YES
“Remember Me” login key expiration length (in days):
set to 365 (or what you like but not 0)
Validate browser:
Enables browser validation for each session improving security: Set to YES
Save settings.
Thread Starter
Halil
(@halilesen)
the cookie settings you mentioned are set correctly. There is no problem for users who have been transferred before. The phpBB entry also covers WordPress. However, new users must login to WordPress to match.
Thread Starter
Halil
(@halilesen)
I guess I should set the logins to be in WordPress. Is there any other solution?
Plugin Author
axew3
(@axewww)
Sorry for the delay on answer, due to holidays and some other problem on the way.
You can make login/register users only into wordpress, just disable registrations in phpBB.
You can make login/register users in phpBB only (or both phpBB and WP), but so install the phpBB extension:
https://www.axew3.com/w3/forums/viewtopic.php?t=1670
Thread Starter
Halil
(@halilesen)
You have solved this with the new updates. Thanks a lot it works now.