I have set up amember with the PHPBB3 plugin but when I log in to amember as a user I get in to the member area as expected but when I go to the forums I still have to login again. Good news is the amember username and password work but how do I set it up so the user is automatically signed in to the forum? I do not want them to have to sign in twice. Any suggestions?
Sounds like something is off in your integration. Check the cookie settings in phpbb and the amember plugin. David
Oh yes, I forgot to add... if you need help with this, email me codeispoetry [at] amemberincremental.com Lee
I have the same problem. How did you solve this problem? I have checked cookies and they seem to be set to the same value? This is another particular thing that has happened. That I want to point out as it may be relevant. I have been playing with the settings in the overallheader.html file within phpBB. This code works(meaning it will go to my wordpress blog and pass the info on to aMember as well so when the blog comes up I am logged in): Code: <!-- IF S_USER_LOGGED_IN --> <a href="http://www.baystateacademy.org/students/login.php?amember_redirect_url=/realestatetraining/blog/?redirect_to=/realestatetraining/blog/" title="Dashboard">full3-Dashboard-in</a> <!-- ELSE --> <a href="/realestatetraining/">Dashboard-out</a> <!-- ENDIF --> The code bellow does not work but they should be equivalent if I am reading this right: Code: <!-- IF S_USER_LOGGED_IN --> <a href="/students/login.php?amember_redirect_url=/realestatetraining/blog/" title="Dashboard">full3-Dashboard-in</a> <!-- ELSE --> <a href="/realestatetraining/blog/">Dashboard-out</a> <!-- ENDIF --> I would like a single sign on so users of my blog do not have to log in again when they are sent to the forum. As I understand that should be working with the phpBB plugin and the instructions on your site. Please correct me if I am misunderstanding anything and please point me in the right direction to investigate. Thanks,
Problem with the code can be because of single login issue. If single login is not working, user will not be logged in aMember so wordpress cookies will not be set. Please contact us in helpdesk I will check plugin settings.
I'm running into the same issue. I've checked the cookie settings in both phpBB and aMemeber. Is it likely that this problem is being created because aMember is in one domain (e.g. www.mydomain.com) and the forum is in a subdomain (forum.mydomain.com)? I've verified that the aMemberphpBB cookie name, phpBB cookie domain, and phpBB cookie path match the forum's server settings exactly. One thing I've noticed that may be relevant is that when I log into aMember, I see Wordpress cookies being created (I'm protecting Wordpress content as well as phpBB content with aMember), but I don't see any phpBB cookies being created. I only see phpBB cookies created when I go directly to the forum.
After a lengthy session with FireCookie, I figured it out what was going on. The cookies were not being set/read from the same domain. Apparently my configuration was incorrect because I didn't correctly account for the subdomain. I changed the phpBB cookie domain settings for both aMember and phpBB3 from "forum.mydomain.com" to "mydomain.com" and now it seems to be working correctly. I've been able to modify phpBB script to send registered users who are logging in to the aMember login page and new registrants to the aMember signup page. Mark