Active
Project:
phpBB Forum Integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Oct 2011 at 10:05 UTC
Updated:
10 Apr 2014 at 16:08 UTC
Jump to comment: Most recent
Comments
Comment #1
jgoliver commentedI also wanted to report this exact issue using the 7.x version. Again, everything works fine if a user logs into Drupal first, but if the user tries to login via the PhpBB module, it does not authenticate.
Comment #2
jgoliver commentedI have found some more information...
In the phpbbforum.module file > function _phpbbforum_drupal_login(), around line 1252 within that function, you'll see the snippet below. It is obviously a check to see if the user is an admin. For some reason, it returns false if the user is an admin. Since I am using an admin login, I tried commenting out the "return false" and my login worked. The issue now is wondering why this was put here and what ramifications are there for removing it? Proceed at your own risk. :)
Make this:
Into this:
Comment #3
madhatterwales commentedI too am getting exactly the same problem with 7.0 alpha3
Everything works fine from Drupal perspective (log in and out) but from phpbb perspective only log out works - log in fails on refresh to the forum.
Comment #4
fizk commentedComment #5
Arot commentedI'm having the exact same problem.
I'm willing to change the ' phpbbforum.module file > function _phpbbforum_drupal_login()' as stated by jgoliver, but I am also wondering what the consequences are.
Does the fix only work for an admin log-in or does it work for regular users as well? In my case, users who log in on the forum don't get logged in on the Drupal site. It does, however, work the other way around.
Comment #6
Gunnar Helliesen commentedSame issue, on 7.x-1.x-dev (the new version posted on March 27, 2012).
Comment #7
jmomandown commentedOur work around was to simply switch the phpBB login system to a drupal form. Basically you still get the same form in phpBB but it submits to drupal. Just a suggestion.
A few helpful links for doing this:
Drupal 7
Drupal 6
Comment #8
mariobro01 commentedany one any ideas about solving this problem?