phpBBforum Integration module

vb - February 3, 2008 - 14:56

phpBBforum Integration module provides integration with phpBB3 Forum http://www.phpbb.com/.
Initial release http://drupal.org/project/phpbbforum

phpBBforum Integration module features

vb - February 3, 2008 - 16:20

Features:

  • can be used on a working site and forum with existing users;
  • authentication and synchronyzation in both directions;
  • automatic creation of users;
  • synchronyzation of account info usernames, passwords, emails, signatures, avatars (for drupal admin id = 1 and phpBB admin id = 2 username, password, email do not sync for security)
  • synchronyzation of profile info when drupal profile module is enabled;
  • support of drupal profile, signatures_forum, avatar_selection, birthdays modules;
  • forum can work in the full window or in frame inside drupal, integration in a drupal page under development.

usage

Nephilim - February 15, 2008 - 09:51

I have installed the phpBBforum module and I have it configured to show the forum in a frame on the drupal page. However when I click the menu link it says:

Not Found
The requested URL /phpBB3 was not found on this server.

The test in the settings all passed. Why is it not finding the forum?

I have installed phpBB3 to phpBB3/ inside the drupal directory.

Both Drupal 6 and phpBB3 are fresh installs with *only* this module added, no other changes made.

EDIT: I found the problem. It's in phpbbforum.module line 690:
    $output = '<iframe id="forumFrame" src="'. $path .'"; // name="phpbbforum"';

That $path only outputs /phpBB3 as the url and gives a 404 error.

Which brings me to the next issue. When a user creates an account in Drupal, they get an error saying "Unable to create new phpBB user: error:" I have the hidden authentication block activated, and all the settings are set as you describe in the INSTALL.TXT. Why is this not working?

i had the same problem even

pht3k - February 15, 2008 - 18:01

i had the same problem
even if phpbb3 is instaled under /drupal/phpbb3 and passed the test i had to move the phpbb3 directory directly at the root to make the inframe works
hope it helps
pht3k

First of all make the module work in the window

vb - February 15, 2008 - 20:01

1.First of all make the module work in the window mode and make sure it works well.
Download the latest dev version from drupal.org, replace files in the module dir /phpbbforum
Toworrow i will you give you futher instructions but only after we will do 1st without errors.

>When a user creates an account in Drupal
Which account, how many letters in name and password. How about the valid email address. What i could say if you say only it is no registering.
Did you check user registration settings in phpBB?

Go to the demo http://veberu.hostfabrica.ru/ and test that account. It is the same version under Drupal 6.
Test all work.
If the error occurs i will fix it.

I will download the latest

Nephilim - February 15, 2008 - 20:29

I will download the latest release and try it. However, just to let you know, I went to the site you link to and created an account and it gave me the same error:

Unable to create new phpBB user: <name> error:

I have just registered account

vb - February 15, 2008 - 22:15

I have just registered account bencko. Go and see.

I repeat.

"Which account, how many letters in name and password. How about the valid email address. What i could say if you say only it is no registering."

You do not answer me. May be it is my english.
Please, could you tell me what username, mail, password did you enter? How i can help you.

I think I figured out what

Nephilim - February 16, 2008 - 02:16

I think I figured out what the problem is. If you are using phpbb in an iframe, the module expects the directories to look like this:

/public_html/drupal
/public_html/phpBB3

rather than:

/public_html/drupal/phpBB3

Once I installed it like that, it worked fine. It seems kind of odd, but at least it fixed the 404 error and the registration problem. Is there any way to make it so that phpBB3 can be installed inside the drupal directory?

I did not test

vb - February 16, 2008 - 06:22

I did not test /public_html/drupal/phpBB3

On Demo site works inside

Drupal - ...../public_html/

phpBB3 - ...../public_html/phpBB3

Oh, I see. That works for

Nephilim - February 16, 2008 - 20:32

Oh, I see. That works for me then, because that's how the site will be once I move it out of testing and into production.

I'm just glad that I got it working. Thanks!

The requested URL /phpBB3 was not found on this server.

Jeremy Toaster - February 25, 2008 - 03:44

I am having this same issue, you stated that the problem was in that line, but you did not say what was done to fix it? Did you find a way to fix the issue? Everything else works just fine.

Thanks in advance.

jeremy

EDIT: I found the problem. It's in phpbbforum.module line 690:
    $output = '<iframe id="forumFrame" src="'. $path .'"; // name="phpbbforum"';

That $path only outputs /phpBB3 as the url and gives a 404 error.

help me

aruns4 - September 17, 2008 - 15:11

I would open a Support

Jeremy Toaster - September 17, 2008 - 18:14

I would open a Support Request instead of posting on this thread.
A lot of questions are not being answered on the thread.
Open a new ISSUE for this module and post your question there.

jeremy

iframe does not work by default

moviemaniac - April 3, 2009 - 11:25

Hi everybody, this is my very first activity on drupal's website.
I had the same problem. I set up the module to load the forum in a iframe, but the iframe did not work, it displayed a 404 error page.

I am using v. 1.04
I found your hint and took a look at the phpbbforum.module file. I came out with the following solution:

search the function

<?php
function _phpbbforum_page_inframe($path)
?>

add the following line right after the opening {

<?php
global $site_forum_url;
?>

then modify the following line

<?php
$output
= '<iframe id="forumFrame" src="'. $path .'"'; // name="phpbbforum"';
?>

as follows

<?php
$output
= '<iframe id="forumFrame" src="'. $site_forum_url .'"'; // name="phpbbforum"';
?>

and the forum will be loaded into the iframe.

Now I have another issue.
Everything works fine as far as I do not use clean urls. As soon as I activate clean urls, the forum gets loaded in an independent page, and not in an iframe.
But this is another story. I will investigate this and eventually share the solution, if any...

Bye

### UPDATE ###
I've tried the aliases as suggested by someone below and as written in the readme.txt which comes with the .zip of this module (again, I am using rlease 1.04, I do not want to use a beta in a production environment) but nothing.The forum won't load in a iframe if i use clean urls.

hii phpbbforum.module dont

MandrivaTurkiye - June 4, 2009 - 20:06

hii phpbbforum.module dont code. iframe = noframe code pls :S

How to make phpBB work in frame

vb - February 16, 2008 - 00:20

1. Go to Administer › Site configuration › phpBBforum settings

phpBB display way:
In the window
X In frame inside Drupal page

Save configuration

2. Go to Administer › Site configuration > Performance
Clear cached data

3. Go to Administer › Site building › Menus › Primary links
See Menu item phpbbforum (disabled)
Enable it.

Save configuration

or

3. Go to Administer › Site building > Menus > Navigation
See Menu item with blank title in state (Disabled)
You may enable it if you do not want phpbbforum in Primary links

If you enable it your forum page will be with title.
Reset will help to remove the page title if you disable it back.

Main page and link to phpBB in frame is

phpbbforum

All links from blocks will have that link instead of real phpbb.

3. Go to Administer › Site

doos - February 16, 2008 - 16:55

3. Go to Administer › Site building › Menus › Primary links
See Menu item phpbbforum (disabled)
Enable it.

Think this is my problem..i dont see it, there is nothing.

I think im at 99% of the right configuration but somewhere it seems i have missed something...

what works:
I can make account on phpbb3 forum, and then log to drupal, it authenticates with phpbb3 dbase and works
When i make account from drupal it says: no access to phpbb3 dbase to make account.
Also the iframe does not work, cant find link to phpbb3.

Im not really worried that it doesnt work within drupal, but i would like to have drupal be able to make accounts w/o getting error no access forum db ;-)

no rush no hurry, and thanks for the nice mod, im sure mine will work soon too. (hopefully ;-))

First go

vb - February 16, 2008 - 20:03

First go
3. Go to Administer › Site building > Menus > Navigation
See Menu item with blank title in state (Disabled)

if you do not see this item then

2. Go to Administer › Site configuration > Performance
Clear cached data

If you see Menu item with blank title in state (Disabled) you may go to

3. Go to Administer › Site building › Menus › Primary links
See Menu item phpbbforum (disabled)

If you do not see it, simple enter it with path phpbbforum
(may be i entered it before but forgot)

A couple of attemts and everything will be ok.

>When i make account from drupal it says: no access to phpbb3 dbase to make account.
Go to demo site and repeat, what it will say?
I do not have this message.

You should see in phpBBforum settings

phpBBforum settings
phpBBforum status

Successfully locating phpBB installation.
Successfully locating sites/all/modules/phpbbforum/includes/phpbb_api.php.
Successfully connected to the phpBB database.
Successfully authenticated phpBB user: admin.

If not, something wrong in your settings and it is no sense to go further.

its working now...my bad for

doos - February 18, 2008 - 13:02

its working now...my bad for not reading exact whats in the install text ;-)

How to change path phpbbforum in frame

vb - February 24, 2008 - 22:04

Add URL aliases. Core module Path must be enabled.

Main page and link to phpBB in frame is

phpbbforum

To change this name you may add URL aliases

Add next URL aliases (System path -> URL Alias)

For the path 'forums'

phpbbforum -> forums
phpbbforum/viewtopic.php -> forums/viewtopic.php
phpbbforum/viewforum.php -> forums/viewforum.php
phpbbforum/viewonline.php -> forums/viewonline.php
phpbbforum/memberlist.php -> forums/memberlist.php
phpbbforum/posting.php -> forums/posting.php
phpbbforum/search.php -> forums/search.php
phpbbforum/ucp.php -> forums/ucp.php
phpbbforum/mcp.php -> forums/mcp.php
phpbbforum/faq.php -> forums/faq.php
phpbbforum/report.php -> forums/report.php
phpbbforum/adm/index.php -> forums/adm/index.php

Administer › Site building › URL aliases › Add alias

Existing system path: http://example.com/phpbbforum

Specify the existing path you wish to alias. For example: node/28, forum/1, taxonomy/term/1+2.

http://example.com/forums

Specify an alternative path by which this data can be accessed.
For example, type "about" when writing an about page.
Use a relative path and don't add a trailing slash or the URL alias won't work.

All links from blocks will have that path 'forums' instead of system phpbbforum.

If you prefer name phpbbforum add these aliases

phpbbforum/viewtopic.php -> phpbbforum/viewtopic.php
phpbbforum/viewforum.php -> phpbbforum/viewforum.php
phpbbforum/viewonline.php -> phpbbforum/viewonline.php
phpbbforum/memberlist.php -> phpbbforum/memberlist.php
phpbbforum/posting.php -> phpbbforum/posting.php
phpbbforum/search.php -> phpbbforum/search.php
phpbbforum/ucp.php -> phpbbforum/ucp.php
phpbbforum/mcp.php -> phpbbforum/mcp.php
phpbbforum/faq.php -> phpbbforum/faq.php
phpbbforum/report.php -> phpbbforum/report.php
phpbbforum/adm/index.php -> phpbbforum/adm/index.php

You cannot enter directly
phpbbforum/viewtopic.php -> phpbbforum/viewtopic.php
the paths should be different when creating alias but they can be edited.
First create alias with different paths like
phpbbforum/viewtopic.php -> phpbbforums/viewtopic.php
Save, then edit to the same paths
phpbbforum/viewtopic.php -> phpbbforum/viewtopic.php

It works with or without Clean URLs enabled.

Still won't iFrame...

Jeremy Toaster - February 26, 2008 - 23:04

I have tried it both WITH and WITHOUT using the URL Alias, pointing phpbbforum to phpbb3
If I DON'T use Alias, it gives me the "Not Found

The requested URL /phpBB3 was not found on this server."
If I DO use Alias, it just opens phpBB3 in place of the entire site, not within the iFrame.

All my settings are exactly as described and set up in the instructions and on this page.
Any thoughts as to why this is happening?

jeremy

1. If your forum under

vb - February 27, 2008 - 05:31

1. If your forum under /phpBB3 your alias cannot be /phpBB3, choose another name.
2. Check in Menus phpbbforum item without title (Disabled).

My forum is /phpbb3 but I

Jeremy Toaster - March 16, 2008 - 15:33

My forum is /phpbb3 but I have aliased it as /phpbbforum and it still doesn't work.

There are NO errors anywhere else, all the phpbb settings are perfect, everything is "successful" no errors. It just won't load the forum In Frame.

Existing system path: * http://localhost/megalithrecords/www/phpbb3

Path alias: * http://localhost/megalithrecords/www/phpbbforum

If I enter this alias, then the forum just opens up in the whole window and replaces the entire site, it does not open within the frame.

1) Remove this alias I'd

vb - March 17, 2008 - 20:32

1) Remove this alias
I'd never said do this, i have said that you may set alias from page phpbbforum to something else (not phpBB3 in your case)
page phpbbforum can work without an alias, see readme and posts here
2) do no use localhost as domain, use real name like example.com even in test purposes.
the work under localhost is different und is not supported by the module, i have never tested it and do not see any sense to fix somewhat if there will be the bugs with localhost.

Why should 'localhost' make

Jeremy Toaster - March 20, 2008 - 01:46

Why should 'localhost' make a difference? I don't think that 'localhost' is the issue. But I will try it and see.

This may be OBE, but

AmmoBob - May 10, 2008 - 20:36

I installed this on a local test computer using Apache2Triad under localhost and everything worked fine.

1 Installed Drupal
2 Installed phpBB
3 Installed phpBB module
4 Activated the module
5 copied the functions_user file
6 set phpbb settings under the Drupal admin
7 logged off & back on and everything worked.

Will this module work with

Fayna - March 9, 2008 - 06:47

Will this module work with phpBB modules if we install them?

I think so but i did not

vb - March 12, 2008 - 19:37

I think so but i did not check. This version of the module did not affect phpBB code at all exept of functions_user.php.
If your modules are changing functions_user.php you should analyze this changes and decide wheter to install your modules before or after replacing functions_user.php and maybe you should patch functions_user.php at hand (see my function user_delete).

I was trying to support gender module. Should work.

I am really sorry if it is seems a stupid question but I have to

MGadAllah - March 20, 2008 - 05:07

Hi
I've just read the whole thread more then once and did read the INSTALL.txt file to know how to install this module but really still not able to do so.
The instructions mentioned in the file is really not clear to me at all, so may you please just make it simple?
For example ... which comes first phpbb or drupal?
And there are many instructions mentioned on the file that are really not clear for me
So any one may please simplify this instructions.
Thanks

phpBB user: Anonymous. You are not authenticated in phpBB now.

gameovercast - March 24, 2008 - 02:17

Hey sorry it might be kinda a dumb questions. Im 14 and in webdesign working on building a podcast so i don't know too much about phpbb and Drupal.

How can i fix this so it says my username?

If you need more info please tell me.

Thanks so much for your help!

Confused...

Saviour - May 4, 2008 - 15:57

I really would like to have this working on my site, but have yet to attempt it...due to the fact the INSTALL.txt file is so difficult to follow (understand).

Drupal's core forum leaves a lot to be desired...and integrating another forum into Drupal, such as SMF or phpBB, would be great.

Here are the questions and problems I am having with your module:

  1. I currently have Drupal installed in the root of my site at public_html. Where do I install phpBB3?
  2. Will my current Drupal forum categories, forums, users and posts be synchronized once the installation is successful?
  3. You'll need to make the INSTALL.txt file a little clearer...and a little more structured...since the lines all run together. Might I suggest using an HTML file, instead of a .txt file (formatting and wording it so that even the simplest of minds can understand it)?

I'm really not knocking this module...

It's just that after trying to understand the INSTALL.txt file...and reading this thread...I'm even more confused...and afraid to even attempt it since my site is live and I'm not using a test site. I'm also a little leary of attempting the install...since I may not be able to revert to my current forum, if there should be any installation issues that cannot be fixed.

I know that others have got this to work, but they may be a little more savvy than I. So let's assume I'm new to this (which I am) and hold my hand to walk me (or anyone else for that matter) through this.

Like I said...I currently have Drupal installed in the root of my server located at /public_html/.

Now what?

Thanks for all your help guys...

No Access to /forums/

nitsujri - May 18, 2008 - 20:33

Hi everyone,

I've read through most of this thread and couldn't find my answer.

I'm using D6.2, phpBB3.0.1, and beta3 of the integration module. No matter what I do, I cannot seem to get the 'blank' Navigation link to show up. I did it once, but I had no clue how it 'randomly' appeared. Also, when I attempt to make a Primary Link going to /forums/ the system returns me I do not have access to this location and cannot create the link.

Thoughts?

Thanks all.

authentication problem

Draxgar - June 5, 2008 - 11:39

Ave,
I have a problem with bridge. I read the install.txt, this topic, but it seems that my problem is unique: drupal can connect to the phpBB3 forum database, but authentication fails.
suppose the drupal is installed at: "http://drupal/" phpBB3 forum was installed from the address "http://drupal/phpBB3/" Both works standalone.
at http://drupal/admin/settings/phpbbforum the phpBBforum status:

Successfully locating phpBB installation.
Successfully locating sites/all/modules/phpbbforum/includes/phpbb_api.php.
Successfully connected to the phpBB database.
phpBB user: Anonymous. You are not authenticated in phpBB now. Please login to phpBB and test again.

Both drupal, and phpBB3 have the same password and admin username. (not "admin")

I tried logging both drupal, and phpBB3 forum, than running "phpBB authentication test". Clearing cache, and again running the test. running update.php, and again test, clearing cache, and test...
Everything fails.

The installation is correct. functions_user.php in phpBB3 is overwritten, As you can see from above phpbb_api.php is found.

bridge (phpbbforum) is configured to display it in the new window:
"phpBB display way:
X In the window
In frame inside Drupal page"

When I turn "in frame" mode, there's no link "phpbbforum" at http://drupal/admin/build/menu-customize/primary-links
When I turn any phpBBforum bridge element (for example phpBBforum: Hidden authentication) at the Block menu I got logout, and cannot login to drupal, but I can login to phpBB3 forum without any problems. I have no php errors in the logs

I hope I was clear ^^ If not, ask. sorry, but English is not my native language.

SOLVED
It was problem with phpBB3 cookies. Changed it to default and the problem with authentication is gone.

Almost the same problem

parka - July 16, 2008 - 07:51

I've exactly the same problem.

What do you mean by problem with phpBB3 cookies?

When I installed phpBB3, I left the cookies at their default values and didn't change anything.

I've tried installing phpBB3 database tables into my drupal database. Tables were prefixed "phpbb_". Didn't work.
I've tried installing phpBB3 tables into it's on database. Didn't work too.

Same problem-> "Anonymous. You are not authenticated in phpBB now. Please login to phpBB and test again."

I'm using same username and password for both drupal and phpBB3.

Anyone has any ideas?

Cron Password Sync Same Users Over and Over

Jeremy Toaster - June 7, 2008 - 13:02

[edit] moved further down the thread...

PHPBB OG integration

icekid - June 9, 2008 - 05:53

Is there anyway I can integrate the PHPBB forums into Organic Groups so that I can use PHPBB forums. The default forums in Drupal isn't good.

ucp.php?mode=login Page Not Found

Imaboyo - August 6, 2008 - 22:35

phpBB 3.0.2 & Drupal 6.3 & phpbbforum 6.x-1.03

Is the module supposed to authenticate you in both systems when you sign into one? So if I sign into Drupal should I be signed into phpBB automatically, and vice versa? The module recognises me when I am signed into both systems and I don't have any errors, but when I try to log into drupal with an account from phpBB it says the account does not exist.

Anonymous. You are not authenticated in phpBB now

PerryM - August 31, 2008 - 22:25

I love Drupal - I love phpBB3 - I'd love to integrate the two.

Installed phpbbforum-6.x-1.03 in Drupal 6.4 as per directions in INSTALL.txt.

I keep getting the dreaded:
"phpBB user: Anonymous. You are not authenticated in phpBB now. Please login to phpBB and test again." error

Drupal 6.4 and phpBB3.0.2 have the same admin name "Dummy" and password.

Installed phpBB3 3.0.2 two ways:
1) Same level as Drupal 6.4
2) Inside Drupal 6.4

I followed the directions in INSTALL.txt and copied over:
1) functions_user.php
2) functions_user-3.01 (and made it functions_user.php)

I've cleared caches, read all the posts here and still get the above error message.

Can anyone give me some suggestions?

Thanks for any feedback...

Hi VB

aruns4 - September 17, 2008 - 07:12

http://www.befolks.com

i am a beginner to drupal and have recently launched my site.

i am using drupal 5.10

i don hv any idea abt installing PHPBB.Got little bit confused with all those posts here

To my assumptions are correct,

to run phpbbforum i need

i)to download phpbbforum. i got it from http://vgb.org.ru/download

ii)downloaded phpbb3 from the official site.

placed PHPBB33 in webserver/apache/htdocs/drupal5.10/phpbb3

then i did as it told as my reference here in http://drupal.org/node/217369#comment-870844

WHEN i was about to copy functions.user.php as it was said before from the above link it displayed do i need to copy and replace the file as it was already there a file with the same name in weberver/apache/htdocs/drupal5.10/phpBB3/includes .and i replaced it.

then copied the phpbbforum to drupal/all/sites/modules/

then did i told.

then went to Administer->Site Configuration->phpBBforum settings

once i click it it displays as i have to install it.. got no idea after this

i have attached the screen shot..

http://drupal.org/files/issues/Capture_21.JPG ( i am testing this in my local server)

pls could u help me wat should i do after this and to run phpforum on my site..

hi vb

aruns4 - September 16, 2008 - 17:41

http://www.befolks.com

http://www.befolks.com

i am a beginner to drupal and have recently launched my site.

i am using drupal 5.10

i don hv any idea abt installing PHPBB.Got little bit confused with all those posts here

To my assumptions are correct,

to run phpbbforum i need

i)to download phpbbforum. i got it from http://vgb.org.ru/download

ii)downloaded phpbb3 from the official site.

placed PHPBB33 in webserver/apache/htdocs/drupal5.10/phpbb3

then i did as it told as my reference here in http://drupal.org/node/217369#comment-870844

WHEN i was about to copy functions.user.php as it was said before from the above link it displayed do i need to copy and replace the file as it was already there a file with the same name in weberver/apache/htdocs/drupal5.10/phpBB3/includes .and i replaced it.

then copied the phpbbforum to drupal/all/sites/modules/

then did i told.

then went to Administer->Site Configuration->phpBBforum settings

once i click it it displays as i have to install it.. got no idea after this

i have attached the screen shot..

http://drupal.org/files/issues/Capture_21.JPG ( i am testing this in my local server)

pls help me wat should i do after this and to run phpforum on my site..

phpbb3 with no admin id =2

markgawler - March 11, 2009 - 08:22

synchronyzation of account info usernames, passwords, emails, signatures, avatars (for drupal admin id = 1 and phpBB admin id = 2 username, password, email do not sync for security)

I am trying to integrate with a board which has been through at least two conversions / upgrades, Ezboard ->phpbb2 -> phpbb3. I come to a stop with the dreaded:
"phpBB user: Anonymous. You are not authenticated in phpBB now. Please login to phpBB and test again." error.

Whitest checking all the boars settings, privileges etc. I noticed that my phpbb3 board has no admin id =2, there is a anonymous =1. My account which has full admin privileges is user id 215 and there is no account admin. Is this likely to be causing me a problem?

I will try to integrate with a clean install of phpbb3.

Mark G

Wow!

gareth_w - February 3, 2008 - 18:37

This looks to be a great piece of work and I am sure that many people will benefit from it.

I have two questions before I can try to install this on my test site:

1) My Drupal is already bridged to Gallery 2. Do you expect any problems when used in association with this bridge?

2) How does this work with Private messaging - obviously phpBB has it's own system but I don't want to replace the one in the core as this is useful for articles - I don't want two inboxes for each user!

Many thanks,
Gareth

Go ahead

vb - February 3, 2008 - 19:17

1) i am sure, no problems
2) you may disable phpBB Personal Messages block

Just installed on my site.

tedhogan - February 4, 2008 - 15:20

Just installed on my site. I am running drupal 6 RC3 and phpBB latest version.

Changed phpbb install directory setting to "phpbb" instead of the default "phpBB3"

Get this error on the module settings page now:

fatal error: Cannot redeclare user_delete() (previously declared in /home/chichog8/public_html/widowssonschicago/modules/user/user.module:1550) in /home/chichog8/public_html/widowssonschicago/phpbb/includes/functions_user.php on line 565

FYI

Read INSTALL.txt 2) Install

vb - February 4, 2008 - 15:34

Read INSTALL.txt

2) Install phpbb mod phpbbdrupal.
Go to the directory .../phpbbforum/contrib/phpbbdrupal/
See and follow the instructions in phpbbdrupal/install.xml (not completed)
You must at least patch file functions_user.php to avoid name conflict
in function user_delete.

You should do this

You may simple to copy content of directory phpbbdrupal/root/ to your phpbb
root directory.

Works. Thanks!

tedhogan - February 4, 2008 - 16:29

Works.

Thanks!

had same problem

grantATL - May 7, 2008 - 19:05

but i dont know how to follow your instructions.

1. Read install.txt? What install.txt?
2. cant find a mod to phpbb called "phpbbdrupal" - google search produces nothing valid, nor do searches
on phpbb.com, drupal.org, or phphacks.com - where is this module for phpbb? Can I get a url please?

thanks again,

Grant

Installing and INSTALL.txt

Draxgar - June 5, 2008 - 11:05

Ave,
download the mod for drupal phpbbforum. At this day (for drupal version 6.x) the latest is here: http://ftp.drupal.org/files/projects/phpbbforum-6.x-1.0-beta4.tar.gz

unpack it.
go to phpbbforum, read INSTALL.txt.
lets say that You have installed drupal at /home/www/drupal/ You should install forum in /home/www/drupal/phpBB3/
Than You have to move functions_user.php file, from /where/you/unpacked/phpbbforum/contrib/phpbbdrupal/root/includes/functions_user.php to /home/www/drupal/phpBB3/includes/functions_user.php
Or, You can move all content /where/you/unpacked/phpbbforum/contrib/phpbbdrupal/root/* to /home/www/drupal/phpBB3/

copy /where/you/unpacked/phpbbforum/ to /home/www/drupal/sites/all/modules/

login drupal, go to Administer->Site Building->Modules and enable the phpbbforum module
configure it at Administer->Site Configuration->phpBBforum settings

good luck.

How do I apply the patch if I

OriginalSyn - March 24, 2009 - 23:19

How do I apply the patch if I don't have Shell access? I only have FTP, it's a shared host.

edit:nevermind... I realised I was using the alpha version

Hi!

barami - February 4, 2008 - 15:31

It's great works! Thanks for your work.
I selected drupal by this module.

But i want to search content on drupal with phpbb.
Is it works too hard?

i want to search content on drupal with phpbb

vb - February 4, 2008 - 15:40

But i want to search content on drupal with phpbb.
Is it works too hard?

I did not analyze this and even cannot say if it is possible.

me too

pht3k - July 21, 2008 - 05:09

i would love this too :)

How to connect?

tedhogan - February 4, 2008 - 19:12

What is the normal way to connect to phpbb from the main drupal site? What would I put in the menu item when I add one (just /phpbb_directory?)

Thanks,
Ted

Menu links to phpBB

vb - February 4, 2008 - 19:57

If you have chosen the mode Dispalay way in the window, simple make link in menu to /phpbb
In the mode in the frame inside Drupal menu link is hardcoded /phpbbforum
It should appear in menu list with blank title or may appear in Primary links.
With a couple of attempts it appears or you may enter it. You may need to clear cache in Performance settings.

Hi!

barami - February 5, 2008 - 06:55

I installed drupal 6.0 RC3 with this module.

It's working well.
But i saw error in My account menu.

Error message is
Fatal error: Cannot use object of type user as array in /home/xxxx/public_html/drupal/sites/all/modules/phpbbforum/includes/phpbb_api.php on line 229
What's wrong?

Have a nice day..

phpbb_api.php on line 229

vb - February 5, 2008 - 09:14

Thanks for the issue.
Change the line 229
!empty($username) && $username_clean == utf8_clean_string($phpbb_user['username'])) {
to
!empty($username) && $username_clean == utf8_clean_string($phpbb_user->data['username'])) {

I will include this in the next dev release.

Updated

vb - February 5, 2008 - 18:20

I have made a commit to HEAD Drupal 6. Within 24 hours it should be released.
You may download this or D5 dev version right now from http://vgb.org.ru/download page.

hi, this is a much

pht3k - February 6, 2008 - 05:09

hi,

this is a much appreciated module
however i have this error:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of _phpbbforum_login_alter(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.mauler/pht3k/example.com/drupal/sites/all/modules/phpbbforum/phpbbforum.module on line 228

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of _phpbbforum_login_alter(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.mauler/pht3k/example.com/drupal/sites/all/modules/phpbbforum/phpbbforum.module on line 311

any idea?
thanks,
pht3k

Committed to cvs HEAD

vb - February 6, 2008 - 08:18

Committed to cvs HEAD phpbbforum.module 1.7
take it from cvs or wait a bit till next automatic dev release

sweet! thanks!

pht3k - February 7, 2008 - 04:14

sweet!
thanks!

Encapsulation in Drupal's theme

TinoTino - February 8, 2008 - 10:07

There is a way to encapsulate the phpbb3 in the drupal's theme ??
My dream is to preserv the drupal's menù, the drupal's header and the drupal's footer in the phpbb's page.
Is it possible ??
Thanks

yes

pht3k - February 15, 2008 - 03:27

yes the module have the option to have the board in a frame

Problem with settings

fabrizio - February 15, 2008 - 15:46

Hello.

During the configuration of phpbbforum on drupal 5.6 and phpbb3 (6th point of INSTALL.txt) I obtain:

Error locating phpBB installation. Please fix your settings!
Error locating . Please fix your settings!
Unable to connect to the phpBB database. Please fix your settings!

But the path of phpbb is right (and the permissions are of webserver user)

What's wrong?

I'm trying also to modify these lines in drupal5/modules/phpbbforum/phpbbforum.module

//define('PHPBB_PATH', '/phpBB3/');

change to

define('PHPBB_PATH', '/forum/');^M
define('PHPBB_PAGE', 'phpbbforum');^M

But nothing changes...

My php board is in /www/site1/forum
My drupal is /usr/share/drupal5

Thanks a lot

See INSTALL.txt the paths

vb - February 15, 2008 - 19:56

See INSTALL.txt the paths and what and where to enter.
Download the latest dev version from drupal.org, replace files in the module dir /phpbbforum
Do not change constants in the module, enter the right paths in the settings.
Yo have the strange layout.
Try first simple layout as in INSTAL.txt
www/drupalsite.com - your drupal installation
www/drupalsite.com/phpbb - your forum

I'm trying to display the

Skaidon - February 15, 2008 - 22:32

I'm trying to display the forum within the Drupal layout. When I do so whenever I click a forum title the iframe comes up with a 404.

The iframe is linking to www.domain.com/phpBB/
When it should be linking to www.domain.com/folder1/drupal/phpBB/

Is there no way of setting this or making changes to the code?

Thanks for a otherwise great module!

See this comment above

vb - February 16, 2008 - 00:27

Workaround: use a symbolic link

yetanother - February 24, 2008 - 23:21

I had the same issue but fixed it by creating a symbolic link to the proper directory:

In a shell account: (DrupalDir is in MySite.com directory, phpBB3 is inside drupal directory)

cd MySite.com

ln -s DrupalDir/phpBB3 phpBB3

Unable to connect

piotrusc - February 17, 2008 - 13:07

"Unable to connect to the phpBB database. Please fix your settings!"

So, where do i define the db parameters ?

If your phpBB forum works in

vb - February 17, 2008 - 21:43

If your phpBB forum works in standalone mode all you need it is enter the absolute path to forum
Example
phpBB forum root path:
/home/vb/www/example/public_html/phpBB3/

After some troubles with

doos - February 18, 2008 - 13:00

After some troubles with READING ;-) yea read and I have read it 100 times again...its working now.
Just one piece of text i overlooked I almost decided to give up...

Well thx for the great mod.. Thumbs up!

Works for me too!

fabrizio - February 18, 2008 - 14:53

Great job vb! It works fine
If someone want to see it in action, you check http://www.slackware-italia.com
Just one thing: it seems to be working only with "phpBB3" settings as dir. I'm trying to change it in "forum" but doesn't work...

It should work. On my site

vb - February 18, 2008 - 15:37

It should work.
On my site root is
/home/vb/www/example/public_html/phpbb/

I think this path will work either, i simple not see the reason why not.
/home/vb/www/example/public_html/forum/

Did you disable core drupal forum?
Try the test installation on local computer.

It is the only one path i'd not recommend /phpbbforum

Still no db connection

piotrusc - February 18, 2008 - 14:58

It does succesfully locate my phpbb install:

Successfully locating phpBB installation.
Error locating phpbb/phpbb_api.php. Please fix your settings!
Unable to connect to the phpBB database. Please fix your settings!

When I fix the path to the php_api.php I get a blank screen when selecting phpbbforum settings.

drupal is in /site
Phpbb is in /site/phpbb

Thanks for a great mod !

use phpBB3 instead of phpbb

fabrizio - February 18, 2008 - 15:16

piotrusc try to use phpBB3 instead of phpbb

(in my case I had "forum" instead of phpBB3 and I must rename it)

phpBB3 - default value that

vb - February 18, 2008 - 15:50

phpBB3 - default value that is locating automatically
but you can enter
.../forum/
or
.../phpbb/
or something you like

Please see comment above and

vb - February 18, 2008 - 15:44

Please see comment above and try again.
Sometimes Drupal is not like beeing in subdir /site without changes in .htaccess
Try combination

drupal is in .../
Phpbb is in .../phpbb

But you must know absolute path .../ to enter in phpBBForum settings .../phpbb/
Do not forget trailing slash.

Still no go

piotrusc - February 19, 2008 - 19:37

Ok, thanks for the suggestions. I've tried the following and in both cases it can locate my phpbb install but not connect to the db. Phpbb Settings in drupal gives a blank page:

/home/vhosts/mysite.nl/httpdocs/site/phpbb/

and

/phpbb/

result in both cases:

Successfully locating phpBB installation.

I dont feel like changing the paths to the default phpBB3 cause I think the mod should work with any path. Thanks again !

>I dont feel like changing

vb - February 19, 2008 - 23:22

>I dont feel like changing the paths to the default phpBB3 cause I think the mod should work with any path.
I repeat again if you did not read this topic, it works in any path.

Your path settings should look like this

phpBB forum root path:
/home/vhosts/mysite.nl/httpdocs/site/phpbb/
Path to forum directory. Enter the full directory path where phpBB is installed.

Path to phpBB api file:
sites/all/modules/phpbbforum/includes/
Enter the full directory path where phpBB api file is located.

phpBB api file name:
phpbb_api.php
Enter phpBB api file name.

look at your subdir
sites/all/modules/phpbbforum/includes/

/home/vhosts/mysite.nl/httpdocs/site/sites/all/modules/phpbbforum/includes/

Are there files phpbb_api.php, phpbb_api_subs.php, phpbb_api_recent.php?

If not, copy them to this directory. Delete them in other locations.
There should be only one installation of these files.

Does phpBB3 itself work in standalone mode?
www.mysite.nl/site/phpbb/

Reread INSTALL.txt again.

Tell me please what is unclear in INSTALL.txt? Which item?
Bad instructions bad english or you did not understand something.
Did you do step by step exactly as written?
What I should change. Suggest your words, understandable for everyone.
I simple do not understand why people cannot perform so simple installation.

Installation Instructions

jeffsensat - March 6, 2008 - 09:23

Hi vb —

I also had troubles getting the phpBBforum module working with Drupal 6. I got phpBB3 working on my website in STANDALONE mode but when I attempted to access the “phpBBforum settings” admin area within DRUPAL 6, I got the error:

Fatal error: Cannot redeclare user_delete() (previously declared in [mywebsite.com]/d6/modules/user/user.module:1569) in [mywebsite.com]/d6/phpBB3/includes/functions_user.php on line 565

The phpBBforum module installation instructions in “Install.txt” are a bit hard to follow for those of us perhaps not as technically savvy. Also, unless I’m mistaken (and I sincerely apologize if I am!), it seems that English might be a second language for you. So, the instructions are a LITTLE hard to follow. I’ll go line by line and try to explain what’s hard to understand, and how I finally got it working:

This instruction was easy!:
2) Install phpbb mod phpbbdrupal.

And this one was easy enough, too:
Go to the directory .../phpbbforum/contrib/phpbbdrupal/

This is where it got hard to understand:
You must at least patch file functions_user.php to avoid name conflict
in function user_delete.

For those of us not-so-technically-savvy, it isn’t obvious what the above comment means. “Patch,” could mean: “copy some code from File A to File B. Or “patch” could mean something else. Either way, “patch” makes one think more user intervention is required than is actually necessary!

This next instruction is in broken English, which makes it hard to understand, ESPECIALLY for the technically-challenged(!):
You may simple to copy content of directory contrib/phpbbdrupal/root/ to your phpbb
root directory.

This is where everything went wrong for me. I was eventually able to decipher this and get the module working. I suggest you change it something like this:

Copy the file “function_user.php” located here:
[phpbbforum > contrib > phpbbdrupal > root > includes] ... to ...
[phpbb3 > includes] ... replacing the existing “function_user.php” file there.

Then, copy the four icons named:
“icon_home.gif,” “icon_members.gif,” “icon_pages.gif,” “icon_ucp.gif” ... from ...
[phpbbforum > contrib > phpbbdrupal > root > styles > subsilver2 > theme > images] ... into ...
[phpBB3 > styles > subsilver2 > theme > images].

In addition, one must DELETE the “INSTALL” directory inside the phpBB3 directory post-installation. It is not specifically clear in the instructions THAT or how this should be done. Otherwise, errors continue to pop up within the admin > modules > phpbbforum page within Drupal.

HTH

thanks!

vb - March 17, 2008 - 20:36

thanks!

Outstanding!

KahneFan - May 30, 2008 - 04:04

I just came across this and it was PERFECT!! Thanks!

thanks for the info

aruns4 - September 28, 2008 - 14:47

thanks for the info man..

http://drupal.org/node/310299

above is my previous issue..

i can get u til the 2nd step..

For those of us not-so-technically-savvy, it isn’t obvious what the above comment means. “Patch,” could mean: “copy some code from File A to File B. Or “patch” could mean something else. Either way, “patch” makes one think more user intervention is required than is actually necessary!

wht u meant by patch man. do i have copy the functions_user file to functions-3.01.php or what should i do..pls say me i don have an idea..

and i copied those above to subsilver theme in phpbb3.. but what abt prosilver theme. should i leave it just like that??

i read in install.txt in phpforum module that i sud not copy along with subdirectory of contrib to /sites/all/modules/.. ( line 34-36)

then from line 31-32 as it said i replaced all the contents in phpbb3..(i tried without doing this step also but could not get the output)

then i went to admin\modules and enabled it..

the prob starts here

then i went to admin\settings\phpforum

it says as here in the photocopy http://drupal.org/files/issues/Capture_21.JPG

i went to phpbb3\config.php and opened it in editor
to my suprise its blank and got no content..

should it contain some values.. pls do help me.

Installs but then gives error

cjeanson - February 19, 2008 - 23:18

I have just installed this module, and followed the instructions well (I hope).

Anyway, after installing phpBB3 and then creating the menu item, when I load phpBB it gives me this error:

SQL ERROR [ mysql4 ]

Table 'phpbb3.phpbb_config' doesn't exist [1146]

[Edit: there is no phpbb3.phpbb_config table in my database. There is a phpbb3_config table...?]

I have set phpBB3 to load within a Drupal window, and it generates this error when I try to use the menu item to get to phpBB3.

However, if I go directly to the forum (aka /domain/phpBB3/), it loads up without issue.

What did I neglect to do?

Never met this situation and

vb - February 19, 2008 - 23:36

Never met this situation and even do not know what to say at a glance.
Look at phpBB config.php

$table_prefix = 'phpbb_';

>What did I neglect to do?
I can imagine what you have done.

update

cjeanson - February 19, 2008 - 23:52

Yes, the table_prefix is set properly, and the phpBB config file looks golden. As I said, it loads fine when you go directly to the forum.

i.e.

http://www.spite.ca/drutest/ is the drupal side
http://www.spite.ca/drutest/phpBB3/ is the forum (** works **)
http://www.spite.ca/drutest/phpbbforum is both of them (** error **)

Before you posted, I wiped all of the phpbb tables and reinstalled the whole shebang from scratch. I figured I made a mistake along the way and missed something very obvious.

Unfortunately, I still get the same error.

I am not a MySQL expert, in fact it has been years since I started to learn the language, but I thought maybe I had an idea as to the problem.

The error refers to phpbb3.phpbb_config

Does this mean that:

phpbb3 is the db
phpbb_ is the prefix
and config is the field?

Because my database is not phpbb3. It is correctly defined as something completely different in the config.php file.

Since it runs when you go directly to the forum (domain/phpBB3/) am I correct in assuming the issue is not with the phpBB installation, but with the interface or bridge between Drupal and phpBB?

I greatly appreciate the work done on this module, I think it is perhaps one of the most important modules available for Drupal.

About activating menu item phpbbforum

vb - February 20, 2008 - 00:13

Yes, I followed those

cjeanson - February 20, 2008 - 00:18

Yes, I followed those instructions and added the menu item as instructed.

I should note though that I did have to follow the extended instructions and head into navigation, and enable it the blank menu, and then I added it in the primary links.

I went to your testsite but

vb - February 20, 2008 - 00:21

I went to your testsite but cannot understand something seeing on main page.
Enable blocks.
Give screenshot or text of phpbbforum settings page

Set in the window mode and

vb - February 20, 2008 - 00:31

Set in the window mode and enable blocks
On my demo site inframe mode does no give this error, you can see. http://veberu.hostfabrica.ru/phpbbforum
It is the last version of the module like on drupal.org

Which blocks do you want me

cjeanson - February 20, 2008 - 00:38

Which blocks do you want me to enable? I threw up the phpbbforum ones, such as top posters and whatnot.

The site is a fresh D6 install and the latest version of the module downloaded off of Drupal.org.

Settings ok Block Recent

vb - February 20, 2008 - 00:47

Settings ok
Block Recent post, Forum statistics

Did you examine php.ini settings (memory limit ...)

MySQL

cjeanson - February 20, 2008 - 00:49

MySQL database 5.0.24a
PHP 5.2.3
PHP memory limit 90M
PHP register globals Disabled
Unicode library PHP Mbstring Extension
Update notifications Enabled
Web server Apache/1.3.37 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.8 mod_ssl/2.8.22 OpenSSL/0.9.7e

Memory limit ok, but It

vb - February 20, 2008 - 00:57

Memory limit ok, but
It seems like lack of recources
Switch off inframe mode, set in the window mode.

Absolutely, here is a

cjeanson - February 20, 2008 - 00:33

Absolutely, here is a screenshot of the settings page.

Thanks again!

Screenshot

Did you replace

vb - February 20, 2008 - 01:08

Did you replace functions_user.php
It seems you did not

+/phpbbdrupal (phpBB forum root path: /home/vb/www/example.com/public_html/phpBB3/)
+/root ---------------------> +/phpBB3/
+/includes -----------------> +/includes
******* functions_user.php ----------> functions_user.php (replace or patch)

I did update the file, but I

cjeanson - February 20, 2008 - 01:14

I did update the file, but I will redo it again just to be sure.

I am working on setting the window mode, but I am having a very difficult time pointing to my phpbb installation in the path settings. Perhaps that is the issue? I was just reading some of the other posts, but then I read that it doesn't matter.

Right now, I have

/drutest is drupal
/drutest/phpBB3/ is phpbb

Another question as I ran

cjeanson - February 20, 2008 - 01:36

Another question as I ran multiple searches on the functions_user.php file.

In step 2, I have to find $db->sql_transaction('commit');

Well, technically it is in three specific places in the file. In mine, after step 1 it is on line 568, 849, and 2932. The documentation doesn't say to do all of them, so I only did it in the first location last time (I assumed it was only in one spot).

This instruction how to

vb - February 20, 2008 - 01:36

This instruction how to patch.
But you may simple replace with already patched function.
Take unchanged phpBB3 files do not change any line exept replace file functions_user.php with the supplied file.

I am going to move the

cjeanson - February 20, 2008 - 01:51

I am going to move the phpBB3 installation to the same level as Drupal (as suggested) and I will also just use the supplied file.

However, I would imagine that when others say the instructions are hard to follow, that could be one instance. If you added a line number to that step (approximately line xxx) then it might solve a lot of issues!

(Then again I could compare the two and just figure out which one it was too).

Will update in a bit!

Sorry I must go. Tomorrow

vb - February 20, 2008 - 01:15

Sorry I must go. Tomorrow will see.

>difficult time pointing to

vb - February 20, 2008 - 01:19

>difficult time pointing to my phpbb installation in the path settings
strange

I'd recommend / is

vb - February 20, 2008 - 01:23

I'd recommend
/ is drupal
/phpBB3/ is phpbb

try on a local computer to make sure that everything works

It appears the entire issue

cjeanson - February 20, 2008 - 02:35

It appears the entire issue revolved around having phpBB3 at the same level as Drupal, and not below it.

The documentation should be updated to reflect this, it will save some headaches.

Looks great now though! Time to do some fiddling!

Thanks again

usage problem (not for install)

Danthux - February 20, 2008 - 15:02

hello, i'm *succefully* (i guess) installed this great patch just with the readme inside the file. but i'm have a problem or maybe is a bug, anyway, when an user logout from phpbb3 it does not logout from drupal, so, profile's edit from drupal doesn't affect phpbb3. The problem doesn't exist when the user logout from drupal, but just from phpbb3.

my cms are on mysite.net/drupal6 and mysite.net/phpBB3 and i have the register with "phpbb master"

EDIT: it's seems to be solved by stripping away the logout from de phpbb3 template and keeping only the login from drupal.

Latest from forum

fabrizio - February 20, 2008 - 14:31

Hi.

I've added "Latest topic" in homepage.
It works great for anonymous user (they can see it), for administrator but not for register user.
When a register user login into drupal the block doesn't appears.
The permissions seems to be right.
Could someone explain me how to view this block for all?

Thanks a lot.

phpBB has your own policy of

vb - February 20, 2008 - 20:00

phpBB has your own policy of displaying recent topics. The module uses this feature.
phpBB does not show outdated topics to a registered users.
Post something and you will be watching your fresh post or topc during a number of days

You are right, vb. I'm using

fabrizio - February 20, 2008 - 20:49

You are right, vb.
I'm using a new user created for testing drupal/phpbb and doesn't show nothig.
If I try with an old user, works fine.
Thanks again.

Well, after getting it to

cjeanson - February 20, 2008 - 17:45

Well, after getting it to work in a Drupal-Window, I attempted to register a new user in Drupal and received the same error as another before me that it could not create the user account in phpBB.

So, I went over and registered in phpBB with the same information and everything worked fine. After syncing the passwords everything seems to work fine. However, I can't ask new users to go through the same.

My domain structure is:

domain/subdirectory/drupal/
domain/subdirectory/phpBB3/

Does this have anything to do with the visual confirmation that phpBB requires to be passed?

Also, I have noticed on the phpbbforum site that when you register, you can choose your own password. Perhaps this is required to be enabled for it to set the same password in phpbb. I need to know how to do this, my base drupal install generates a password for me.

Go to User settings (*)

vb - February 20, 2008 - 19:44

Go to User settings

(*) Visitors can create accounts and no administrator approval is required.

Clear checkbox

[ ] Require e-mail verification when a visitor creates an account

If this box is checked, new users will be required to validate their e-mail address prior to logging into the site, and will be assigned a system-generated password. With it unchecked, users will be logged in immediately upon registering, and may select their own passwords during registration.

Go to phpBB Admin and set

vb - February 20, 2008 - 20:38

Go to phpBB Admin and set

User registration settings

Account activation: () Disable (*) None () By User () By Admin
This determines whether users have immediate access to the board or if confirmation is required. You can also completely disable new registrations.

If you set By User, user must to login first to phpBB and after that you will see that he is registered.
Set to None for test purposes.

Username length:
Minimum and maximum number of characters in usernames. [1] [30]

Password length:
Minimum and maximum number of characters in passwords. [5] [30]

Security settings

Check IP against DNS Blackhole List: () Yes (*) No

You may switch off
Check e-mail domain for valid MX record: () Yes (*) No
If enabled, the e-mail domain provided on registration and profile changes is checked for a valid MX record.

All this are not the module matters. You should see all settings that may affect the behavior of the module.

>Does this have anything to do with the visual confirmation that phpBB requires to be passed?
Module skips this test while registering.
But you may try a valid username with valid email and valid password with or without captcha settings and report an issue.
Everything is possible.

I set up the settings as you

cjeanson - February 20, 2008 - 20:55

I set up the settings as you stated, and I still get an error, albeit an additional error.

When I create an account in Drupal, I get these errors:

Unable to create new phpBB user: testuser2 error:
Unable to create new phpBB user: testuser2 error: You have specified an incorrect username. Please check your username and try again. If you continue...

Now, if I go to the phpBB directly, I can create this username and password without issue. It works like a dream.

http://spite.ca/pballcanada/drupal/ - drupal
http://spite.ca/pballcanada/drupal/phpbbforum - bridge
http://spite.ca/pballcanada/phpBB3/ - direct forum

[Edit: is there a way for Drupal to use the generated password to populate phpBB's password? I don't really want to have people able to log in without email verification. I have old phpBB boards that receive 50 bot registrations a day]

You are right. In visual

vb - February 21, 2008 - 09:23

You are right. In visual verification validation was a bug.
hotfix right now, official update will follow tomorrow

file phpbb_api_subs.php
starting from line 267
please comment

//'email_confirm' => $email,
//'confirm_code' => '',
and
//'email_confirm' => array('string', false, 6, 60),
//'confirm_code' => array('string', !$config['enable_confirm'], 5, 8),

$data = array(
'username' => $username,
'new_password' => $password,
'password_confirm' => $password,
'email' => $email,
//'email_confirm' => $email,
//'confirm_code' => '',
'lang' => basename($config['default_lang']),
'tz' => (float) $timezone,
);

// Check and initialize some variables if needed
$error = validate_data($data, array(
'username' => array(
array('string', false, $config['min_name_chars'], $config['max_name_chars']),
array('username', '')),
'new_password' => array(
array('string', false, $config['min_pass_chars'], $config['max_pass_chars']),
array('password')),
'password_confirm' => array('string', false, $config['min_pass_chars'], $config['max_pass_chars']),
'email' => array(
array('string', false, 6, 60),
array('email')),
//'email_confirm' => array('string', false, 6, 60),
//'confirm_code' => array('string', !$config['enable_confirm'], 5, 8),
'tz' => array('num', false, -14, 14),
'lang' => array('match', false, '#^[a-z_\-]{2,}$#i'),
));

That worked, well done!

cjeanson - February 21, 2008 - 15:18

That worked, well done! Users are now created in both without any errors!

(I did submit a feature request for the password issue)

delete it please

fabrizio - February 20, 2008 - 21:43

I am having a hard time Installing this Module

wesley101 - February 20, 2008 - 22:09

I am fairly new to Drupal.

I just installed Drupal 6.0 and then copied the phpbb3 integration module into modules folders.
I also copied the contrib folder to phpbb3 root where I overwrite the function_user.php and overwrite subsilver style folder.

When I try to enable the phpbbforum module it gives this error.
http://www.devilsmonarchy.com/drupal

here is my phpbb3 forum http://www.devilsmonarchy.com/phpBB3

So why can't i even get into the module? I've had to restore my backup database a few times trying to figure out what I did wrong.

I would attempt to reupload

cjeanson - February 20, 2008 - 22:20

I would attempt to reupload the .module file, because the error being given relates to improper code of that file which should work. I would try deleting the current .module file and reupload and see if that fixes the problem.

Keep in mind that this module is in development, and so there will be issues before it goes to a release status.

Thank You Sir that worked. I

wesley101 - February 21, 2008 - 04:46

Thank You Sir that worked. I uploaded the module to my folders 6-7 times at work and apparently the file size was different. I should have checked that . Now my site is working again.

Okay new problem
when I create a user in Drupal I get
Unable to create new phpBB user: wesley101 error: You have specified an incorrect username. Please check your username and try again.

Drupal is set as the master registration. Also on the phpbbforum settings all passed and authenticated the admin.
http://www.devilsmonarchy.com/drupal

I also see you guys say enable hidden authentication in block.. If you mean enable like putting it to let's say right sidebar I have done that.
here is an image of it http://www.devilsmonarchy.com/download/phpbb.jpg
If this is not it then I don't see where else I can enable it.

I followed all the instructions and it seems to install well and I only want the Windows mode so I don't really care about the iframe.

Usually I am placing Hidden

vb - February 21, 2008 - 06:02

Usually I am placing Hidden authentication block above all phpBBforum blocks and near and above core User login block.
This block shows nothing, it is hidden.

I try to reproduce an fix an issue with user registration and think about passwords

Please, give me exactly what you have entered, I will test with your values
username
email
password

http://www.devilsmonarchy.com

wesley101 - February 21, 2008 - 14:48

http://www.devilsmonarchy.com/drupal

Here is the test account I been using
Username: wesley101
Password: computer
E-mail: wcheng4000@yahoo.com

Have others been able to get

cjeanson - February 21, 2008 - 15:23

I would check out the comment above...I had the same issue as you but this fixed it:

http://drupal.org/node/217369#comment-739856

Thank you so much...

wesley101 - February 21, 2008 - 16:36

Thank you so much... excluding those 2 lines did the trick.

scrool

niko66 - February 21, 2008 - 09:28

hi,the installation is ok,but..how can I do for delete the side bar and bottom?as I can widen the central table in frontpage.
I have already tried setting in phpbb from admin but it doesn't change.
this is the image
image

thanks..

The image link doesn't

cjeanson - February 21, 2008 - 15:25

The image link doesn't work...

You want to widen the central part of the site...are you running the forum in its own window or within drupal?

Your theme has fixed width

vb - February 23, 2008 - 05:56

Your theme has fixed width and unsufficient space for horizontal scrollbar.
See http://veberu.hostfabrica.ru/ without.
For the vertical settings see phBBforum settings. You can increase it.
The phpbb style prosilver shows vert scrolbars, subsilver2 do not.
I do not know why.

i have tried adjusting the

prophetizer - March 21, 2008 - 00:06

i have tried adjusting the height/width to get rid of scrollbars, but it doesn't seem to affect much. i've tried with both the default themes, works better with subsilver since it's more resizeable, but i don't understand why if i resize the window, i get vertical scrollbars, when it should just push the page down further? is there a way to force this?

Scrolling phpBB frame:

hallmark - March 31, 2008 - 13:30

Hi i have the same problem and here is the solution:

1) Open: phpbbforum.module
2) Find: if ($scrolling = 2) and change all the values to "no"
3) Upload and enjoy

Cannot authenticate as phpBB admin

CPyle - February 22, 2008 - 00:30

I'm running on a local apache installation.

Everything is set up according to the INSTALL.TXT instructions, but I cannot get phpBBforum's settings to recognize that I'm logged into my phpBB3 forum as an admin. All paths are correct and there are no conflicts that I see, and my forum works perfectly fine on any account.

Could it be something in my Apache or PHP configuration that's causing this?

refresh your cache, cookies

Danthux - February 23, 2008 - 03:56

refresh your cache, cookies and authenticated sessions on ffox (or the analogs for your browser).

i'm succefully installed it. this script seems to work perfectly, thanks for you job, man

btw, i already sync avathars between phpbb3 and drupal6, but just can't get phpbb signatures work... (obviously, i'm already activated them from User Managment >> User Settings)

regards

it works, see

vb - February 23, 2008 - 05:48

it works, see http://veberu.hostfabrica.ru/
Check your phpBB signature settings

Revise you settings.

vb - February 23, 2008 - 06:28

CPyle,
Revise you settings.
I'd recommend to take a look at phpbb Server settings and qookie settings.
Set to same admin username the same password, login to phpbb first and go to phpBBforum settings, save

Thanks for the reply, I'll

CPyle - February 24, 2008 - 22:17

Thanks for the reply, I'll look into this.

Log in problem

charonitalia - February 24, 2008 - 13:27

Hello! I istalled the module but I've got a little problem

If I register from phpbb3 it all just works fine.. the username would log in in both drupal and phpbb3. Istead if I register throught drupal and try to log in it gave me this error:

* Unable to create new phpBB user: prova1 error: Il nome utente inserito non è corretto, fai un’altro tentativo. Se il problema persiste contatta un Amministratore.
* Unable to create new phpBB user: prova1 error: Il nome utente inserito non è corretto, fai un’altro tentativo. Se il problema persiste contatta un Amministratore.

I would like to keep only the registration from phpbb3 but I can't find how to change the link on the log in block in drupal... what I have to do.. or did wrong?

This error occurs in last

vb - February 24, 2008 - 15:04

This error occurs in last version?
Could you translate next message from italian?
>Il nome utente inserito non è corretto, fai un’altro tentativo.?
>I would like to keep only the registration from phpbb3 but I can't find how to change the link on the log in block in drupal... what I have to do.. or did wrong?
In phpBBForum settings set mode phpBB Master.

Sorry.. my english is not

charonitalia - February 25, 2008 - 12:25

Sorry.. my english is not the best... probably I used the wrong words... look at Fabrizio's post, it seems we both have the same problem.

You should not register

vb - February 24, 2008 - 15:13

You should not register twice.
Simple login with name prova1 in phpBB and click any link in Drupal, logo is the best link.

Seems there is a problem with phpBB

fabrizio - February 25, 2008 - 11:42

Hello guys.

I'm trying to register a user in drupal (without moderator approval) and it tells me
Unable to create new phpBB user: usertry error:
The user works fine in drupal, but in phpBB there isn't.
I'm using phpBB as master.
For the user already register in phpBB every works fine.
If I register first the user on phpBB3 and after I logged into drupal, works fine.
Which is the problem?

In drupal I have these settings:

(*) Visitors can create accounts and no administrator approval is required.

[*] Require e-mail verification when a visitor creates an account

Thanks again.

Regards,
Fabrizio

Same error as mine! You

charonitalia - February 25, 2008 - 12:23

Same error as mine! You explained it better!

I solved.

fabrizio - February 25, 2008 - 13:30

charonitalia,

I solved this problem.
I download the phpbbforum module again about two hours ago, install it and works perfectly
(maybe there is some change in this release that fix this issue).
Try to download it again and re-install.
Follow tha UPGRADE instruction into INSTALL.txt file.
Hope this help.

Ciao.

THank you! I'll try!

charonitalia - February 25, 2008 - 19:15

THank you! I'll try!

--------

Woops! It's working!

Updating?

frechdaxx - February 25, 2008 - 13:27

Can I install this version and upgrade easily to a newer version?

frechdaxx, do you have

fabrizio - February 25, 2008 - 13:49

frechdaxx,

do you have already installed phpbbforum module?
If yes and you use drupal 5.x download this http://vgb.org.ru/files/phpbbforum-5.x-1.x-dev.zip and read INSTALL.txt files: the last 5 rows regard the UPGRADE.

Ciao.

Yes, simple replace all

vb - February 25, 2008 - 15:21

Yes, simple replace all module files with the new ones.

I got an existing phpbb

frechdaxx - February 25, 2008 - 16:38

I got an existing phpbb forum and want to add a bridged drupal 6..so I installed drupal in the root, and moved phpbb3 to the subfolder /community. Then I made the changes to phpbb. The line:

$db->sql_transaction('commit');

shows up two times..To which do I have to make the changes?

The phpbbforum folder has to be in root/sites/all/modules?

Thx for your help ;)

If your existing phpbb

vb - February 25, 2008 - 19:03

If your existing phpbb installation has unchanged original functions_user.php
You do not need to patch functions_user.php

You may simple to copy content of directory phpbbdrupal/root/ to your new phpbb
root directory .../community.

Module -------------------------> Your site paths
+/contrib
+/phpbbdrupal (phpBB forum root path: /home/vb/www/example.com/public_html/community/)
+/root ---------------------> +/community/
+/includes -----------------> +/includes
functions_user.php ----------> functions_user.php (replace)
^--------------------------------------------------------------V
And functions_user.php will be replaced with already patched one.

the funtions_user.php is

frechdaxx - February 26, 2008 - 07:35

the funtions_user.php is already modded..Maybe you should rewrite this part of the install, as more users could have the problem of finding the right line to change ;)

I dont get where to put the module, should in be in: drupal/modules/ oder drupal/sites/all/modules

I'm just asking because I think i have to put it in drupal/sites/all/modules, but doesn't modules have to be put into the modules folder in the root?

I just think that I better ask, before doing sth, wrong ;)

Drupal recommends to place

vb - February 26, 2008 - 11:58

Drupal recommends to place all contributors' modules to
drupal/sites/all/modules
not to drupal/modules/

The module should be placed in
/sites/all/modules/phpbbforum

ok thx ;)

frechdaxx - February 26, 2008 - 19:04

ok thx ;)

Thank u for this module, and one question plz...

Fe1ex - February 25, 2008 - 20:06

Everything looks fine, works in frame and so on...but when i login in phpbb and then goto my home site, i am not logged...hidden verification seems to be on...

Revise phpBB Settings

vb - February 25, 2008 - 20:39

Revise phpBB Settings

Cookie settings
These details define the data used to send cookies to your users browsers. In most cases the default values for the cookie settings should be sufficient. If you do need to change any do so with care, incorrect settings can prevent users logging in.

Cookie settings
Cookie domain:
Cookie path:

Server settings

Server URL settings

Domain name:
The domain name this board runs from (for example: www.example.com).

Script path:
The path where phpBB is located relative to the domain name, e.g. /phpBB3.

You should revise all settings that may affect the behavior of the module.

Enable phpBBforum: Hidden authentication block if it is not enabled.

Pay attention to Drupal User settings.

Did you pass authentication test?

error 500

jerrevds - March 1, 2008 - 18:07

I have just installed the mdule, but when i now click on 'administer' (i use the dutch version, so it could name somewhat else, but i mean the /admin/ link from drupal), then i get a 500 error, netherless, i could open al pages under admin (like modules etc, only the admin link itselfs gives this 500-error

*edit unchecked en re-cheked the module and the problem was olved

Need Major Help

tlksoup15 - February 29, 2008 - 20:30

I am new to Drupal and have just installed version 6.1. I would like to install phpBBforum but I do not understand the install instructions.

Can someone please post a a laymans install instructions. Thanks.

Install the module to

marcus0263 - March 6, 2008 - 00:34

Install the module to drupal/modules
copy drupal/modules/phpbbforum/contrib/root to /phpbb3/

activate the module
run drupal update to update the data base
go to Administer > Site Configuration > phpBBForum Settings

Check your settings and insure the path is correct to your phpbb3 location
Save

Go to
Administer > Site Building > Blocks
put "phpBBforum: Hidden authentication" in "Content"
Save
Also for good measure I'd run update again

Log out then log back in and all should be good

Edit ---

Also this is of course AFTER you have installed phpBB3 ;)

MySQL Error

riteshrk - March 8, 2008 - 11:59

Hi, i installed phpbbdrupal module as instructed.
icopied drupal/modules/phpbbforum/contrib/phpdrupal/root/ to phpBB3 after intallation of phpBB3.
i activated the module then. updated the databse. then went to admin>site confifuration > phpBBForum settings.
all settings were successfull.
me then put "phpBBforum: Hidden authentication" in "Content" and saved it.
updated the database.
logged out. when i login after 5 mins i got this error:

user error: SQL ERROR [ mysql4 ]

[0]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists. in /home/../public_html/phpBB3/includes/db/dbal.php on line 593.

secondly when i try to login directly to mysite/phpBB3 , it displayes following error:

SQL ERROR [ mysql4 ]

User db_phpb1 has already more than 'max_user_connections' active connections [1203]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists

this is the second time i'm facing this proble.
plz help me.
ritesh

download latest version. if

vb - March 12, 2008 - 19:47

download latest version.
if the problem remains, say to your provider about max_user_connections and ask to increase
or change your cheap hosting immediately

Block "New Forum Replys" disappears

Tarsinion - March 12, 2008 - 16:13

Hi all,

first thank for this very brilliant module. This module was the major reason
why i choose drupal as CMS.
Everything is working fine exapt one strange problem, the block "New Forum Posts"
is disappearing when a users loggs on. The block "New Forum Theads" remains.
I alerady cleared the cache and enabled logging, but there is no hint.
Changing the visibility settings didn't work..

Any idea?

Again, thanks a lot for your effort!

Edit:

Logging on as administrator on drupal shows actually the block, logging on as user (phpbb3 account) doesnt show the block.

>Any idea? It is

vb - March 12, 2008 - 18:59

>Any idea?
It is normal.
Answer in this thread here.
http://drupal.org/node/217369#comment-739033

Error, Please Help

bigmack83 - March 14, 2008 - 09:07

I origionally got an error then i modded the "functions_user.php" file and copies the styles folder. i then recieced the following error:

Parse error: syntax error, unexpected '}' in /home/site/public_html/forum/includes/functions_user.php on line 583

please help. email me at smcelroy@motiongd. net

You may use already patched function_user.php file

vb - March 17, 2008 - 20:43

You may use already patched file

Copy the file “function_user.php” located here:
[phpbbforum > contrib > phpbbdrupal > root > includes] ... to ...
[phpbb3 > includes] ... replacing the existing “function_user.php” file there.

problems logging in

leonglass - March 16, 2008 - 10:54

I have been trying to install this module as I really want to use phpbb on one of my Drupal sites. I am using the 5.x dev version and Drupal 5.7 . I have followed through the install file but think I am having a problem with the cookie/profile settings. I have created profiles with matching names and of type single inline text field with the exception of the birthday one which I have made a date. When I turn on the authentication block I then lose the ability to log on to Drupal at all and have twice started from scratch to get to the same point. Phpbb however is still available and I can log onto it with no problems. Something seems to be going wrong with the authentication process.

Before I turn on the authentication block I have the anonymous user not authenticated on phpbbsettings page. I tried looking at the cookie settings on phpbb and set them to the same as Drupal cookie. Any ideas what I have done wrong here? I have version 6 for both and I am going to try that out but I think the problem is with me and not the software.

I have figured this out now

leonglass - March 16, 2008 - 16:25

I have figured this out now and it was related to the position of my drupal and phpbb directories. More careful reading required sorry.

Scroll Bard

rapo - March 16, 2008 - 14:28

Hi there,
thanks for this module. A "MUST" for me.
I've a problem.
I've integrated the phpbb3 forum in Drupal. Everything works fine, but I get a scrollbar on the right of the forum for every combination of options i chose in phpbbforum settings (frame eight over or under 1024, Scrolling phpBB frame No, yes, auto). I'm using the garland themes in Drupal 5.6.
Is there a way to solve this?
Thanks.

PS
Surf to http://www.infernetto-ridens.it/ for a watch.

rapo, what have you set your

leonglass - March 16, 2008 - 14:54

rapo, what have you set your cookie to. I have looked at your site and seen that five cookies are set of which I am only getting two my drupal one and style_cookie from phpbb.

Cookies was setted following

rapo - March 18, 2008 - 09:30

Cookies was setted following the instruction fro phpbbforum. I've done a little change yesterday

I have mine working now also

leonglass - March 18, 2008 - 20:17

I have mine working now also but my problem seemed to be related to caching as well. I followed some advice above and moved the position of the phpbb folder to the same level as drupal and then it all authenticated. After that I wanted to test what it would be like on its own server so I created a virtual host for it and installed phpbb inside the public folder as advised by vb above.

http://site ---- drupal
http://site/phpBB3 ---- phpBB

Following the advice about clearing the cache didn't seem to work so I was again thinking what I had done wrong I used the clear cache button on the performance page and cleared the cache in Firefox but I was still recieving the annonymous authentication problem. I loaded the page in Opera and it all authenticated immediately. So it seems that there was still some cached information somewhere that stopped my user authenticating.

[edit]
I am still having problems with this in FF. With the set up above FF tells me that anonymous is not authenticated. I have made sure that I have cleared the cache for cache, cookies and authenticated users in FF and cleared the cache on the performance page but this doesn't seem to help. If I then close FF and open the page in Opera it authenticates immediately and works seemlessly. I can then activate the hidden block and works like a dream. If, however, I then go back to FF and open the page I can't even log into Drupal and have to fix it. If I haven't activated the hidden block I can log in and the settings page tells me that the test has passed but is also telling me that anonymous has not been authenticated (with green backgound). Please advise.

See

vb - March 17, 2008 - 20:02

See http://drupal.org/node/226442 my be it will help
I did this already.
I have already included this patch in release. You can download it if you do not have it.
You will find patched file under

...\phpbbforum\contrib\phpbbdrupal\root\styles\prosilver\theme\common.css

You can try to change in function

function phpbbforum_block($op = 'list', $delta = 0, $edit = array()) {

"<br />"
to space
" "

      case 3:
        $c = phpbbforum_recent_topics((int)variable_get('phpbbforum_num_recent_topics', PHPBB_NUM_RECENT_TOPICS), null, "<ul class = \"menu\">", "<br />");

      case 4:
        $c = phpbbforum_recent_posts((int)variable_get('phpbbforum_num_recent_posts', PHPBB_NUM_RECENT_POSTS), null, "<ul class = \"menu\">", "<br />");

Your central block should look much better.
Let me know I will see how it works.

Thanks.

rapo - March 18, 2008 - 13:33

Thanks.
Just found the problem: i didn't delete the forum cache ....ops..
I'll try your code: usig IE the layout has some problem.

thanks again

STEP BY STEP PLEASE...

supersportz - March 17, 2008 - 05:50

Can someone please do a Step by Step.

1.) Download Module "ABC" Package
2.) UnPack TAR/ZIP file
3.) Upload To Server directory ABC
4.) Set Path to "blah blah blah"
5.) Edit File: example.php (at line 1 add "a-b-c-1-2-3 code" before "d-e-f-4-5-6 code")
6.) Save File: example.php
7.) Upload: example.php to ABC Directory
8.) HOLY $#!+ IT WORKS!!!
9.) How bout them apples?

Regards...

Yes if just any one can do

MGadAllah - March 20, 2008 - 05:09

Yes if just any one can do such a thing

BLANK PAGE ON "phpBBforum settings" link in ADMIN

supersportz - March 20, 2008 - 20:47

I can't even get to the "phpBBforum settings" page. BLANK HTTP 505 ERROR page only!

What the???

I've followed the INSTALL.txt file instructions exactly and NOTHING! I get a BLANK "phpBBforum settings" page with a HTTP 505 ERROR message every time I click the "phpBBforum settings" link in ADMIN.

What am I doing wrong?! What Paths for waht files? this is starting to get very annoying...

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH!

Help me please...

Finally installed ok, but all forum links in homepage not found

MGadAllah - March 20, 2008 - 20:56

Hi
After two days of reading and rereading and googling for the right way to install this module I've finally installed it fine, and did the updates fine for the latest release of the module are every thing is up-to-date now.
I did not got any errors during installation or when exploring any part of the settings in the acp, and settings are set as mentioned on the install.txt.
The problem now that all links in the home page for the forum reporting The requested page could not be found when you hit any of them, for example, Create new account, Request new password, Top posters user, any topic/post link in the home page, and any other thing that should be exist on the forum. While the forum is showed fine in iframe with no errors, but this is what I have.
The structure is as follow:
Drupal .... /public_html/
PHPBB3 .... /public_html/phpBB3/
And I do not know what could be wrong or what could I forgot to add.
Please help me with this issue because I really do want to use this cms with this board, and just got two books for drupal and phpbb3 to learn them better and do not want to lose the previous 2 days effort trying to work it out.
Thanks
You can check links if you visit my website http://www.pro-designations.info/

I'm having a similar problem

micksmothers - March 26, 2008 - 00:30

I'm having a similar problem except phpBB3 does NOT show up at all in the iframe. I get a page not found error in any case when going to the forum. Looking at how stuff maybe should work, I would expect the URL http://my.domain.com/drupal/phpbbforum would bring up the phpBB3 home page. It doesn't. Will this not work at all if I don't have Drupal installed in my Apache doc root?

Disabled running in a frame for now until someone posts a solution, or I have more time to goof around with this. for me:

Drupal: /drupal
phpBB3: /phpBB3 (also symlinked to /forums)

NOTE: I don't get the blank menu item in the Navigation menu. Did I misunderstand how this is supposed to work? Do I need to add it myself?

OK, I got in the frame

micksmothers - March 26, 2008 - 04:54

OK, I got in the frame working...was a cache issue. I cleared it after every step this time and it actually worked. Now I just need to figure out how to get the scroll bar on the right of the iframe to disappear. I've tried both the "Auto" and "No" settings for the scroll bar in the phpbbforum settings page. I've increased the phpBB frame height also, but it seems to size the frame to the height automatically and still paints the vertical scroll bar anyway. I noticed vb's sample site does the same thing...maybe a teeny bug?

phpBB also has a lot of places where it jumps down to the last post read, or the post just made on the page. By running in a frame this seems not to work. I'm not sure if it's even possible in an iframe, but that sure would be a nice thing to make work if possible.

Maybe I'll poke around in the code a bit and see if I can figure it out, but I'm no php guru...far from it!

pls do help me man.. i

aruns4 - September 28, 2008 - 14:57

pls do help me man..
i spending days in this to solve this module problem
here is the link for my above post

http://drupal.org/node/217369#comment-1033510

i have tried adjusting the

prophetizer - March 21, 2008 - 11:44

i have tried adjusting the height/width to get rid of scrollbars, but it doesn't seem to affect much. i've tried with both the default themes, works better with subsilver since it's more resizeable, but i don't understand why if i resize the window, i get vertical scrollbars, when it should just push the page down further? is there a way to force this?

Can't get forum in frame to work

kappaluppa - March 23, 2008 - 16:57

Drupal 6.1
phpbb 3.0

I have followed all the instructions in the install.txt
Added url aliases
Cleared cache.

I still can't get the forum to show up in the frame. The link opens the forum in the same window.

Any ideas?

My site is located at: http://zetareunion.com/1/

=====

The only thing I wasn't sure how to do was this:

7) Ensure that phpBB profile fields map with corresponding
drupal profile.module fields.

8) Ensure that corresponding profile.module fields exist.
If necessary create profile.module fields that match with
phpBB profile fields.

Where do I look to see if those fields exist?

Where is the VB guy, he just

MGadAllah - March 26, 2008 - 17:14

Where is the VB guy, he just disappear and not replying any questions at all. Guys I've tried the other module for the same thing it is called phpbb. try it out because VB seems gone. Thanks

Not for 6.x

micksmothers - March 27, 2008 - 00:05

Unfortunately there's not a version for Drupal 6.x. This one mostly works, it's just a PITA to set up.

integrating phpBB into Webscribble WebDate

decibel.places - March 28, 2008 - 18:58

Ok, I know this forum is for phpBB integration with Drupal - but -

I am working on a Webscribble WebDate installation (pretty standard php/mysql) and I am inserting some other php/mysql apps, including phpBB3, into the web site using iframes inside of page templates.

The embedded content shows great, but it logs the user out of the parent app, WebDate.

I've been looking at SESSION and cookie variables, not quite sure how to proceed.

I would like to:

1. Keep the user logged into WebDate while viewing the embedded content.

2. Pass the username and password on to the embedded app for automatic login

Any advice would be appreciated. I know I could probably figure this out, but I'm not getting paid enough for the time that would take.

The info may be helpful to the Drupal community when embedding third party php/mysql apps.

(I develop Drupal sites, too - that's why I'm here)

Thanks

WebDate site url: http://datenyla.com (but you have to log in to enable the links at the top)

~are you netsperienced? http://netsperience.org

link from block appears in windows instead of in iframe

b00n12 - March 29, 2008 - 04:43

hi

Would like to thanks for this wonderful integration. I m able to get my forum to work in iframe however, i m unable to let the links from BLOCK to link within the iframe. Instead the forum open in windows.

This is my forum:

http://charlieportal.987mb.com/?q=phpbbforum

I need some help

tks in advance

A great module for

NeoID - March 31, 2008 - 18:16

A great module for sure!
However, got one question.. the only thing I would like to have is to print the following somewhere in my theme:

View private messages (2)
View new posts (46)

It would be easy to do this using the functions in phpbb3, is there a way of using them (maybe use phpbb3portal.com in addition to this mod?)?
Any better ways of doing it?

The argument should be an array

CFW - April 2, 2008 - 12:04

Hi,

If i fill out a profile in phpbb and next visit my drupal site, the follwing messages are dispalyed:

Data user_website => http://xxxxxxx.com, for alianz synced to Drupal.

warning: uasort() [function.uasort]: The argument should be an array in /home/vhosts/xxxxxxx.com/httpdocs/modules/user/user.pages.inc on line 170.

I'm having some problem with

SilverXXX - April 2, 2008 - 19:55

I'm having some problem with this module.
I made all the required step, and in phpbbforum setting page status is ok.
But i cant login with already created phpbb user.
I have phpbb and drupal folder at same level, is it still problematic?

I know this issue but

vb - April 3, 2008 - 09:33

I know this issue but have not fixed it. It occurs in D6.
If you fill in and save profile data the error disappears.

Thanks, it's solved now.

SilverXXX - April 3, 2008 - 09:43

Thanks, it's solved now.

Please download beta2

vb - April 23, 2008 - 21:30

Please download beta2

Great Mod!

metaphysics - April 4, 2008 - 06:48

Great Mod!

CSS Frame Fix

metaphysics - April 4, 2008 - 06:48

This may help with removing the problem with the scrollbar...

In the CSS find

html {
font-size: 100%;
/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
height: 100%;
margin-bottom: 1px;
}

and change it to:
html {
font-size: 100%;
/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers
height: 100%;
margin-bottom: 1px; */
}

Alternatively, you can just remove the bottom three lines, but this works the same. I don't know if this helps, but great module, and I hope that you can figure out how to do it without these frames soon!

It looks like that was

micksmothers - April 8, 2008 - 06:28

It looks like that was already commented out in the version I have. No extraneous scroll bar now...yay!

The most annoying thing to me though is that phpBB jumps to the most recent post, or after a new post it jumps to that post, but this mod defeats that when running in a frame. You can see the browser jump down, then pop back up to the top. Really, really annoying.

The only other problem is the logins timing out. Most of my users are used to the login being persistent over time. However even with the login timeout set to 0 (forever) in phpBB and persistent logins enabled, users are logged out after a time. Maybe there's an option that needs to be set in Drupal, but I sure can't find it. I even loaded the Persistent Login module, but it seems to do nothing.

Anyway, so far so good. Thanks for the mod!

Persistent login

yetanother - July 3, 2008 - 11:51

Is there any solutions for making login persistent? Users complain they have to relogin all the time.

Great module!

user notice: REMOVE_INSTALL

erc - April 5, 2008 - 02:13

user notice: REMOVE_INSTALL in /home/erc/public_html/phpBB3/includes/session.php on line 1585.

Site Eror Notice, Session.php Disable Board Warning

-------------------------------------------------------------------------------------------------
Drupal sites

http://www.amatorelektronik.com

http://www.amatorelektronik.net

http://www.amatorelektronik.org

http://www.paylasimkolik.com

i managed to instal

s3ba - April 6, 2008 - 17:20

i managed to instal phpbbforum and it works inside drupal (in main frame) but i have existing users and existing forums in drupal and it don't import them into phpbb. Is there an option to do so or should it import it from start and i made somethn wrong?

INTEGRATION NOT WORKING FINE

gglamenace - April 7, 2008 - 18:55

Hello
(excuse me for my bad english because I'm french)
I've follow the step of INSTALL.txt and I had no problem, but when I put PHPBB display in the window I have a blank page and when I put it in the frame I have a 404 error ! I don't know where I did an error... :s, If someone can help me because i don't know what to do do now...?
For developping a little, I've installed phpbb in: public_html\phpBB3\
and Drupal : public_html\
I've do all the alliases in the site, and phpbb is working fine standalone.
If you want to see the error : teamshine.free.fr/TnS/
Thx for advance

Just to notify to vb

fabrizio - April 9, 2008 - 21:56

Hello guys. Hello vb.
I would like to notify there is a new version of phpbb (3.0.1)
I've update it (from 3.0.0) using the same files modifed before for running phpbb + drupal 5.7 (README.txt)
Everything works fine.

Good job!

Regards,
Fab

I have updated changed functions_user.php from 3.01

vb - April 11, 2008 - 18:09

I have changed and updated functions_user.php from 3.01 to be exact.
http://drupal.org/node/245459#comment-803568
New versions wll be for phpBB 3.01

Pathnames

paf - April 16, 2008 - 00:10

You have omitted an apostrophe on line 760 after $path in phpbbforum.module:

$output = '<iframe id="forumFrame" src="'. $path .'"; // name="phpbbforum"';
it should be
$output = '<iframe id="forumFrame" src="'. $path .'"'; // name="phpbbforum"';

further, relative pathname doesnt work for me.
I installed under /dp/phpBB3 but the module is searching for /phpBB3

Where do I go from here?

Edit: Never mind. A symlink will do for now. I must confess I only skimmed the above posts the first time. But it's still a bug, right?

I will commit this fix and will release new version.

vb - April 16, 2008 - 08:32

>But it's still a bug, right?
Of course, you are right, thanks.
I will commit this fix and will release new version.

New User Registration

Jeremy Toaster - April 17, 2008 - 13:51

Everything on the module is working fine so far. But only for EXISTING users. If a user already exists in the phpBB database, when they log into Drupal they are asked for a new password and synchronization is made. But if a NEW user tries to create an account in Drupal (which is the master) after entering user name and email address, Drupal goes to http://www.mysite.com/user/register with a WHITE SCREEN and no user is created.

Is this a conflict in cookies ? is this a Drupal registration issue? or a phpBB module issue?

btw, I can not find where to set the Drupal cookie path either...

thanks

jeremy

Re: New User Registration

vb - April 18, 2008 - 03:02

I have tested the user registration in Drupal master mode on my installation, no errors.
Ensure you have the last version of the module.
Download, replace the phpbbforum.module.
New version is for phpBB 3.0.1.
If it is your version, replace new file functions_user.php.
If your version is 3.0 do not replace new file functions_user.php.
Ensure you have enough php memory limit. 16M or more. More is recommended.
If you get 4 green linies like

Successfully locating phpBB installation.
Successfully locating sites/all/modules/phpbbforum/includes/phpbb_api.php.
Successfully connected to the phpBB database.
Successfully authenticated phpBB user: admin.

you do not need to tnink about the qookies.

I have the most current

Jeremy Toaster - April 18, 2008 - 13:22

I have the most current versions of everything. Everything else works fine, I can posts, users are synced if they already exist. The only thing wrong is NEW USER REGISTRATION won't work.... ?

Drupal 6.2
Includes: Block, Blog, Color, Comment, Contact, Database logging, Filter, Garland, Help, Menu, Node, PHP filter, Path, Profile, Search, Statistics, Syslog, System, Taxonomy, Tracker, Trigger, Update status, Upload, User

phpBBforum Integration module 6.x-1.x-dev (2008-Apr-17)
Includes: phpBBforum

Your installation is up to date, no updates are available for your version of phpBB. You do not need to update your installation.
Current version
3.0.1
Latest version
3.0.1

php memory limit is set to 128mb

I own the server this is all running on as well.

http://www.megalithrecords.com

Go there and try to register up top, you just get a blank page after submission.

In Drupal :
Visitors can create accounts and no administrator approval is required.
Require e-mail verification when a visitor creates an account.

Both checked

In phpBB3 :
I have tried all 4 ways
Disable / None / By User / By Admin

I have turned CAPTCHA on and off

Any other suggestions?

jeremy

Enable clean URLs if possible

vb - April 20, 2008 - 18:32

I saw.
1. download last beta1
2. ensure you replaced new 3.0.1 functions_user.php (but registration works and with the old one)
2. Enable path.module and clean URLs if possible
3. Try to disable your login and enable core login block, may be you have not taken in account something.

On my local installation users are registered and no blank page.

Blocks

gameovercast - April 20, 2008 - 20:43

Hey is it possible to make the recent topics only say the title of the topic with the link. i don't want users or forum to be displayed there

Already done in beta1

vb - April 21, 2008 - 10:21

Already done in beta1

Ok I just

Jeremy Toaster - April 21, 2008 - 02:59

Ok I just downloaded
6.x-1.x-dev 2008-Apr-21
Also, the only login block I have is "User login"
Also just uploaded a picture to my user and that sync'd and worked just fine, but new registration still doesn't work.

I'm wondering if it is on the Drupal side and not the phpBB side?
I haven't been able to find any topics of people having the same issue WITHOUT phpBB. If you know of some links to this, that would be great!

What is the difference in

Jeremy Toaster - April 21, 2008 - 04:00

What is the difference in the beta and the dev versions?

Added some settings in

vb - April 21, 2008 - 10:28

Now current dev and beta1 are the same.
Added some settings in blocks, changes in login validation.
Did you try integration on a local installation?

If I see it on my sites, I

vb - April 21, 2008 - 10:48

If I see it on my sites, I will fix it.

The site is both local and

Jeremy Toaster - April 21, 2008 - 13:07

The site is both local and live, because I own the server and can work directly on it if I need to.
I am going to try disabling the phpBB module and see if new user registration works, if it DOESN'T then I know it's a Drupal issue, if it DOES, then I know it's a phpBB issue...

jeremy

Has anybody got blank screen after registering in Drupal

vb - April 21, 2008 - 16:53

Has anybody got this issue, blank screen after registering in Drupal?
Who is not getting this issue at all?

it can be complex issue that

vb - April 21, 2008 - 16:59

it can be complex issue that do not occur without the module. All is possible including module bugs and server settings and the environment as well.

Re: registration

vb - April 21, 2008 - 18:17

I have encountered such

vb - April 21, 2008 - 18:49

I have encountered such problems when php was in FastCGI not as Apache module

[Added]
Enter valid existing email

Welcome to test site

vb - April 21, 2008 - 18:28

Welcome to test site http://vgb.net.ru/
current dev version a bit more defense from bots then in beta1
all new D6.2, phpBB3.0.1

Ensure Security settings

vb - April 21, 2008 - 18:38

Ensure Security settings
Check IP against DNS Blackhole List: () Yes (*) No
Check e-mail domain for valid MX record: () Yes (*) No
Revise other settings.
Give php more max_execution_time = 600

Ahh!!! Looks like the "Check

Jeremy Toaster - April 21, 2008 - 19:23

Ahh!!! Looks like the "Check e-mail domain for valid MX record: () Yes (*) No" was causing the WHITE SCREEN...

Users are being registered in BOTH Drupal and phpBB now.

Need to see if the emails are being set though...
Will update. Thanks for the security suggestions!

jeremy

New Users

gameovercast - April 21, 2008 - 21:46

Hey VB,
I am using phpbb as the master registration forum. so the new users that register don't show up in the new users block

Any way to fix this?

Also

Hey is it possible to make the recent topics only say the title of the topic with the link. i don't want users or forum to be displayed there

It doesn't show up like that in my site

Ok, now that new users can

Jeremy Toaster - April 22, 2008 - 02:16

Ok, now that new users can register, what about syncing all the profile stuff from phpBB to show up in Drupal? OR, make the phpBB profile settings take over the Drupal settings?

ICQ number:
AOL Instant Messenger:
MSN Messenger:
Yahoo Messenger:
Jabber address:
Website:
Location:
Occupation:
Interests:
Birthday:

It is already in the module

vb - April 22, 2008 - 07:28

It is already in the module since 1st version.
INSTALL.txt
7) Ensure that phpBB profile fields map with corresponding
drupal profile.module fields.

8) Ensure that corresponding profile.module fields exist.
If necessary create profile.module fields that match with
phpBB profile fields.

Yea I saw all of that, but

Jeremy Toaster - April 22, 2008 - 13:51

Yea I saw all of that, but if I start changing things in those files, it will all go away upon upgrading and I will have to re-edit every single time a new version of the module is released. Shouldn't these match up by default?

jeremy

Sorry, hold on, I think I am

Jeremy Toaster - April 22, 2008 - 16:13

Sorry, hold on, I think I am figuring out what you are meaning...
in the phpBBforum settings, the Profile Mapping Fields, I need to set those up in Drupal Profile Settings and match them.
Ok makes sense now!

jeremy

All this work.

vb - April 22, 2008 - 07:36

>I am using phpbb as the master registration forum. so the new users that register don't show up in the new users block
>Any way to fix this?
All this work.
May be you have Block cache enabled? You see old info.

Yea I am having this same

Jeremy Toaster - April 23, 2008 - 01:19

Yea I am having this same issue as well

Total posts 8945
Total topics 1771
Members Total members 754
Our newest member Tomskare

I have had 19 new registrations in the past week and none of them have showed up as "Our newest member"

I do NOT have blocks cached turned on and I have flushed all the other cache's and turned them all off.
Any other thoughts / suggestions?

ps. thanks for continuing to work so hard on this module all the time!

im going to see if i can

gameovercast - April 23, 2008 - 03:08

im going to see if i can disable block cache. but i still don't get the options of setting the titles after upgrading

I even deleted the phpbb module and re installed it

Ok, I emptied the phpBB

Jeremy Toaster - April 23, 2008 - 03:58

Ok, I emptied the phpBB forum cache and now it is working!

Another note, I created some custom profile fields. I created a "MySpace Site" URL field, and it synced just fine. Then I created a "FaceBook Site" URL field and it didn't sync, now neither one sync. I have deleted them and inserted them again and still nothing.

In the databases, they are there in the Drupal User Profile section, and in phpBB they are showing up as fields to fill in, but I don't see them in the database. Do you know where custom fields are stored?

thanks

jeremy

FOUND them : Looks like phpBB custom profile fields are in "phpbb_profiles_fields"
Still not syncing though...

custom phpbb profile fields

vb - April 23, 2008 - 07:00

custom phpbb profile fields are not syncing in this version of the module.
this feature is simple not developed yet and i do not know when i could start with that.

Ok thanks! just wanted to

Jeremy Toaster - April 23, 2008 - 12:21

Ok thanks! just wanted to make sure I wasn't doing something wrong :)

VB what is the problem with

gameovercast - April 24, 2008 - 01:29

VB what is the problem with mine?

Something did wrong or not

vb - April 24, 2008 - 03:36

Something did wrong or not clear. Clear all cache, go to Admin Performance, disable all cache, clear. I do not realize your problem.

Custom profile fields do sync, but not at first

scliffe - June 4, 2008 - 06:32

I have two custom profile fields and they are not synced to phpbb when the account is first created. If you edit the account, make no changes and save it they sync.

I found that this is because these fields aren't in the Drupal $account structure in _phpbbforum_set_user_profile_data() when the account is first created so maybe they aren't saved in Drupal until after this is run?

Steve.

Primary Links Issue

Zeldar - April 29, 2008 - 20:44

Hi Vb and thanks for your work!!

I have installed Drupal, phpBB3 and your module :)

My folders are like this :

Drupal is here : www/.
phpBB3 is here : www/phpBB3
your module is here : www/modules/phpbbforum

Every thinks is working great (all green your module configuration menu) but I don't manage to add the primary links!!

I try everything, from "phpbbforum" to "modules/phpbbforum" passing by "/phpBB3", I always get the following message :
"The path "blabla" is invalid or ypi don't have the right to access it" (in french :p so it may don't sound like that in english :p).

Can you help me ? I am so close :p

Primary Links Issue

Zeldar - April 29, 2008 - 20:47

Hi Vb and thanks for your work!!

I have installed Drupal, phpBB3 and your module :)

My folders are like this :

Drupal is here : www/.
phpBB3 is here : www/phpBB3
your module is here : www/modules/phpbbforum

Every thinks is working great (all green your module configuration menu) but I don't manage to add the primary links!!

I try everything, from "phpbbforum" to "modules/phpbbforum" passing by "/phpBB3", I always get the following message :
"The path "blabla" is invalid or ypi don't have the right to access it" (in french :p so it may don't sound like that in english :p).

Can you help me ? I am so close :p

cleared the cache and it is

gameovercast - April 30, 2008 - 02:48

FIXED: Had to remove and reinstall it in the sites/all/modules

some problems

Andreich - April 30, 2008 - 09:15

I've installed module. Sync is ok. Thanks for nice module.
Forum is - forum.site.ru
Drupal is - www.site.ru

But have some problems:
1. I put on footer "online user". But link for "View online" is www.site.ru/forum.site.ru/viewonline.php
2. When I want put "Last topics" etc. on any block - site is crush. Blank page :(
And in error log PHP I have:
"PHP Fatal error: Call to a member function set_user_url() on a non-object in C:\Sites\path to forum\includes\functions_content.php on line 1133"

Uninstall

lilfields - April 30, 2008 - 20:28

I disabled the module but it has "Private Messages" stuck in the side navigation with no way to get rid of it. I can't get rid of it through the menu options and I've searched the database, but it's still there. How do I get rid of it?

Try Blocks?

gameovercast - May 1, 2008 - 02:51

Try Blocks?

Great Module, But a Few Snags

AmmoBob - May 2, 2008 - 21:47

Vb, Great module, and it is working, but I have a few snags or small problems:

1) My site Validates W3C XHMTL Strict with 0 errors, but when I enable the Forum Topic Block, I receive the below error. Do you know where I can find the code for this block, so I can fix this border error?

2) Sometimes the Forum Topic Block disappears when I log out of my blog and it is not visible for anonaymous users. It will come back when a user signes in to my blog. I have Drupal set up as the master. I've cleared the cache and even tried to force the block to be visiable for all users, but no luck. Any ideas?

Thanks and keep up the great work!

ERROR "Line 410, Column 354: there is no attribute "border".
…itle="View first unread post" border="0" />

1) done, committed, wait

vb - May 3, 2008 - 06:57

1) done, committed, wait next dev release.
2) Look at phpBB3 Admin Forum permissions for Guests
and look at http://drupal.org/node/217369#comment-739033

Ok, things are working now

AmmoBob - May 6, 2008 - 04:18

vb,

1. Ok, do you have any idea when the next release will be?

2. It's working fine now....

Thanks,

Setting Admin rights

Acorn - May 5, 2008 - 13:37

I have been asked about the possibility of integrating a phpBB forum into a Drupal site. I know quite a lot about phpBB, and nothing about Drupal.

We need to be able to make sure that the administrators of the main Drupal site do not have control over the forum, so will it be possible to make sure that a main site admin is just a normal member in the forum, and will the Drupal administrators be able to alter the permissions on the forum from outside it?

Thanks for your help.

re: Setting Admin rights

resveld - May 5, 2008 - 14:03

created a super user in Drupal and phpBB like explained in the install.txt

Create new drupal users with admin rights on the site, they will not be synced to the forum.
So you can have normal forum user as a super user in Drupal and vice versa

But a Drupal admin or super

Acorn - May 5, 2008 - 14:15

But a Drupal admin or super user would be able to set phpBB admin rights from Drupal, would they?

How long to integrate?

Acorn - May 6, 2008 - 07:36

This is probably a stupid question, but I really need to know, so I'll ask anyway.

At a rough estimate, for someone with Drupal knowledge and reasonable expertise (not me, but you probably figured that out) how long would it take to integrate a) an existing medium sized phpBB forum, or b) a new, empty phpBB forum with an existing Drupal site?

Thanks.

If you have enough php

vb - May 7, 2008 - 05:21

If you have enough php memory limit, good hosting, and typical site and phpBB layout it takes 1/3-1 hour
(inframe mode and fine tuning of profile sync may take more)
a)b) do not matter
drupal admin will not have phpBB3 admin priviledge if his name in phpBB3 does not have phBB3 admin priviledge.

Remove the node title "phpbbforum"

Jeremy Toaster - May 11, 2008 - 16:00

VB, thanks again for the great Module. Everything seems to be running smoothly now.

Had another question, how do I remove the node title "phpbbforum" that sites above my forum inframe ? In other blocks/nodes you can put in the title of the page, but that option isn't available that I can find for this module.

http://www.megalithrecords.com/phpbbforum

Below the breadcrumb HOME and about the title of the forum. If I could remove this title, it would allow the forum to go up a bit higher in the frame. I also plan to strip some of the visuals away from the forum, like the title and such, maximize space!

Also, is it possible to adjust the div padding for this module ONLY in the Drupal theme? or would it affect the padding of all content on the rest of the site?

thanks a lot

jeremy

You should disable

vb - May 11, 2008 - 18:09

You should disable phpBBforum Menu item and restore its blank title in Navigation Menu item to (disabled) state
You may need to switch off and on inframe mode.
You may need to clear in Performance Clear cached data.
Do not enable blank phpBBforum Menu item. Reread INSTALL.txt 10) 3., 4.
It is creative process that has a solution, try this game, not seeing a cannot say do 1,2,3.

Ah yes, thanks, I wasn't

Jeremy Toaster - May 13, 2008 - 01:39

Ah yes, thanks, I wasn't able to figure out how to make the Navigation name BLANK again, I was afraid hitting the RESET would flush all the "settings" for the entire module not just the menu items.
Thanks again!

jeremy

module directory

nonoy5 - May 13, 2008 - 17:12

vb,
Great work on the module!!! I know a LOT of people have been looking for this for a long time.
I am using Drupal 6 now and trying to integrate it on a fresh install of phpBB3 .
When trying to follow the install.txt I have a few questions:

1. Does your phpbbforum have to be in “sites/all/modules” or can it be in the individual
“drupal/Modules/” directory?

2. Does when does your module sync the users? upon login?

3. Also would you mind if I make a write up of my own and post it up here to clarify the instructions?

Thanks,
- Nonoy

1. As you want 2. Yes, and

vb - May 15, 2008 - 17:57

1. As you want
2. Yes, and upon clicking on somу drupal links if you have passed autentication test and enabled Hidden authentication block
3. I would be happy to write in english the instructions which will allow all to install the module without typical mistakes.
But now cannot do that.

Cannot modify header information - headers already sent by

AmmoBob - May 14, 2008 - 02:50

vb,

I started receiving this error in my recent log entries under recent reports (Drupal) a few days ago. I updated to the latest phpBB module you just put out and everything when fine, but I'm still getting this error.

Cannot modify header information - headers already sent by (output started at /home/myname/public_html/modules/node/node.module:1718) in /home/myname/public_html/phpBB/includes/session.php on line 916.

I think it has something to do with with my RSS feed, if that makes any sense. When I click on the error message, the location it shows is my rss feed.
http://bobsdailyblog.com/rss.xml

Any ideas? I'm getting about 20 - 30 errors a day in my log.

All can happen. I did not

vb - May 15, 2008 - 18:12

All can happen. I did not test all. But i do not think that the module is responsible for all that happen on site.
Take last dev version 15.05
Disable display both log and screen messages in the module settings.
Give me your reasons if has any that module is incompatible with something or this is its fault.

I'm having the same problem now

smanes - December 30, 2008 - 05:09

I'm running the latest D6 and phpBBforum module too. Did you find/fix the problem?

Email Validation?

prophetizer - May 15, 2008 - 12:09

how can we use this module to use email verification? it doesn't work right. for example, i would prefer if you could just use the phpbb3 to handle all registraions, but the register link takes u to the drupal registration. so ok, i use that, it sends out the email, with the 1 time login to change email. click the link, takes u to the website, says click the login button for 1 time login and it will redirect to change password, all it does it refresh the page, and your not logged in, so u can't change the password. how do i rectify this?

i noticed that the initial 1

prophetizer - May 15, 2008 - 18:00

i noticed that the initial 1 time login link doesn't work properly, but if i go back to the site, and hit request email, the new email that is sent works and it takes me to the change email page in my profile. so, how do we fix this?

edit - ok, it works sometimes, so something has to be fixed, otherwise u can have bots just register themselves

i have the same question

chinajason - May 20, 2008 - 03:58

how do u solve it?

Error message

dotdoms - May 16, 2008 - 10:31

Hi there, I just tried that mod and this is what it gives me:

Fatal error: Cannot redeclare user_delete() (previously declared in /path/to/hosting/public_html/modules/user/user.module:1575) in /path/to/hosting/public_html/phpBB3/includes/functions_user.php on line 302

Seems as if the module would have a prob with the user-module? :)

Read INSTALL.txt in

Whosat - May 27, 2008 - 02:27

Read INSTALL.txt in phpbbforum module. It states there you have to replace functions_user.php of phpbb3 with the one supplied.

White Page on May 17th Update

Jeremy Toaster - May 17, 2008 - 13:42

Just updated the module for the May 17th update and iFrame embedded forum gives white blank page.
Down graded to May 11th...

I have downloaded and tested

vb - May 18, 2008 - 05:23

I have downloaded and tested last dev release May 17. No white screen was detected in iframe mode.
Strange. In this release there are only the small changes that cannot give white screens, imo.

No Access to /forums/

nitsujri - May 18, 2008 - 20:42

Hi everyone (vb, THANKS this is awesome stuff, just having some trouble),

I've read through most of this thread and couldn't find my answer.

I'm using D6.2, phpBB3.0.1, and beta3 of the integration module. No matter what I do, I cannot seem to get the 'blank' Navigation link to show up. I did it once, but I had no clue how it 'randomly' appeared. Also, when I attempt to make a Primary Link going to /forums/ the system returns me I do not have access to this location and cannot create the link.

How can I get access to create the primary/secondary links?

Thoughts?

Thanks all.

Justin

[this is a double post, my original's stuck way up in the middle]
[edit]
I cleared the cache to no avail. I also removed and readded the phpBB integration module under the 'root' admin account (the account that's first created). The login synchronization seems to be working great (i can log in in either and it'll log me in to the other, vise versa). I just can't seem to get a way to get primary or navigation links to work.

so what about the email

prophetizer - May 19, 2008 - 11:51

so what about the email validation problem? seen this posted several times throughout the thread, but no answers on it?

Sorry, sometimes for some

vb - May 20, 2008 - 15:12

Sorry, sometimes for some reasons (my english, answers were already given in this thread and in issues and other reasons)
i am not answering or not able to answer all questions and discuss all submitted issues.
Did you try the last http://ftp.drupal.org/files/projects/phpbbforum-6.x-1.x-dev.tar.gz
I have made since last two dev versions some improvements in password sync, maybe your issue already was fixed.

definately not fixed. so

prophetizer - May 21, 2008 - 12:07

definately not fixed.

so heres the problem, for a new user, there has to be some sort of email validation, to keep bot from creating bogus accounts and spamming. so, a new user creates an account, and email is sent to them with a 1 time login link, takes them to a page that says you have just used a 1 time login link, click the button below to login and change your password. when you click the button, it takes you to the homepage and doesn't take you to the password change screen.

now, if there is a way to make the create account link goto the phpbb3 registration, that should fix the problem, or just figure out a way to fix the problem with the drupal registration.

i'm using captcha for now,

prophetizer - May 21, 2008 - 14:16

i'm using captcha for now, until we figure this out

i will fix it asap

vb - May 21, 2008 - 14:35

i will fix it asap

Please Download beta4 In

vb - May 21, 2008 - 19:02

Please Download beta4
In Hidden authentication block.

In configure add at least
(*) Show on every page except the listed pages.
user/reset/*
user/password

It is better then nothing, at least you will be able to login with new password in received email
After editing and changing password you will be logged out. Login with changed password

Update to beta 4, and i

prophetizer - May 27, 2008 - 13:17

Update to beta 4, and i think the changes are that now the create new account and request new password goto the phpbb3 forum registration, which is fine, thats what i prefer. but now the problem is when u get the registration email it goes to the forum outside of the frame, so theres no navigation for the actual drupal side of things.

also, if i'm going to use the phpbb3 registration, i want to disable the drupal registration. when i do that, the create a new user link disappears. no sense having both registration processes active if you only use 1 of them.

but, getting closer now, looking really good!

Don't tell it to create a

Jeremy Toaster - May 20, 2008 - 00:57

Don't tell it to create a menu item for /forums/ create on for 'phpbbforum'

If you are wanting to add a Primary Link...the path should be phpbbforum no slashes on the front or back.
Then create whatever name you want for the "Menu link title"
Then check box "Enabled"
Parent Item ""

Save that.
Then go to Menus > Navigation
Scroll down until you see anything with the words 'phpbbforum' or something related if you accidently named it something else.
Click the word 'reset' on the far right, next to the word 'edit', this should turn the Navigation link back into an blank empty link. This will take away the name of the block when embedded and should get your menu item showing up.
Also need to make sure that you even have Primary Links enabled and assigned to a certain Block.

Hope that helps

jeremy

Jeremy, thanks for help. How

vb - May 20, 2008 - 15:15

Jeremy, thanks for help.
How about last dev version. Did you try it on local computer? I do not see white screen on two installations.

Yea I'm not sure what the

Jeremy Toaster - May 23, 2008 - 01:41

Yea I'm not sure what the deal was, I rolled back a release, and actually I only installed have of it and left the other half from the newer version...

But I just updated to Beta 4 and everything seems to be working now.

links from emails not work correctly

prophetizer - May 27, 2008 - 12:54

if you use phpbb3 in a frame, if you get an update to a post or something in your email, goes straight to the forums. how can i get it to display in the frame?

try this function $output =

vb - May 28, 2008 - 18:02

try this function
$output = _phpbbforum_replace_links($output);

where would i put this

prophetizer - June 9, 2008 - 13:06

where would i put this function?

I am trying to give each

Konshu - May 28, 2008 - 21:16

I am trying to give each site a different phpbb3 forum for their site so I have a multisite drupal install 6.x. Is there a way I can properly implement this? It keeps giving me "404 file not found" when I try to access the phpbb forum directory.

Can't get forums directory

Konshu - May 30, 2008 - 00:48

Can't get forums directory to show up under multisites. using sites/subdomain.site.com/forums/ anyone have any suggestions how to get around the 404 errors?

how to show recent post and topic

jwxie518 - May 31, 2008 - 20:21

hey vb, i am sorry
but i had hard time to configure this issue

i want to display recent topic, online users, recent post and ect, like what you did on the demo site
http://veberu.hostfabrica.ru/phpbbforum

i have set my api files already
it's under
Path to phpBB api file:
sites/all/modules/phpbbforum/includes/

so what should i do in order to see those things shown on my site??

I have all my API files

Jeremy Toaster - June 3, 2008 - 03:45

I have all my API files sitting in the ROOT directory of phpBB3.

Like so,
Drupal = /public_html/
Modules = /public_html/sites/all/modules/phpbbforum
phpBB3 = /public_html/phpBB3/
API files = /public_html/phpBB3/phpbb_api_recent.php
/public_html/phpBB3/phpbb_api_subs.php
/public_html/phpBB3/phpbb_api.php

Everything that comes in the download files for phpbbforum module, I leave in the folder as well.
Just COPY the 3 API files into the root phpBB3 folder as well as make sure you copy the functions_user.php file over into the phpBB3/includes folder

oh are you commenting on my

jwxie518 - June 5, 2008 - 00:10

oh are you commenting on my question
if so, i did it already
but i don't see anything happens....
I have

public_html/robotics
public_html/robotics/sites/all/modules/phpbbforum/
public_html/phpBB3
and so i did with the api under phpbb3 too...

Do you have URL rewrite

Jeremy Toaster - June 6, 2008 - 13:52

Do you have URL rewrite enabled in Drupal?
Did your setting up of the phpBBforum module give you any errors ?
Sounds like maybe you don't have your path correct in the Module settings...

Cron Password Sync Same Users Over and Over

Jeremy Toaster - June 7, 2008 - 13:03

Ok new issue...
Everytime I run cron now, I get this same list of users password's sync over and over again.

* Operating in off-line mode.
* Data user_password => ****, for EssenceRec synced to phpBB.
* Data user_password => ****, for LowFreeman synced to phpBB.
* Data user_password => ****, for BoxVista synced to phpBB.
* Data user_password => ****, for ploeegget synced to phpBB.
* Data user_password => ****, for celticnecioso synced to phpBB.
* Data user_password => ****, for vderyug synced to phpBB.
* Data user_password => ****, for jchzbb synced to phpBB.
* Data user_password => ****, for sebastian synced to phpBB.
* Data user_password => ****, for Skavovie synced to phpBB.
* Data user_password => ****, for ffojnzbz synced to phpBB.
* Data user_password => ****, for Preveder synced to phpBB.
* Data user_password => ****, for wrerkxr synced to phpBB.
* Cron ran successfully.

Obviously some of those are spam users (which I don't understand how they are getting through either...)
I just wonder why these keep coming up?

Ok so I went and deleted these users
# wrerkxr
# ffojnzbz
# jchzbb
# ploeegget

And ran cron again it still says synced password for the remaining users

* Operating in off-line mode.
* Data user_password => ****, for EssenceRec synced to phpBB.
* Data user_password => ****, for LowFreeman synced to phpBB.
* Data user_password => ****, for BoxVista synced to phpBB.
* Data user_password => ****, for celticnecioso synced to phpBB.
* Data user_password => ****, for vderyug synced to phpBB.
* Data user_password => ****, for sebastian synced to phpBB.
* Data user_password => ****, for Skavovie synced to phpBB.
* Data user_password => ****, for Preveder synced to phpBB.
* Cron ran successfully.

Do you think maybe these users need to update their passwords or something?

jeremy

Hey VB, You have any

Jeremy Toaster - June 17, 2008 - 16:01

Hey VB,
You have any thoughts on this issue? It doesn't seem to be breaking anything, just a odd thing, EVERY time I run cron, these same passwords get sync'd, is it because these people haven't logged in or updated something?

Also, EVERY time I log in (Admin) my time zone is sync'd, for some reason phpBB and Drupal have two different time zone settings, Drupal does America/Chicago where as phpBB's is more specific allowing -06:00 ... ?

jeremy

hi

jwxie518 - June 7, 2008 - 17:52

Yes I do, I meant I enable the Clean URL
Whenever I click on phpbbforum setting, there is no error or anything....

Successfully locating phpBB installation.
Successfully locating sites/all/modules/phpbbforum/includes/phpbb_api.php.
Successfully connected to the phpBB database.
Successfully authenticated phpBB user: admin.

phpBB forum root path:
/home/hzhancom/public_html/goko/phpBB3/

Path to phpBB api file:
sites/all/modules/phpbbforum/includes/

phpBB api file name:
phpbb_api.php

and here
URL Alias

Alias System Operations
phpBB3 phpbbforum edit delete

This is funny

Existing system path: * http://goko.hzhan.com/robotics/phpbbforum

Path alias: * http://goko.hzhan.com/robotics/phpBB3

you can see, my phpBB3 is not located under robotics, but the system must say the phpBB3 is under robotics

Install Success, PHPBB works, Nice Menu not working

smurk75 - June 7, 2008 - 21:14

I installed on phpForum on Drupal 6 and works fine, db working fine. ONly problem is the primary links. My 1st 2 link categories (Nikon & Canon) work ONLY if your logged in. The Camera Wars is the forum link (which is also done under Nice Menu) is active all the time. What could have possibly changed the settings? I've double checked the Block settings, but doesn't make sense because Camera Wars is under Nice Menus which is set to view by all.

Nice scripts, just need to fix the bug. =)

www.canon-vs-nikon.com

Working now.

smurk75 - June 8, 2008 - 07:54

Update. I just removed the link and added it back and now it all works. I originaly had the link up before installation and then linked it to phpbbforum after installation, which could have been the cause........

www.canon-vs-nikon.com

Existing forum content not transferred

amnion - June 8, 2008 - 22:53

Is it supposed to put all your existing drupal forum info into the phpbb forums after install? I got the phpbb module to install and everything on the first try and it shows up in the frame and everything. But it still just shows the stuff I had put into the phpbb forum to test it prior to all that. None of my other forum stuff shows up. I have disabled cache in Performance.

Anybody?

amnion - June 10, 2008 - 20:34

I am just wondering if it's supposed to pull all your existing forums into phpbb. Has it done that for anyone else? If not, let me know too so I can stop going crazy over something it's not even supposed to do. How many people have gotten this to work right?

I think most people

Jeremy Toaster - June 11, 2008 - 02:06

I think most people installed this module on a clean Drupal site and weren't using the Drupal forum already.
I am not aware of an importing tool/setting within the phpBBforum module. I never saw one or saw mention of it when installing mine.

jeremy

Thanks

amnion - June 11, 2008 - 02:35

I was just curious because it said it can be used on a working site and forum with existing users; if it doesn't transfer the forum posts over, I wonder if vb would consider creating a script or something that would do that.

hey jeremey i think i got

jwxie518 - June 14, 2008 - 05:09

hey jeremey
i think i got it
the reason why i didn't have the api things show up
omg, i just learned it got to go through the creation of a block

ty man

where am i suppose to put this?

prophetizer - June 11, 2008 - 16:45

try this function
$output = _phpbbforum_replace_links($output);

(No subject)

mmmweb - June 17, 2008 - 03:53

phpBB user: Anonymous. You are not authenticated in phpBB now.

Whosat - June 21, 2008 - 02:19

Pulling my all my hair out over this.

I keep getting this error:

phpBB user: Anonymous. You are not authenticated in phpBB now. Please login to phpBB and test again.

in the red box in phpBBforum settings in Drupal. The rest are green, being able to locate the installation and connecting to the phpBB database.

I have already tried logging into both my main 'admin' accounts, and another admin account I created. Both have the exact same usernames and passwords on phpBBforum and Drupal.

Tried reinstalling phpBBforum, changing the master reg system to Drupal master, etc. etc.

When I choose the Passed radio button in the phpBB authentication test in Drupal, I will get logged out from the drupal site, and the only way to log in again is to go into phpmyadmin to reset that value to 0...

Can anyone help me? Really desperate. =(

More:

Whosat - June 21, 2008 - 03:24

I just tried moving my phpBB3 installation into drupal's root directory, in my case,

/home/sjimb/public_html/drupal/phpBB3/

no luck - same problem.

Also, I tried enabling the hidden authentication block on the left sidebar, adding the 2 lines

user/reset/*
user/password

in the exceptions box of the block's configuration.
It caused me to log out and not be able to log back in, forcing me to rename the phpbbforum folder in sites/all/modules to be able to re-log in and uninstall the module.

Help with connection

doperecipesdotcom - June 24, 2008 - 21:06

Hi there, I just installed the phpbb mod on my drupal site. Now im stuck with connecting the mod with my page. the 4th step I am brand new with all of this and I do not understand what I need to do. I enabled the path mod in the Core, but thats it. Can some one help me with this darn thing.

Thanks

Ron
Dopeculture.com

Help with connection

doperecipesdotcom - June 24, 2008 - 21:09

Hi there, I just installed the phpbb mod on my drupal site. Now im stuck with connecting the mod with my page. the 4th step I am brand new with all of this and I do not understand what I need to do. I enabled the path mod in the Core, but thats it. Can some one help me with this darn thing. when I type in http://dopeculture.com/?q=phpBB3 drupal comes up with its 404 error page. (page not found). So when im doing the URL aliases part drupal says that the link to my forum page isnt valid.

What should I do?
Thanks

Ron
Dopeculture.com

Which one!

diego.cortassa - June 28, 2008 - 21:14

I'm building a new drupal site, i'm using drupal 5.7 (6 is no go because I'm using ubercart) and I'd like to integrate it with a phpbb 3.0.1.
Looking round on drupal.org I understand there are two modules to do this phpBBforum and the phpbb module, both of them seem to be actively maintained. Anyone have experience using both of them ? Which one should I use ? Which one is more stable and featured?

Thanks
Diego.

This One

amnion - June 30, 2008 - 09:31

Has more features, for instance, pulls avatars, and profile info, has blocks that show latest posts, etc. I don't think the other one does that, and I haven't had any problems with this one. I think the other one just links the logins.

Frame automatic resize

haderka - July 13, 2008 - 18:59

Hello vb (and everyone). First, thanks for your excellent work on this module. I have the following problem. The frame does not resize when the forum has lower height than the value "phpBB frame height" entered in the phpbbforum settings (see http://www.vlasy-in.cz/phpbbforum) which results in unnecessarily long pages. I have a feeling that it used to work that way in some previous dev. version (used on a different hosting - http://annie.upol.cz/haird57/phpbbforum - can server settings have some influence?). "phpBB frame height" is set to 10000 in both cases. I know that I can set "phpBB frame height" lower and use a scrollbar when the forum has larger height but that is not what I want. I use the latest 5.x-1.x-dev version on drupal 5.7.
Edit: It does the same thing in v. 6.x-1.02

Edit2: Problem solved!!! It was related to placing .htaccess to the same directory as the forum which was a subdirectory of the drupal (domain root). When I placed relevant parts of the .htaccess to the root .htaccess, the frame gets resized as expected.

can you specify?

conza - July 22, 2008 - 09:40

hi,

can you specify more detailed in what you did, please? :)

I just installed this module

aussieholden - July 4, 2008 - 02:04

I just installed this module for my phpBB3 forum I got the path right but I get this error message ??

Fatal error: Cannot redeclare user_delete() (previously declared in /home/aussiep/public_html/home/modules/user/user.module:1575) in /home/aussiep/public_html/forum/includes/functions_user.php on line 572

Whats gone wrong ???

Now i am getting this error

aussieholden - July 4, 2008 - 02:42

Now i am getting this error message ???

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 311296 bytes) in /home/aussiep/public_html/forum/includes/functions_display.php on line 420

Read INSTALL.txt Its all

Whosat - July 19, 2008 - 02:01

Read INSTALL.txt

Its all stated there clearly.

Problem with !login_url in email after registration

kostin - July 6, 2008 - 21:49

Hello.

When new user register on my site via drupal and go to link in a letter with temporary login (!login_url in letter text settings) site do not authorize user.

But if manually fill in login and temporary password everything is ok.

Any ideas?

 
 

Drupal is a registered trademark of Dries Buytaert.