Posted by eastwind87 on August 30, 2007 at 10:47pm
I have an installation of the phpBB mod on my drupal site, and I found that unregistered users cannot view the forum. If they attempt to do so, they immediately get directed to the Drupal login page. Is there any way to change this?
Thanks in advance! Gotta say I love this mod!
Comments
Temporarily rename the
Temporarily rename the .htaccess file that is placed into the phpBB directory, so it is disabled. Do you then get phpBB's login screen?
No, i renamed the .htaccess
No, i renamed the .htaccess file in the phpBB2 directory to .htacces and it still redirects to Drupal's login page. Should I rename the .htaccess in the Drupal directory too?
I don't think it causes the
I don't think it causes the problem, but I would recommend a more radical rename than that, for example notused_htaccess
I think you may be using the wrong URL or something like that. Once you remove the .htaccess file the forum should behave just like the independent forum you started with.
Maybe renaming Drupal's .htaccess file will give you more information, because then "Page not found" errors are not redirected to Drupal.
I tried both of your
I tried both of your suggestions. Renaming the .htaccess in the phpBB2 folder didn't make a difference.
Renaming Drupal's .htaccess file did give a page not found error at phpbb. The forum link from the home page points to phpbb\ (the Drupal module). The actual forum is installed in phpBB2.
Should I be renaming any folders?
the /phpbb link will fail if
the /phpbb link will fail if Drupal's .htaccess file is not present, that's okay.
But what if you go straight to the forum, presumably http://hostname/phpBB2 or http://hostname/forum if you are following the instructions? Do you still get the login page you were talking about earlier.
Before I forget: Make sure you disable Drupals forum module.
hi arkepp,srry for stealing
hi arkepp,srry for stealing this users topic but i have sort off a same problem
when a new users registerds on our board he/she gets this message:
"This board has no forums." i dont know why its comming... :S
Possible solution
I had a similar problem.
It appeared, that the module does not inject the correct user group number when the user is created.
The user group for authenticated user in my forum was different than standard, probably, since i converted to phpbb3 from phpbb2.
To fix this you need to query your phpbb database tables and look up the correct group numbers for anonymous and authenticated users in the table {Your phpbb prefix}groups.
In my case it was 6 and 7 and not and not 1 and 2 as supposed by the module.
Then correct the file: phpbb.module in your modules directory.
Theres a line:
($user->uid ==) ? $gid = 1 : $gid = 2;
I changed the numbers to the according numbers in my phpbb installation.
DISCLAIMER:
I'm not really a code freak, so please maybe someone of the gurus can comment here, since I'm not fully sure about possible side effects.