My problem: I recently bought the phpbb3 plugin to integrate my forum with my amember site www.logic-fu.com. The forum is not sitting in a protected folder. I want guests to be able to view posts on the forum without having to sign in to anything. But when they click on the "Forum" link they're directed to the aMember login page. My "Tutorials" page has an aMember login form, and after signing in to that then there's no problem browsing the forum. I can logout of the forum and browse it fine, as long as I'm still logged into aMember. But I have to be logged in to aMember to see the forum. If I log out of aMember then I can't see the forum anymore. I'm not sure exactly sure why it's doing this, since the forum isn't inside the protected "members" folder, it's sitting in my root directory. I suspect the solution has to do with setting permissions in the phpBB3 control panel, but I'm not sure what I'm supposed to do to get the functionality I want. Any help would be appreciated. Thanks, Kevin
Hey kdelapla, What do you mean by "not being able to see if the forum? Does it prompt you to login or just show an empty page?
I think you need to go into phpbb3 ACP and set the "permissions" for the forum to allow guests to view the forum. David
now I'm locked out of the ACP I just tried logging into my phpBB ACP by clicking on the Admin control panel link at the bottom of the board. It tells me I need to re-authenticate to access the ACP (as usual). But when I do it tells me that "Access to the Administration Control Panel is not allowed as you do not have administrative permissions." But this is my admin account. On these forums I'd read that the plugin can mess with your admin accounts, so earlier I added a new product to my admin account that designates me as phpbb forum "founder", which I thought would prevent the plugin from changing this account. But right now phpBB3 is blocking all my attempts to login to the ACP. It gives me the Admin Control Panel link on the bottom of the page, but it prevents me from re-authenticating to get into the ACP. Help!
When guests click on the forum link (which looks like this: http://www.logic-fu.com/forum/), they're redirected to the aMember login page, and the url for this page looks like this: http://www.logic-fu.com/amember/plugins/protect/new_rewrite/login.php?v=-any&url=/forum/ I don't want it to do this redirect.
Don't know why that link was truncated. This is the full url: http://www.logic-fu.com/amember/plugins/protect/new_rewrite/login.php?v=-any&url=/forum/
Update: (1) The behavior of the login to the ACP in phpBB3 is inconsistent. I've been able to login to the ACP the last two attempts, but I don't know what if anything is different. (2) I checked the permissions for Guests. They're set to be able to read posts and replies. (3) I still have the redirect problem. The plugin appears to be treating the forum as a protected directory. This last point is the only problem that needs fixing at the moment.
For it to work correctly the only protection you should use on the folder containing phpBB3 is what is available in the plugin....it appears you are using "new_rewrite" which is why they are being taken to the signup page of your AMember. Remove the rewrite protection and in the phpBB3 plugin in Setup/Configuration have it default to "guests". In Manage Products you'll see the phpBB3 option for which group someone gains access to which is normally "registered users" unless you have created some of your own unique ones within the ACP of phpBB3. [edit]btw, if you have within Protect Folders under Manage Products your phpBB3 directory, you should just be able to remove the folder protection there. You should't have to remove the new_rewrite plugin itself[/edit]
kdelapla, to remove the directory protection manually, check in your phpbb directory for an .htaccess file and rename it. Test to see if the problem goes away. If you are still having problems email me {my username here} at hotmail.com and I'll do what I can to help.
Create an admin product in amember and give it admin rights to phpbb. Add a user and give them admin rights and also add the admin product. Clear you cache and cookies and login with this user. Should get you back in. David
Thanks for the advice, I do appreciate it! I ended up taking skippybosco's advice and renaming the .htaccess file, and that seemed to fix the protection problem. And I set the default user to "guests" in the phpbb plugin. At the moment things appear to be working as expected. Thanks very much! Kevin