By vb on
phpBBforum Integration module provides integration with phpBB3 Forum http://www.phpbb.com/.
Initial release http://drupal.org/project/phpbbforum
phpBBforum Integration module provides integration with phpBB3 Forum http://www.phpbb.com/.
Initial release http://drupal.org/project/phpbbforum
Comments
I just installed this module
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
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
Read INSTALL.txt
Its all stated there clearly.
.
.
Problem with !login_url in email after registration
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?
Wrong links in the phpbbforum blocks
Good evening.
I'm currently experimenting with Drupal 6 and phpBB3 to build a community website for a student organization.
In order to test everything, I'm working on a virtualized webserver (vmware running Debian 4.0).
Apache is configured to enable user dirs.
I installed
- Drupal in /home/ante/public-html/drupal/
- phpBB3 in /home/ante/public-html/drupal/phpBB3/
The phpbbforum bridge works and I can login from within phpbb3 or drupal. Idem when I use the OpenID login method. The blocks also show the number op online users, last post etc., but there's an issue with the links generated by those blocks.
Instead of the expected http://192.168.1.123/~ante/drupal/phpBB3/viewonline.php I get http://192.168.1.123/phpBB3/viewonline.php for example. Same problem for the icons that should be displayed.
How do I fix this? Are there specific php files I need edit or is there an easier way?
Thank you for reading my post and hopefully someone can give me some advice.
Best regards,
Syaoran
Making use of phpbbforum API
Greetings,
For layout reasons I wish to use the "display new private messages" bit outside of a block. One of the other topics on this module you replied and said there was a README for the phpbb_api files, but its just the same README thats in the zip and doesn't really have anything but a list of the files.
I'm wondering, how can I make use of the API you've provided in order to display the number of new private messages when someone is logged on and viewing one of my drupal pages.
I'm a little new to Drupal and I don't know how you can view blocks that are provided by modules in order to edit them. I could probably figure it out if I knew that but any help would be nice.
@vb I don't know if I should
@vb
I don't know if I should call it a phpbbforum releated issiue or a limitation in phpbb3, but I need some help with getting the module to run on my multisite-configuration.
The deal is that everything works nice when I enable the module on domain1.com. I may login to Drupal and I'll automatically be logged into phpbb as well... it's magic!
However, if I visit domain2.com and try to enable the module, I get a warning that I'm not logged into phpbb3.
The problems seems to be that the cookie-domain in phpbb3 is called domain1.com... is there a way of getting this module to work on a multisite-configuration?
Would it cowork with Drupal+LDAP enabled?
I have installed module LDAP integration(http://drupal.org/node/212372) and then LDAP accounts can login successfuly.
Later I found this great module phpbbforum and install it as fast as I can. Tt work very gracefuly, But MUST withOUT LDAP enalbed, otherwise only local accounts in Drupal/phpbb can login.
Could they all work together? Which setting changes should I make?
I'v found the following code
I'v found the following code in phpbbforum.module. What make me curious is why it does't work?
My environmet:
Drupal 6.3 + ldap_inegration(the latest verion for D6 with v6.diff patched download from above) + phpBB3 3.02 + phpBBforum Integration module 6.x-1.03
if (module_exists('ldap_integration')) {
function phpbbforum_ldapauth_login_validate($form, &$form_state) {
global $user;
if (!$user->uid) {
$pass = trim($form_state['values']['pass']);
if (!empty($pass)) {
ldapauth_login_validate($form, $form_state);
}
}
}
}
I changed from
I changed from ldap_integration to ldapauth in the following line, authentication works now.
What change can make phpforum module to Create the user acount authenticated by Druap against ldap automatically?
if (module_exists('ldap_integration')) {
PS:
PS:
When using phpBBforum Integration module with LDAPauth enabled, once LDAP account try to login, Drupal responsed a notice in the top of page as below:
The phpBB username TestUser is not found in phpBB
I still have the problem
I still have the problem with "phpBB user: Anonymous. You are not authenticated in phpBB now. Please login to phpBB and test again."
What are the things/settings I should check on phpBB3?
I've created it with its own database, no tables with prefixes to their names, not merged with drupal database.
not a setting in phpbb
parka,
Anonymous User is a default in Drupal, Guest is default in PHPBB.
DRUPAL: Open Administration, Site Information, and towards bottom, change Anonymous User to Guest.
Grizz
Thanks, but still not working.
Hey Grizz!
I just saw your message. Thanks!
Unfortunately, it still does not work. I just updated to phpbbforum 1.03, but still to no avail.
Just keeps giving me:
I have logged into admin on both forum and drupal, tried logging into another account with administrator priveleges, changed the functions_user.php, followed the instructions in install.txt, but no, it just refuses to work! =(
Any idea what's happening?
EDIT:
Just some extra info about my site:
Drupal is located in public_html/drupal
Drupal's site is in subdomain http://site.domain.com/
phpBB3 is located in public_html/phpBB3
phpBB3's site is in subdomain http://forums.domain.com/
Would any of the above result in any conflicts?
Regards,
Whosat
Me Either! D:
This part still not working for me, either.
I second the need to have someone explain exactly what we need to alter to get our sites to authorize again? This is driving me crazy.
I did find that by logging into phpBB3 and then clicking on Administrater Control Panel, you can see links to the various settings mentioned here. However, I don't understand what they should be set to. I've also seen someone mention that they should be compared to Drupal's settings, however I'm not sure that is even feasible because the only Drupal settings that are similar I've found do not share the same options as phpBB3 that I have seen.
Please help!
sub domain...
Whosat,
Sorry for delay, I'm not on drupal forum much, at least trying to help others.
Sub-domains: I've not tried any with my new site, everything is going to be together this time around.
If you have to log-in twice, site and phpbb, that shouldn't be. One log-in is all that is needed.
I am currently using phpbb with the i-frame option, until I find time to edit phpbb into a page.
You can check it out on our test site, still a long way to go with it though.
http://test4.lazykatz.com
(We don't allow guests) or register. All content is being deleted, only keeping the style and structure.
user: demodemo
pass: demopass
Good Luck,
Grizz
Whoops... forgot that we don't use forum as title in menu. Whispers Alley is our forum.
Claification: Installing this module for Dummies
This was something I had a hard time with because I didn't notice some important things -- in case this helps anyone else these are the steps I took.
1. Install phpBB3 from the phpbb website. This was not clear to me at all. Upload what you get from the PHP main site into the root directory of your website (this is where you get the phpBB3 folder from).
2. Install the Drupal MODULE into the sites/all/modules directory.
3. Move the contents of contrib > phpbbdrupal > root from the MODULE into the ROOT of the phpBB3 folder on your site (basically, move everything from that area of your drupal MODULE into the main INSTALL of basic phpbb on your website).
4. Go to your PHPbb3 install and .. install it. Will be something like ... www.mysite.com/phpBB3
5. I made the master admin the same username and password as my drupal site but am still having problems with it recognizing me as an admin - will update later.
Frame has 0 width?
Integration seems to have worked properly and smoothly but when accessing the page where the forum should display the frame in the middle has no width specified: http://www.womenathomementors.com/?q=forums
If I manually change the width say to 500 using Firebug the forums display with scrollbars as I had expected. Is this something I did wrong?
link to homepage in iframe
Great module and works fine, only one question how can I link to my homepage in the iframe without opening it in the same iframe .
For an example check the link http://www.avdsteltphotography.com/phpbbforum and click on the forum post www.avdsteltphotography.com.....
Greetz Arjan
Is it somehow possible to
Is it somehow possible to make use of the phpbb3 variables inside Drupal themes?
For example:
That way it would be possible to use already existing queries from phpbb3...
iFrame issue
Like others i seem to be having problems with getting the forum to load within the iframe.
drupal ...\new-site\
phpBB ...\new-site\forum\
My Settings:
URL ALLIASES
forum phpbbforum
forum/adm/index.php phpbbforum/adm/index.php
forum/faq.php phpbbforum/faq.php edit delete
forum/mcp.php phpbbforum/mcp.php edit delete
forum/memberlist.php phpbbforum/memberlist.php edit delete
forum/posting.php phpbbforum/posting.php edit delete
forum/report.php phpbbforum/report.php edit delete
forum/search.php phpbbforum/search.php edit delete
forum/ucp.php phpbbforum/ucp.php edit delete
forum/viewforum.php phpbbforum/viewforum.php edit delete
forum/viewonline.php phpbbforum/viewonline.php edit delete
forum/viewtopic.php phpbbforum/viewtopic.php
phpbbforum settings
Successfully locating phpBB installation.
Successfully locating forum/includes/phpbb_api.php.
Successfully connected to the phpBB database.
Successfully authenticated phpBB user: Admin
Admin is the same as on PhpBB
phpBB forum root path:
forum/
Path to phpBB api file:
forum/includes/
phpBB display way:
In the window
X In frame inside Drupal page
If i DONT have URL Alliases set, then the iframe opens, but gives a 404, it tries to open the url http://www.my-site.com/forum
however, the forum is currently at: http://www.my-site.com/new-site/forum
If i DO have the URL allias set:
Existing system path: *
http://www.my-site.co.uk/new-site/ phpbbforum
Specify the existing path you wish to alias. For example: node/28, forum/1, taxonomy/term/1+2.
Path alias: *
http://www.my-site.co.uk/new-site/ forum
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.
Then the forums do open... but not in an iFrame! They simply load in the browser.
Anyone got any suggestions?
fixed
Ok i got the iframe working, still not right however.
i re-pointed a domain to the subdirectory that drupal and phpbb where installed in. So now i have:
\. <--drupal
\forum\ <---phpbb3
then i had to remove the URL allias for
System path: phpbbforum
allias: forum
because if it is in settings then the forum opens full page rather than in a window (which is the issue i was having)
using Drupal6 and phpbb3.
One problem now is that the title appears at the top of the iframe "Forums" - i dont know where its getting this title from even. Im suspicous of phpbbforum.module file and its path settings at the top - i think this may be the cause of a lot of peoples issues? Though ive only briefly looked at it.
Thanks for a great mod Vb!
once the niggles are ironed out so its easier to setup for most peoples configs then this should be a hugely popular mod.
Combining with internationalisation module
Is it possible to make it such that the forum will change its language according to the module?
Creating URL-alias that points to a specific forum
Hello ,
I'm currently looking for a solution to a self-created problem ;-) .
I have a site, drupel 6.3 with phpBB 3.0.2, integrated with phpbbforum.
Works fine ;-) .
The Forum is accessed via www.langzeitauto.de/phpbbforum
( you propably won't see anything as the site is for registered users only )
There is no alias defined for the forums path.
I have found out, that I can access a forum directly via
www.langzeitauto.de/phpbbforum/viewforum.php?f=28 .
So now I would like to create an URL-alias pointing to one forum, so I went to the URL-alias setting and created one like this :
existing dir : www.langzeitauto.de/phpbbforum/viewforum.php?f=10 .
path alias : www.langzeitauto.de/discussion
The result is, that in the phpbbforum IFrame , a new instance of the complete site is display with the errormessage, that the requested document could not be found.
A manual rewrite via an apache alias does not work, gives me only a 'page not found' . I assume, that the drupal module catches the request an cannot find the page.
Do you have any idea how to solve this, currently I am browsing through the module source code, but no idea so far.
Thank you for your help !
roland
edit : some more information , that is the log entry when trying to access the page via url-alias, clean urls disabled for testing to see what is generated.
Typ page not found
Date Sunday, August 3, 2008 - 16:36
User Mr. Floppy
Location http://www.langzeitauto.de/phpBB3q=discussion
Referrer http://www.langzeitauto.de/?q=discussion
Message phpBB3q=discussion
Severity warning
Hostname 84.58.205.41
Operationen
It is kind of strange that the Location/request points to phpBB3q=discussion , there the phpBB3 is the install path inside the drupal directory on the server, i thought it would be rewritten to phpbbforum/viewforum.foo?bar .
Doesn't seem to work if Clean URLs cannot be enabled
I had an issue with this mod. I was installing Drupal to [my subdomain]/test/drupal and PHPBB3 to [my subdomain]/test/drupal/phpBB3. Because of the way things were set up, "Clean URLs" only work on the root of the server. The people who host the server I'm on have a forum set up, and I found somebody who had the exact same issue:
http://forums.site5.com/showthread.php?t=23014
When I moved everything to the root of my subdomain, Clean URLs became available and the mod worked perfectly. Thanks!
--
http://tinyme.mypclinuxos.com/
Syncing Avatars
I've set this mod properly on my site and everything is working fine, but I just can't get it to sync avatars from forum if they are uploaded on some 3rd party site (drupal says "Avatar could not be synced from phpBB to Drupal from url.") while if avatar is uploaded on my site there is no problem in syncing between Drupal and phpBB.
I would be most glad if someone helped me out or at least point me to where the problem might be.
issue with phpbbforum
First of all sorry for my english.
If have instaled drupal on : http://localhost/drupal
And phpbb3 on : http://localhost/drupal/foro
I have done everything in the install.txt file.
I enabled bloks like "Online Forum Users", and i see that the img path to the images like icon_members.gif was wrong, and i dont see the image.
Iframe doesn`t work too.
In the drupal install script_path is: /drupal
and in the forum root_script_path is: /drupal/foro
However, in:
If u see this variable, its /foro
Thats was wrong.
In:
So, i find that function.
That doesn't work.
Replace with:
And now, all was perfect. Iframe works too..
Bug, or some path wrong on my install?
Thanks!
Any sugesstion to improve this fix?
Link to forum
I created a custom menu, and I want to link to the forum through it, but I installed the forum in www.mysite.com/forum. When I try to create a link to 'forum', I get an error message telling me the path doesn't exist. Is there a way around this?
Contact me to contract me for D7 -> D10/11 migrations.
I ended up making a
I ended up making a work-around to make this happen. If there is a proper way to do it, I will get rid of my work around, but skimming through this thread it appeared that the forum had to be installed in a folder called phpbb3.
For anyone who wants to know how to do this, what I did the following:
1) created the following folder: sites/all/modules/forum_link
2) created the following file: sites/all/modules/forum_link/forum_link.info
3) Added the following code to the file in step 2:
4) Created the following file: sites/all/modules/forum_link/forum_link.module
5) Added the following code to the file in step 4:
6) navigated to admin/build/modules
7) installed the module named Forum Link
What I did was registered a menu item named 'forum' within drupal, and then told drupal to redirect the user to /forum when that menu item is used. This allowed me to use the path 'forum' to link to my forum in my menus.
You can set this to work with your forum being in any folder. All you need to do is change the location of the folder in this line:
header ("Location: /forum");So for example, if your forum is at www.mysite.com/path/to/forum, you would use:
header ("Location: /path/to/forum");But when creating links to the forum in menu items, you want to still use 'forum', not 'path/to/forum'.
If there is an easier/more correct way of doing this, please let me know. But for now, this workaround/hack works.
Contact me to contract me for D7 -> D10/11 migrations.
Thank you so much for that
Thank you so much for that Code Snippet! *all thumbs up*
Very nice - good work
Thumbs up. Works fine. Just a little ?> at the end of you code was missing, but.... it works. Nice to have it's own block. It would be nice to have the info "new forum posts" to be in the same block, but that's as far as I can see it impossible.
I notice that the '&' signs
I notice that the '&' signs in the links that your module creates, are not encoded (made to be &). If possible I would like to ask if you can do this, or maybe even offer to help do this myself.
Contact me to contract me for D7 -> D10/11 migrations.
Fatal Error after enabling blocks
I have succesfully integrated the drupal and phpbb via phpbbforum but cant
enable the blocks for the
latest topics/posts.... or any other phpbbforum block...
After enabling them I get this error.
Fatal error: Call to a member function set_user_url() on a non-object in gamersden.in/forum/includes/functions_content.php on line 1171
phpbb within drupal fram error
ok I got the phpBBforum module working, but when I selected the checkbox to view the forum within a drupal frame I now get the following error:
Parse error: syntax error, unexpected $end in /servername/public_html/drupal64/phpBB3/includes/functions_user.php on line 3632I have uninstalled this module and removed and reinstalled the module, but now I can't get the 'PHPBBforum Settings' page to display again... just getting the above message!
any help appreciated!
Recent posts go away after user logs in and out
The recent posts block works on my site, however users only see recent posts once. If they log out of Drupal, then log back in, those recent posts that were in the block before are gone. This is fine if new posts were posted to the phpBB forum, however if there are no new posts the block can be empty.
Is there a way to keep the block populated? I would like to have the functionality it has now, but just not disappear after one log out.
Thanks vb for a great module!!
Database Error when Enabling the phpbbforum module
Hi. Sorry to bother you. I am getting an error with my database permissions as soon as I go to the admin->modules and enable the phpbbforum. I installed phpbb3 successfully and it is running just fine. And I then followed the install instructions included in the module and everything seems to work except connecting to the database which really confuses me. When I go to the phpbbforum settings I get:
However, my config file definitely does have my correct DB Master username and password. If I change either, then my forums stop working so I'm pretty sure I'm looking at the correct config file. I just don't know where else this module would be looking for passwords. Do you have any insight on where else it might be retrieving my password from so I can check that file too? I'm really confused how my forums can have access to my db but this module can't.
Thank you so much.
Edit: I gave up on this but because I am installing forums from scratch I was able to just switch to SMF forums. I installed these and used the SMF integration module for drupal and it was very easy with virtually no problems.
Drupal 6.5 compatibility???
Hi vb,
This sure a nice module, thanks for the work.
Let me ask you this stupid question does this work in Drupal 6.5?
I tried it Drupal 6.4 and PHPBB 3.0.2 it works perfectly fine,
but when I setup another site with Drupal 6.5 and PHPBB 3.0.2 (same version PHP and MYSQL server with before), I cant get the Hidden authentication to work (I already activate the Hidden authentication block).
I am able to create user in PHPBB from Drupal,and there are no error message in phpBBforum settings.
All the settings are the same with Drupal 6.4 in other site, and I only have the basic modules installed.
Please Advise.
Thank you very much
is project dead?
any news on a new update? this is a great module and would love integration into a page so you can link to forum topics within drupal.
blocks are directing to wrong path
Hello, i had first the problem:
root/drupal/phpbb it said always it doesnt found forum!
because of comments here i changed it like that:
root/drupal
root/phpbb
and it works!
BUT the Blocks are directing to root/drupal/phpbb that means Private message and it comes 404 not Found!
What can i do?
changing usernames
I have integrated my drupal site and phpbb forum no problems
but i need to know is it possible for users to change their usernames and email addresses and have them sync to the phpbb forum
As of now if i try to do this there is a error.
if a user changes their username in drupal after it is not recognized in the forum
current settings:
drupal is the master registration
registration in the phpbb forum is disabled
users can change passwords in drupal and are updated to the forum, but not usernames
is there something i missed in installation and configuration
iFrame in Opera problem
no install problem for me.
i can install and every thing work fine.
only one thing in Opera browser problem
(i test in IE,firefox,safari,Chrome and Opera)
phpbb frame in 4 of browser work fine it can automatic expand to full size of forum height and no scroll bar.
i set "Scrolling phpBB frame:" > no (if set to yes,Auto it will appear scroll bar (all browser))
But in Opera(9.6) it still fix height by phpbb3forum setting (and No scroll bar by my default setting)
how can i do for this
Thank you
drupal 6.x + phpbb3
Using phpbb_api to send pm to users?
Hi there you all!!
Because is not available a PrivateMsg module for Drupal 6.x I would like to use PHPBB private message to users communicate between themselfs.
I've Drupal 6.x + PHPBB3 installed and working perfect!
Anyone can tell me how can I use PHPBB_api to send PM to a specific user?
Thanks.
Luís Gomes
How did you do it?
I've tried this module several times with no success.
I'm using the smf interface and it works like a champ and takes 1 minute to hook up.
Can I trouble you on the exact steps you did to hook up phpBBS3 and how long it took.
Thanks much,
Well, I've read with lots of
Well, I've read with lots of attention the INSTALL.txt file included at Drupal PHPBB module.
It's all clear there...
Get it here:
http://drupal.org/project/phpbb
By the way... no one can answer to my question?
Thanks.
Luís Gomes
new functions_user.php file?
There are these files: functions_user-3.00.php, functions_user-3.01.php and functions_user-3.02.php.
Is there going to be a functions_user-3.03.php for the new release of phpBB3?
Jane
It's in there, it's the file
It's in there, it's the file named functions_user.php. The others aren't used at all. If you are using an older version of PHPBB, you would delete functions_user.php and then rename the corresponding 3.0x file to 'functions_user.php'.
The only file used by PHPBB is functions_user.php. The rest are just for your reference if needed.
Deactivate User sync
Hi !
I sucessfully connected phpBB3 and Drupal 6 and the user sync is working. But how can I turn it off so that my drupal users and my phpBB3 users DON'T get synced (I need the module so that I can display the forum in a nice frame with the blocks so I just want not users to get synced but the rest is perfect for me) ?
Can't set up the path
Hello,
I've just began installing the module. I got to point 6, where I'm supposed to write the path to the forums to the "phpbb settings" page. I open the page, write the path, click on the button... and it freezes. The mouse cursor changes to hourglass, but it doesn't do anything. If I try to reload the page or use administration to get back to "phpbb settings", the page just won't load.
I uninstalled the module and tried it again. Nothing changed. As soon as I write the path to the forum and confirm it, it freezes and I can't acces the "phpbb settings" any more.
Any idea what might be causing it?
BTW, I don't use Apache, but Lighty... I hope it's fine with this module.
Thanks,
Jiri
Problems after successful installation
I did a clean install of Drupal 6.6, phpBB3 and phpBBforum integration module about a month ago and everything seemed fine. I got the following messages:
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.
However, after that if I tried to login to phpBB3 as administrator with the correct username and password, I immediately get the following message:
'You exceeded the maximum allowed number of login attempts.............'
Another problem I get is that I enabled the 'phpBBforum: New forum posts' block in the right sidebar. It is displayed on the page when logged in as administrator or not logged in at all, but NOT displayed when logged in as another user.
There is the file phpbbforum/contrib/phpbbdrupal/install.xml that does not appear to be installed anywhere.
Jane
Dorset UK
can't get drupal and phpbb to authenicate
I've followed the directions, but for some reason I can't get phpbb3.03 and the newest version of drupal to authenticate. It keeps saying, phpBB user: "Anonymous. You are not authenticated in phpBB now. Please login to phpBB and test again."
They both share user information, but for some reason I can't login to drupal and then shift to phpbb3 i have to login in again.
I got this to work on an earlier version, but doesn't seem to work now...
Any help in this matter would greatly be appreciated.
--------------------------------
ok I've got past that point, but now new users are not found in phpbb database... thoughts?
Problems with IFRAME...
OK -- so I followed all of the instructions and I still can't get my forums to show up in an iframe in Drupal.
For settings for phpbbforum module, I have:
phpBB forum root path: /home/hotkarao/public_html/drupal/forum/
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
I have the "NEW FORUM POSTS" block setup and when I click any of the links in it, it takes me directly to the forum, in a full window.
If I try to go to www.hotkaraokespots.com/drupal/phpbbforum, I get this error message: 404 - Component not found (http://www.hotkaraokespots.com/forumq=phpbbforum)
If I go to: http://www.hotkaraokespots.com/drupal/forum it tells me I can't access drupal/forum :|
So ... from the public_html folder, my drupal installation is in the drupal/ folder and the phpbb3 forums are in drupal/forum ...
Anyone have ANY idea why this isn't working? :(
Can't see latest topic from forum
After upgrading phpbb to 3.0.4 I can't see anymore the latest topic from forum in the home page.
The settings seems correct.
How can I check to re-enable it?
Thanks.
phpbbforum is not working in frame nor in window SOLVED
Hi all,
First at all very thanks for such as interesting module.
I'm trying to install latest version (phpbbforum-6.x-1.04) and after a lot of solved problems reading carefully the INSTALL.txt file and all the information available (http://drupal.org/node/217369#comment-732147) I always finish with the same error in window or in frame mode:
Not Found
The requested URL /phpBB3 was not found on this server.
I install latest Drupal and inside phpBB3. phpBB3 works fine directly (Drupal/phpBB3) but if I try to access through Drupal (Drupal/?q=phpbbforum) the error message appears.
Could anyone help me?
Thanks in advance.
Regards.
------------Add info from another post http://drupal.org/node/275016#comment-1189614 ---------------------
Hi all,
I was having the same problem and I solved it changing in the phpBB3 "server configuration" "Force URL" into YES.
I hope this helps you.
Regards
Does this work with 2+ instances of drupal sites?
Hello, I am new to Drupal, but not new to PHPbb3 and cms.
I know basic PHP stuff in 5, [i can program in other languages, just not in php [well not oop yet!].
I have previous experience with web stuff before but the only question I have tried to look for an answer isn't posted!
I am planning on using 3 sites on one drupal installation. If I install this phpbb3 forum integration forum module, would all 3 sites be linked to the same forum with the same users and etc ?
Basically what I want is [which drupal offers is] 3 different sites with their own domain name, all linked on one drupal installation, [so one user of one site can log in with the same information on the other domains] (which drupal can do to my understanding so far), and I want one forums to integrate each site. Is it possible with this mod?
If so, is there any necessary steps I should know about? (I am basically starting a clean install on both phpbb3 and drupal)
Thanks to anyone who helps me out :]
phpBB user: Anonymous. You are not authenticated in phpBB now.
Is still alive...
These are the complete lines i get:
Successfully locating phpBB installation.
Successfully locating /xampp/htdocs/dd/drupal/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.
Databae is OK.
Forum is upgraded to version 3.0.3. (As was told for phpBBforum version 6.x-1.04)
Drupal is version 6.9.
Drupal is installed at: /xampp/htdocs/dd/drupal/
phpBB3 is installed at: /xampp/htdocs/dd/phpbb/
The module is installed in directorie: /xampp/htdocs/dd/drupal/sites/all/modules/
I've done many things, relogged, clean cache and cookies, relogged. I login with both the same username: admin and pasword ***. But still this does not work.
Cookie settings on phpBB3 are:
Domain: my domain offcourse
Name: phpbb3_ocxq8
Path: /xampp/htdocs/dd/phpbb/
Cookie secure [ https ]: Off
What to do further??? Please help..
Did you use the appropiate
Did you use the appropiate functions_user.php ? to correspond with the upgrade change?
Used functions_user.php within mod
The Install.xml told me to edit the function_user.php in my phpbb/includes directory.
But that went totally wrong. The phpbbforum module was not even working because of an error.
After this i copied function_user.php from phpbbforum/contrib/phpbbdrupal/root/includes to phpbb/includes. This went better. My only problem is that i am not authenticated.
In phpbbforum/contrib/phpbbdrupal/root/includes are also the files function_user-3.00.php (-3.01 and -3.02). But the download page told me to update to phpbb3.03. I hope i made a good choise.
I did not look into the
I did not look into the INSTALL.xml. I was not even aware there is an .xml. I downloaded the phpbbforum module from here http://ftp.drupal.org/files/projects/phpbbforum-6.x-1.04.tar.gz
I noticed that on the INSTALL.TXT that is located in the file (specified link above) , shows in the first step another website. Even though I did not download from that website, it seems to have a different file name. I am not sure which is the difference but I used the above link, and installed that, with the main functions_user.php. They also offer others that are for the versions for the older phpBB3's.
EDIT: Please also make an issue about this and link me to it so I can try to help you out more, since this is not the appropriate place to be discussing this.
How Strange¿
How strange¿
I did not make any modifications in files. And ik still got: phpBB user: Anonymous. You are not authenticated in phpBB now. Please login to phpBB and test again.
However i made some blocks in my drypal site to show some phpbb3 stuff. This goes good. On my drupal site i see who's online, what new topics are made. But when i log into drupal. I don't get the drupal-administer menu. When i want to customise drupal (/admin/settings) i am not authorised.
I think i have to turn phpbbforum all why the back or delete the modifications... :(
PHPBB3 not working with drupal
I read every single post in this forum, but its still not working...
I installed PHPBB3 forum in drupal's root as /forum
I entered the whole path of the server to the config.php of phpbb3
When I do the installation and even follow the Install.txt
I get the:
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!
the path is certainly correct. I work via Terminal and went to the path were config.php was and typed pwd. So it can't be wrong.
Can someone help?
Please
The path might be relevant
The path might be relevant to where the file is located. So if the path is in config.php of whatever folder it resides in, make sure to use .'s [without the apostrophe and s] to go up one directory.
phpbbforum in iframe not resizing height
I've installed phpbbforum module inside Drupal 6 with phpBB-3
All seems working, but when I use it inside iframe I can't get the height resized automatically so it came up truncated to the 1024px preset size.
I know this is not a phpbbforum issue, looking at http://www.hotninja.com/phpbbforum I see pretty the same html.
My site:
In head I have
...
...
and the link is pointing to the correct place.
in the body I have:
....
what's wrong?
Some issues
Hi all. Iv got some problems with my integration of phpBB3.0.4 into Drupal 6.9, maybe you can help. I'm using integration via iframe with user account synchronization (drupal account as primary).
1. Sometimes, when I get back to my site, I'm already logged in drupal, but not in forum. So I need to logout and login again. And its realy anoying, because you cant see at first you are logout from forum.
2. When I click on some link inside forum (like topic or post), is ther any way how to put this url into web browser adress bar?
3. According to 2., if I copy url of some forum link (like topic or post) and paste them into new browser window, the forum is opened unintegrated to drupal page, because the url is pointing directly to phpBB instalation. What I need is to replace link www.mypage.com/phpBB3/... to www.mypage.com/forum/..., but in some way, that if the link was chosen inside the iframe, the new page must be loaded on parent page (otherwise there will be recursive opening, whole page inside iframe and so on).
4. When someone has in phpBB profile defined e.g. home page in format www.homepage.com and someone click on that link, it is generated url in format www.mypage.com/phpBB3/www.homepage.com (if protocol http:// is defined, it works right).
5. When someone put an url inside its post or image as attachement, the destination page or image from attachement is opened inside forum iframe, but I want to open it in parent page (now I'm using some code modification inside phpBB, that add to links target _blank attribute).
These are my top anoying issues on ma pages. Thanks for any advice.
keeping phpbb forum topic in the iframe on post notices
Hi,
I love the integration of the phpbb forum iframed in drupal.
However, the only think I can not figure out is, how to have it set, so when you gett an email like of a topic notify, you are taken to the forum, wrapped in the drupal site.
Right now I get a like to the phpbb directory.
Is this possible???
Ken
keeping phpbb forum topic in the iframe on post notices
Hi,
I love the integration of the phpbb forum iframed in drupal.
However, the only think I can not figure out is, how to have it set, so when you gett an email like of a topic notify, you are taken to the forum, wrapped in the drupal site.
Right now I get a like to the phpbb directory.
Is this possible???
Ken
I'm looking to do the same
I'm looking to do the same thing. Is this possible?
Daylene
I found a solution for this...
Its not very pretty but it works.
Open the file phpBB3/includes/functions_privmsgs.php and find the section that says
$messenger->assign_vars(array(
'SUBJECT' => htmlspecialchars_decode($subject),
'AUTHOR_NAME' => htmlspecialchars_decode($author),
'USERNAME' => htmlspecialchars_decode($addr['name']),
'U_INBOX' => generate_board_url() . "/ucp.$phpEx?i=pm&folder=inbox",
Right below this create a new line (don't remove any of the old ones or you will get errors)
'FRAME_INBOX' => "http://www.yoursite.com/phpbbforum" . "/ucp.$phpEx?i=pm&folder=inbox")
Now open phpBB3/language/en/email/privmsg_notify.txt
Replace
{U_INBOX}
With {FRAME_INBOX}
This will change the link in the pm notification email to go to the framed forum.
Now for topic notification open phpBB3/includes/functions_posting.php and find the code that says
$messenger->assign_vars(array(
'USERNAME' => htmlspecialchars_decode($addr['name']),
'TOPIC_TITLE' => htmlspecialchars_decode($topic_title),
'FORUM_NAME' => htmlspecialchars_decode($forum_name),
'U_FORUM' => generate_board_url() . "/viewforum.$phpEx?f=$forum_id",
'U_TOPIC' => generate_board_url() . "/viewtopic.$phpEx?f=$forum_id&t=$topic_id",
'U_NEWEST_POST' => generate_board_url() . "/viewtopic.$phpEx?f=$forum_id&t=$topic_id&p=$post_id&e=$post_id",
'U_STOP_WATCHING_TOPIC' => generate_board_url() . "/viewtopic.$phpEx?uid={$addr['user_id']}&f=$forum_id&t=$topic_id&unwatch=topic",
'U_STOP_WATCHING_FORUM' => generate_board_url() . "/viewforum.$phpEx?uid={$addr['user_id']}&f=$forum_id&unwatch=forum",
And add these variables before the )
'LINK_FORUM' => "http://yoursite.com/phpbbforum" . "/viewforum.$phpEx?f=$forum_id",
'LINK_TOPIC' => "http://yoursite.com/phpbbforum" . "/viewtopic.$phpEx?f=$forum_id&t=$topic_id",
'LINK_NEWEST_POST' => "http://yorusite.com/phpbbforum" . "/viewtopic.$phpEx?f=$forum_id&t=$topic_id&p=$post_id&e=$post_id",
'LINK_STOP_WATCHING_TOPIC' => "http://yoursite.com/phpbbforum" . "/viewtopic.$phpEx?uid={$addr['user_id']}&f=$forum_id&
t=$topic_id&unwatch=topic",
'LINK_STOP_WATCHING_FORUM' => "http://yoursite.com/phpbbforum" . "/viewforum.$phpEx?uid={$addr['user_id']}&f=$forum_id&unwatch=forum",
Then open phpBB3/language/en/email/topic_notify.txt and change
{U_FORUM}
{U_TOPIC}
{U_NEWEST_POST}
{U_STOP_WATCHING_TOPIC}
to
{LINK_FORUM}
{LINK_TOPIC}
{LINK_NEWEST_POST}
{LINK_STOP_WATCHING_TOPIC}
That should do it for PM notificaitons and watched topic notifications and should give you an idea of how to change any of the others you need to.
Be sure to change www.yoursite.com to your actual website
Daylene
phpbbforum-6.x-2.0-alpha2 -
phpbbforum-6.x-2.0-alpha2 - After archive downloading, writes that the archive is damaged.
don't work
phpbbforum-6.x-2.0-alpha2 don't work. (Drupal 6.10 + phpBB 3.0.4)
module phpbbforum displays error:
user warning: Table 'drupaldb.phpbbforum_drupal2phpbb' doesn't exist query: SELECT topic_id, linked FROM phpbbforum_drupal2phpbb WHERE node_id = 1 in /home/user/.web/zplug/modules/phpbbforum/phpbbforum.module on line 726.
What could be the problem????
May be you did no run
May be you did no run update.php?
Also see http://drupal.org/node/389562 for posting
Can we get this working with the Facebook Connect plugin also ?
I have a stock install of drupal 6.10, phpBB 3.0.4, phpBBforum, and Facebook Connect module. If I set Drupal or phpBB as the master either one, I cannot get phpBB to accept the user account created, it gives you an "invalid username" even though there is nothing wrong with it.
If I try to register as a regular user through Drupal or phpBB the account is created no problem, and I can then use the Facebook connect feature, however the user is not logged into phpBB only Drupal. Any ideas ?
6.x still work for 5.x by changing the DEFINE Variable?
Hi.
I know in the previous revision of the project page for phpbbforum there was a text that said "to make 6.x version into 5.x version change "PHPBB_DRUPAL_MODULE_VERSION" to 5. I see that it is still there (even in the new 2.0 version) but I'm guessing the text was removed because it is not possible anymore. The only reason I am still asking is because the variable is still in the .module.
If it is not possible to get the new 2.0 version to work with 5.x are there any plans to port it over?
Regards,
bimpasha
Recent posts block
Hello!
Just installed the 2.0 alpha 7 module version on a Drupal 6.
Everything seems to be OK but I've got my "recent posts" block showing only the title of the post without other informations and even without the bullet of the list. I've seen in the demo site that it's showing also username, date and related forum. In the administration area I've checked the "show all" option but nothing happened.
Can you help me?
Thank you
Profile field mapping
Well everything seems to be working great, except for the sync of profile fields. It's an annoying job to create them, but I have no clue how to create a signature field that is synced with phpbb(3). I do get the message that it was synced, but I don't know how i should call the profile field.
A profile field is like for ICQ: "profile_user_icq"
The same for the avatar and timezone synchronisation. Because there is no example for the profile field like with ICQ.
Logging in/out
I have got this installed and working correctly. I am only having one issue. When I login/logout through drupal everything is fine. If I login through phpbb it shows I am logged in and if I logout through phpbb it shows i am logged out. However when I do it through phpbb it does not update drupal until the page is reloaded (this does not happen when browsing the forums because it is going through the iframe). But if I click refresh it shows logged in or logged out. Is there a way to make it update drupal when phpbb is logged in?
no database table drupal2phpbb
I just installed Drupal 6, installed phpBB3 into directory /forums, and then phpbbforum-6.x-2.0-alpha9 module. Got the functions_user problem and patched that file and then Drupal is back up. However, I get this error:
user warning: Table 'drupalmhm.phpbbforum_drupal2phpbb' doesn't exist query: SELECT topic_id, linked FROM phpbbforum_drupal2phpbb WHERE node_id = 5 in C:\Inetpub\vhosts\unitystudios.com\subdomains\drupal\httpdocs\drupal\sites\all\modules\phpbbforum-6.x-2.0-alpha9\phpbbforum\phpbbforum.module on line 726.
My 'drupalmhm' database doesn't contain a table named 'phpbbforum_drupal2phpbb'. Was I supposed to create it? I can't find that in the instructions.
Thanks!
Hi, You need to run
Hi,
You need to run update.php and manually select the version for phpbbforum ( i think 6003)
( 'yoursite.com/update.php' )
Does anybody know if this works in iframe( i have installed phpbb on /www/forum )
Server load
Hi all.
I'm in the process of making a drupal site with a phpbb forum thanks to this module. So far I've got it installed and it's working great! However, I'm just wondering what sort of strain this module is likley to put on a shared server in the future?
I'm not really sure how these things work but, by using this, will I essentially be doubling the server load because whenever someone does anything both drupal and phpbb will need to be loaded?
Also, will it make a difference to server load whether phpbb is in a frame within drupal or not?
Sorry for the (probably) retarded questions. I would be grateful if someone could enlighten me though!
Thanks.
About server load
If you use phpBB in a separate page (not embedded on a Drupal page), only the forum will be loaded when a user is viewing it. Actually I suggest showing the forum in a separate page because it is easier to control the forum layout, since the drupal's CSS styles override some of the phpBB's ones; and it can be hard to make the forum look exact what you want. Anyways, at least for me (I use a shared hosting), the forum works great when embedded in a Drupal page.
The biggest load of phpBB is not or the installation on your server but on its database (where posts, users and all related configurations are stored). If you want to reduce the load, you can have Drupal and phpBB running on different databases. If possible, it is even better that these databases are on different servers and not on localhost.
Regards,
Tiago
Configured
Just been messing about with this and I have got it all configured in my frame. Seems to work a treat so far! Lots more to configure on the forum theme though so that I don't have the PHPBB header bits etc (if possible).
Excellent module and excellent work, thanks!
Forum links -- Please answer
I noticed something on your test/example site.
When you click on forum then select a forum it doesn't change the title/address or anything on the site. I think this really affects SEO because this means that anything on the forum will never be indexed or if someone gives a direct link it will not have the droopal template on it.
Example of what I was looking for was the phpbb3 bridge for joomla here:
http://extensions.joomla.org/extensions/bridges/forum-bridges/7829/details
PHPBB3 inside Drupal with PayPal
I have two types of forums in my PHPBB3 Forum, paid and non-paid. what i want to happened, which PHPBB does not do on its own, is for people to hit a link that goes to paypal, they pay for the subscription for the year. it sends them back and send me an email. Automatically their user is elevated to a paid user, giving them access to the paid forums.
after a year minus a week or so, i want it to send am email to me and them saying that they need to buy another subscription or be demoted to non-paid and lose access to the paid forums.
Is this possible?
If so how?
If it is and can be done quickly there might even be money in it.
thank you for your time.
Drupal and PHPBB on different domains?
I am trying to find an answer to this question but on the page and INSTALL.TXT I'm not seeing it...
I have a PHPBB3 forum on one domain, say domain1.com, and I want Drupal 6 at another domain, say domain2.net
The only functionality I really want is for articles posted at domain2.net to have a "discuss this article in our forums" link, which will take the user to the forum at domain1.com. If no one has started a thread for that specific article then I want the user to be taken to a page where they can post the first post in that thread; if someone has created the thread then I want that thread to load.
Does this module do this?
Patch File
This may or may not be a phpbb forum question because it discusses patches but I think it is.
I want to install this on a server which I don't have shell access to and which has phpbb 3.0.4 installed. The latest version of the integration module seems to just include a patch file for 3.0.4. This seems to imply that I can no longer simply copy the functions_user.php files (since these were phpbb version specific) and should run the patch as directed in the install.txt file.
Without shell access what do I do?
Error Locating phpBB installation
Hi everyone,
I know and have read the previous comments regarding similar issues that I am facing right now. However, I am still unable to resolve the problem even after trying to follow INSTALL.txt.
I think I have followed exactly the steps suggested. . but it just led to the error below:
*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!
A screenshot of the error, and the path to forum's config.php file is linked below:
PHPbb's Path: http://www.zepygames.com/content/path
Error Message : http://www.zepygames.com/content/error-message
Please help me.
Thank you =)
How do I add a phpBB forum view?
This seems to be a very basic question, but I couldn't figure it out. I'm quite new to Drupal.
How do I create a page with phpBB3 forum embedded?
I've installed Drupal 6 and phpBB3, and phpBBforum module. My installation works and I can add several phpBBforum blocks ( such as New forum topics) to my left menu bar.
However I didn't seem to be able to find a way to create a page with phpBB3 forum topics embedded. I tried to install 'iframe' moduel, and put in my phpbb URL (http://127.0.0.1/drupal/phpbbforum/). It worked however the iframe it created has a vertical scroll bar which I don't want.
Could anyone give me a hint?
Thanks a lot
phpBBforum and Drupal Intergration Error
Hi VB,
I have integrated the phpbbforum n drupal together but when I exit out of my phpbbforum and try to log back into my drupal page I get this error. Can't seem find what's really the problem. I try to find answer from previous comments but I can't find any. can you please help me and find out what's really the problem. Thanks
Fatal error: Uncaught VBridgeException: [1]: exit thrown in /hermes/bosweb/web169/b1699/ipw.dstylezi/public_html/teochiu/sites/all/modules/phpbbforum/includes/phpbbvbridge/phpbb_api_hooks.php on line 147
--
Best regards,
JC
oh and also the install
oh and also the install directory was still in phpbb. this tripped me up as well. see two or three posts down from this one.
Drupal login issue
Hello!
I`ve got an Problem with the login in Drupal!
If I login to the phpbb Forum, i am not logged to Drupal.
(phpbb is set as Master)
When I log in with Drupal, every Thing works fine.
But I need to login with phpbb at the Moment, logging in with Drupal makes no sense to me.
The Bridge is installed without Problems.
Is there a funktions_user.php for phpbb 3.04 ?
On localhost I tested updating to phpbbforum module 2.0. The login works from the Forum but,
I got problems with the style (and also with the installed Forum-mods I think) during patching!
You can look at http://www.dieautoberater.de/ and login for testing.
Is there a way for manuelly patching?
My System:
Drupal 6.9
phpbb 3.04
phpbbforum module 6.x-1.04
Thanks for help!
Can't get this bridge to work
Ok, I thought I would test this bridge out (for giggles) on my Windows Drupal test installation. Well I am certainly not laughing after spending ours without any success in getting this to work. I am using Drupal 6.12 along with a fresh install of phpBB 3.0.5 I followed the instructs in the INSTALL.txt file as closely as possible (including running the correct patch for version 3.0.5) but all I have ended up with is the extremely annoying messages:
I have a couple of queries:
1. Must Drupal and phpBB be installed in the same database? The instructions are completely silent on this matter. I have installed both in separate databases, is this a problem?
2. My "phpbb forum root path" is set to C:\server\apache\htdocs\drupal\phpBB3 which is the correct path to the forum directory tree, is there a problem with the syntax? I have tried to escape the forward slashes using "\\" but this did not help.
Can anyone shed some light?
Cheers
RE: Can't get this bridge to work
For the brigde to work, end the path with a /
So /home/httpd/html/forums/
If you forget the trailing / it won't work
Thanks for the response
Thanks for the response resveld, I have abandoned any ideas about using this bridge and I'm now focussing on Drupal's core forum along with the Advanced Forum (plus some other contributed) modules. This option is not as powerful as phpBB3 but contains most of the features I need. On the plus side, I don't have to bother with phpBB3 upgrade incompatibilities - in issue which is certainly to serface since this bridge alters so many files.
This is the right and best
This is the right and best decision to take.
I used to try this bridge and the other one for arkeeb but sooner or later things has a great miss so using the core forum will save you a lot of hassle.
Many of the guys who are using these bridge or the other one did moved to the core one with the advanced forum and some other modules and you can see these page for more info about having the most features you may need to have a good forum.
http://drupal.org/project/modules?filters=drupal_core:87%20tid:56&solrso...
Also I think using the core and some module with some customization for the theme will make the website some how unique.
Thanks and good luck
goto the forum and make sure
@ blazinjc: => goto the forum and make sure it is all working perfect. this is the forum throwing some sort of error. mine was the forum was disabled which was causing this error.
I need help
I'm a noob to php will someone please tell me how to fix this. When I setup everything and I click on the "phpBBforum settings" this is what I get
how do you apply the patch?
i get the same error:
Fatal error: Cannot redeclare user_delete() (previously declared in C:\xampp\htdocs\drupal\modules\user\user.module:1592) in C:\xampp\htdocs\drupal\phpBB3\includes\functions_user.php on line 586
it seems like you used to be able to copy over a .php file to make this work, but now you apply a patch.
ive read all i can find about using a patch, but it is all still greek to me.
can anyone help? all i want is to get phpbb3 working on my drupal site....
Cannot Login
I am currently running drupal 6.12 and phpbb3 with version 1 of the integration module on a godaddy host, and for the most part everything is working, but we are moving to different servers for speed reasons and no matter what I try I cannot get version 1 or 2 of the integration module to work. here is a list of the symptoms
Drupal (fresh) + phpbb3 (transfered) + v2 = says cannot authenticate user "anonymous", also if I try and see the forum it says page not found.
Drupal (fresh) + phpbb3 (fresh) + v2 = says cannot authenticate user "anonymous", also if I try and see the forum it says page not found.
Drupal (fresh) + phpbb3 (transfered) +v1 = locks down the system, I can no longer login to the drupal end. (also said could not authenticate "anonymous")
Drupal (transfered) + phpbb3 (transfered) +v1 = everything synchronized and authenticated as planned, but it still locked me out of the system.
I am perplexed by the last one, because its a straight transfer of files and database, I made the updates to the settings and then it locked me out.
btw. I am switching to godaddy grid hosting.
any ideas I need help please!
Updates
I forgot to RTFM, on version 2.0 that being said, I followed the instructions step by step and I still have the same problems,
Their is however one thing I could not do from the instructions, that is call patch.... on my linux host it says command not found, any ideas on how to get a round this? btw, I am running on godaddy linux servers
at this level in the game I am fine with running version 1.0 till 2.0 gets some more bugs worked out, but I cannot get my old 1.0 system to move, for some reason when I moved servers it stopped working, if I enable the "hidden authentication" it locks me out of the entire drupal system. any ideas?
thanks in advance, also is there anywhere else I can go to for help, I need to get this working since I have already been using it on the system, I do not want to have to change to another forum or something so I need to make this work.
Travis
drupal multi site and phpbb (integration and single login)
Howdy all,
I'm not php expert and not too deep in drupal neither
I have a phpbb3.04 and drupal6.12 multi site with subdomain.
main site -> www.domain.com
site2 -> sub1.domain.com
site3 -> sub2.domain.com
and the phpbb3 installed in www.domain.com/forum
this all site include forum are not integrated yet.
Now I have integrate them (drupal6) and the phpbb3 with single sign on (single login)..
is it possible to do this with drupal6 (with multi site in subdomain) and phpbb3 ?
because I dont have this module work properly in my drupal window (with phpbbforum module 6.x-2.0-beta5)
I got this error when I saw with iFrame
am I have to create subdomain for phpbb and put the phpbb in drupal sub directory sites too?
is there any body already have experience for this case?
thx for kindness
how do you apply the patch for function_user.php??
i get the same error:
Fatal error: Cannot redeclare user_delete() (previously declared in C:\xampp\htdocs\drupal\modules\user\user.module:1592) in C:\xampp\htdocs\drupal\phpBB3\includes\functions_user.php on line 586
it seems like you used to be able to copy over a .php file to make this work, but now you apply a patch.
ive read all i can find about using a patch, but it is all still greek to me.
can anyone help? all i want is to get phpbb3 working on my drupal site....
Recent Topics / Posts
Hello
I'd like to set the Block with a different number of recent topics / posts.
I tried changing phpbb_api_recent in different ways but I think i don't get where the maximum number is set.
Am I missing something? Like setup vars somewhere? Or is there an easy way doing this?
I appreciate for your help in advance...
phpbbforum displays error with integration phpBB 3.0.5
Hi!
I'm installing phpbbforum 1.x-dev (2009-Jun-07) in Drupal 6.12.
This string displays phpbbforum in '/admin/settings/phpbbforum':
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /usr/home/cultus/domains/cultus.org.ru/public_html/drupal/sites/all/modules/phpbbforum/includes/phpbb_api.php on line 191
What can I do?
error in module installation
Hi
I have the same problem, I guess:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in (...)/modules/phpbbforum/includes/phpbb_api.php on line 191Drupal 6.14, phpBB 3.0.5, phpbbforum 6.x-2.0-beta7. I'm pretty shure that I've done everything listed in INSTALL.txt.
The problem was mentioned on some italian and russian forums. Eventually no solution was provided though.
For those of you...
Who have shared hosting and no shell access,
TO APPLY THE PATCH to phpBB3, you must do it locally first (use CYGWIN) and THEN upload the phpBB3 directory to your server.
I've been working on this whole thing for 2 days and FINALLY got it to work. So, I assure you, it CAN work.
Also VERY IMPORTANT***, you must also do the following (as stated in INSTALL.txt):
2) Copy content of .../phpbbforum/contrib/phpbbdrupal/root subdirectory to your /phpBB3 directory
Path
Hi,
Great work, really great work!
Installation and function worked like out of the box. Only have one problem.
Setting "phpBB display way" to "In the Drupal page. (Except for ACP) the forum comes up very nice and correctly. But when pressing any forum link from the integrated phphbb (or any of the other blocks ) it goes directly to the forum, showing the ugly embedded php style sheet.
Drupal 6.13 + PHPBB3.05 (with phpBB-embed-3.0.5.patch) + phpbbforum-6.x-2.0-beta5
It is a clean installation with out any other modifications.
Have chosen to place phpbb3 under /forum, but as I understand that you not be a problem.
Aliases are set, get the hidden menu, cleared the cache numerous of times.
Reinstalled phpbb3 and the bridge, but same problem.
Where should I start to look?
Thanks,
Joel
Edit: Forgott to mention that it works fine in "In frame inside Drupal page".
Work great on iframe but Drupal doesn't parse '#' symbol
I love this module, really. Thanks to the developers. It works great on all methods but I choose iframe because of compatibility with mods and phpbb themes. But I have problem when I put the '#' symbol on the forum URL for locating the post to avoid scrolling the whole page to read the particular single post. ex..
Without iframe (direct to forum)
http://ageslinux.com/phpBB3/viewtopic.php?f=3&t=2&p=2#p2
With this method (including # for locating post ID) the page will auto scroll to locate the post.
With Drupal (iframe method)
http://ageslinux.com/phpbbforum/viewtopic.php?f=3&t=2&p=2#p2
It didn't scroll. I just check the IFRAME documentation and this method supposedly to work. I checked the iframe source and I saw the "#p2" string was gone. By using firebug, I put the string back and it worked as expected. I tried to put many other symbols, $, %, @ and the all work.
So, my question. Which component actually strips this hash ('#') symbol? and how to parse the # into the iframe.
Ok.....
That was greek to me..... I have no shell and I don't know how to use CYGWIN but thanks for some illumination..... please someone help me
There are lot of information
There are lot of information both on Drupal forum and other places. Try to research some before cry out for help. Also keep in mind this is a beta.
Anyway, if you don't have shell access you can always try this...
http://drupal.org/node/14231#comment-78388
If your hostserver is to restrictive then you need to download your /phpbb3 locally and apply the patch.
http://drupal.org/node/60108
If you feel uncomfortable with Cygwin, download Ubuntu , burn it out on a CD and run live.
http://www.ubuntu.com/GetUbuntu/download
Does none of this help, check out http://www.kypros.org/LearnGreek/ :)
Thanks
HAHAHAHA nice, thanks I was googling but I didn't get a lot of results that were relevant to my search
Does this require a clean install of phpBB3?
After I ran the path in SSH, I got the following error:
After I install the module this is the error I got.
Parse error: syntax error, unexpected T_CASE in /home2/public_html/forums/includes/functions_user.php on line 1037
I had been trying for the second day about my 9th attempt. May someone please help me with this?
Applying PHPBB Styles In the Drupal page. (Except for ACP)
Server is being tested on my localhost WAMP Server.
I have been unable to apply any default or custom themes with the Drupal setting:
phpBB display way:
In the Drupal page. (Except for ACP)
I have been trying to get this to work for well over 6 hours now and I'm can officially say I'm perplexed as to why it won't work. :D
I have copied the contrib style folder to the forum folder, and the PHPBB Module works functionally as expected, just the styling does not work. I've tried both the subsilver2-embed and prosilver-embed themes.
Viewing the source output I have noticed that the link style tag has this path:
Could it not be working because it is using the windows absolute path and not a relative one?
When entering the direct forum page url I get:
Although all the embed styling doesn't work (which it shouldn't anyway), I put a simple CSS statement to see if the style was actually being applied:
Which it was, however going back to the drupal nested forum it doesn't, so I'm convinced that the absolute path is causing the issue. ^_^
I am positive that I have configured everything correctly.
The only way I can get styles to work is if I use the "In frame inside Drupal page" setting, and the normal subsilver2 or prosilver themes.
EDIT:
*face palm* - SOLUTION!
The phpBB forum root path:
was:
and should have been:
Works fine now, if you could maybe code into a way to detect and throw an error if people decide to do the silly mistake like I did that would be great. Keep up the excellent work. :D
Every link = The requested page could not be found
I just installed phpbbforum and everything looks fine on the surface when I open up the forum in my drupal site, but everything goes haywire as soon as you try to click anything. If you try to click anything, like to open a forum, open a category, log in, etc etc I get "The requested page could not be found."
When I open up the forum outside of drupal on its own, everything works fine.
I am running Drupal 6 and phpbb3. I have installed my forum into the /forum directory and pointed phpbbforum in drupal to that location.
I am running this "in the Drupal window", this is NOT an iframe.
Ok, so it would appear this
Ok, so it would appear this has to do with URL aliases and this is some crazy stuff going on here.
My URL alias is set up as follows.
existing system path: www.domain.com/phpbbforum
path alias: www.domain.com/forums
When I got to domain.com/forums, the main page works, and all the images work. The URL alias works fine for the url on the main page and the url in the images. However, none of the links work. So www.domain.com/forums/viewtopic.... doesn't work, but if I manually replace "forums" with "phpbbforum" in the link, it works.
Now, if I turn off URL aliasing, the links work...but then the IMAGES don't work anymore. It's still trying to pull the images from "forums" even though I've turned off the URL aliasing for phpbbforum. So it would appear that whether I have URL aliasing on or off, my image links are stuck to the term "forums", while my links are stuck to the term "phpbbforum".
What the heck? Please for the love of god someone help me with this, I've been driving myself crazy with it for the last 2 days straight.
Ok, I got the links working.
Ok, I got the links working. I just needed to add all the other aliases as well (phhpbbforum/viewtopic -> forums/viewtopic, etc). I feel like a dolt.
However, my images are no longer working. I don't know why they became suddenly broken. They were working fine before when I had the forums alias set up.
This is the site, if it helps:
http://haloreachbeta.com/forums
I followed instruction and it
I followed instruction and it works, but when i change phpBB display way to In the window it says page not found.
I am trying to put it like this site http://www.teenrc.ca/phpbbforum
where the logo and primary menu, the whole header stays and full page of forum comes up.
Using phpBB3 with AJAX Chat Integration
Hey all I've managed to get the AJAX Chat for PHPBB3 Module integrated as a Shoutbox into the phpBB3 forum on my local test Server inside Drupal, I just had to slightly modify the url paths in the additional code for PHPBB3 includes\functions.php.
The instructions tell you to insert:
However adding the actual forum directory for both defines makes the AJAX Shoutbox work perfectly:
My issue is this when uploading this code to a production server all the javascript file paths that use AJAX_CHAT_URL become broken. I tried using both relative and absolute paths in the define, but the "phpbb3" path in the url is always over-written with "phpbbforum". I've tried using aliases but the "phpbb3" just gets over-written with the alias instead.
Any advice? I'm not sure if everyone else has got this working but I think the AJAX Shoutbox integration is a valuable addition to the Drupal -> phpBB3 Combination.
Edit Solution:
Hey everyone, it wasn't as hard as I thought. I thought I would share the solution so you can still use the AJAX Chat add-on.
When pasting the getShoutBoxContent in PHPBB3 includes functions.php use this code instead:
This will also work if you decide to use an alias for phpbbforum.
Enjoy. ^_^
Restrict Access for User Roles
Hi,
Thanks for the great mod! Quick question regarding user roles. Is it possible to restrict access to the forum for only certain Drupal user roles?
Upgrade to v6.x > cannot access administration
Hi,
I've tried this module on a Drupal 5.x + phpBB3 website and it worked very well.
However, I've upgraded my Drupal to Drupal 6.x and once I've tried to manage the module with admin/setting/phpbbforum, I cannot validate, I get a blank page. So the module cannot work, and I cannot change the settings of the module.
Any idea about solving this problem ?
Regards
Path Problems
I just learned how to use Drupal and successfully integrated phpbb with drupal. the problems are:
1. path of phpbb. phpbb forum is under the dir of localhost/drupal/phpbb3, and drupal is under localhost/drupal. So in phpBBforum settings for phpforum path I filled " phpbb3/ " and I did receive "Successfully locating phpBB installation." but when I try to creat a menu I fill in the blank "phpbb3/" I got "invalid or dont have access to it" . what is the problem?
2. in /phpBBforum settings/, I did ask phpbb forum to 'display in frame inside Drupal page' but it seems not working as well.
btw I found http://drupal.org/node/275016#comment-896846 , it is not helping. I did exactly nothing wrong according to it.
Thank you in advance
Bug in smfforum module
Hi,
Sorry, but I didn't know where to post this.
You have a bug in the code of smfforum module. This bug causes apache to crash (Segmentation fault) when you try to login on drupal page. The error is in smf_api_subs.php, line 68. You forgot a dot ( . ) . So, change this:
smf_db_query("
INSERT INTO {$smf_db_prefix}log_errors
(ID_MEMBER, logTime, IP, url, message, session)
VALUES ($smf_user_info[id], " . time() . ", '$_SERVER[REMOTE_ADDR]', '" . (empty($_SERVER['QUERY_STRING']) ? '' : addslashes(htmlspecialchars('?' . $_SERVER['QUERY_STRING']))) . "', '" . addslashes($error_message) . "', '" . @session_id() . "')", __FILE__, __LINE__);
For this
smf_db_query("
INSERT INTO {$smf_db_prefix}.log_errors
(ID_MEMBER, logTime, IP, url, message, session)
VALUES ($smf_user_info[id], " . time() . ", '$_SERVER[REMOTE_ADDR]', '" . (empty($_SERVER['QUERY_STRING']) ? '' : addslashes(htmlspecialchars('?' . $_SERVER['QUERY_STRING']))) . "', '" . addslashes($error_message) . "', '" . @session_id() . "')", __FILE__, __LINE__);
Look at the missed "." before "log_errors".
Anyway, I have another problem: If I'm not logged in the forum when I login the drupal page, I need to login the forum inside drupal, and I'd like to login only 1 time in both places. Is it possible? I followed all the steps to install the module.
Best regards,
Jorge
Forget it, The error is not
Forget it,
The error is not here, and my fix is not valid. I'm debugging again...
... but one field name is
... but one field name is invalid: is "log_time" instead of "logTime" :-)
PHPBB3 comments??
Hi guys. I have phpbbforum module installed and interfaced with drupal properly.
I can post, make new threads, etc etc.
So far, the only problem I have is that when I create a comment on a story or something, it doesn't use phpbb3 comments (i.e. it doesn't make a new forum thread) instead, it uses the default drupal comment system.
Any help would be appreciated.
White screen?
Hi!
I'm trying to use the phpBBforum Integration module in my site. I'm creating a Drupal 6.14 site and I want it to "merge" with my already existing phpBB3 instalation.
I've set the path to the forums and nothing happened - just a white screen (maybe error 500?). I can't do anything, anytime I try to set configurations I get this white screen.
I think it's because my Drupal installation is in a PostgreSQL database, and my phpBB is in a mySQL database. Is there any issue about that?
Cannot redeclare deregister_globals() in common.php
After patching phpBB3 files I try to login and get the error:
Cannot redeclare deregister_globals() ...
The path to my forum stays after it and it points to common.php file.
So what`s the problem? Does anyone get the same error after patching?
Adding new users to groups?
Hi I have just set up Phpbb and Drupal. The module is working great and the cross auth is working well.
I would like my new users to join a Drupal group when they sign up. What are the possible ways of setting this up?
Is it best to get them to register in Drupal?
Thanks
Sam
I have got the phpbbforum
I have got the phpbbforum integration module working beautifully except for the fact that the quote etc buttons look weird in Internet Explorer 8. See the attached file where I have pointed out what I am talking about. I guess the rollover code doesn't work?
The buttons show up properly in Mozilla Firefox and also in stand-alone mode in IE8. The problem only exists in embedded mode in IE8.
Suggestions?
The url is http://www.expatsinitaly.com/drupal .
Login trouble
As some other guys here I have login trouble. It worked fine one time, I got logged in into both apps.
If I activate "Hidden authentication" I get logged out of drupal and can't login again. Loggin into phpBB 3.0.5 is impossible, from the integrated view or from the standalone view.
This is such a nice plugin but this problem kills it. I did everything from the INSTALL.txt step by step but it doesn't work.
Any help? :(
EDIT: I can see in the phpBB database that a session is created when I login into Drupal...
EDIT 2: Okay, seems I got the solution! Don't care about the "Hidden authentication", make sure you set the phpBB cookie domain to .example.com and open the /cache folder in your phpBB3 folder. Delete ALL files, expect .htaccess and index.html
i'm lost
ok, i have absolutely no problems whatsoever with the iframes - i haven't got that far yet.
after installing the module (not intuitive INSTAL.txt, but it's ok ;) ) i got round to configuring it.
i replaced the default phpbb root path with the real one
and got:
the line (and environment) goes like this:
help :/
Why use real paths when you
Why use real paths when you can use URL aliases in drupal to achieve the same thing?
I have the same problem.
Hi, could someone explain more, what to do in this case?
Thanks
Same DB?
Do Drupal and phpbb3 have to be installed within the same database?
why i am not using this module
I don't want to insult the person who created this module, as I am sure it took a lot of hard work. I have tried to use this module and ultimately chose not to use this module and I am offering feedback letting you know why I am not using this module. Please note I am not looking for answers or support, I do not need a response.
1) This module has installation directions that are difficult to follow
2) I do not like to use beta software on a production site
3) After installation, the module successfully created an account in phpBB when I logged into Drupal thereby syncing the two users, but it failed to authenticate me in phpBB, even though I had the authentication block activated.
4) The "latest post" block failed to distribute the proper path for my phpBB installation. It used "www.example.com/phpbbforum" instead of "www.example.com/forum" which is where my forums actually live. This is despite the configuration screen claiming that it had successfully found my installation and all was configured properly.
5) The configuration screen is cryptic and difficult to understand, with difficult to read English
After nearly 3 hours attempting to get this module to work, I gave up. Ultimately, it is difficult to report to my boss that I spent so much time trying to accomplish phpbb/Drupal integration. In the end, we have more important tasks. He was satisfied that I tried but did not want me to spend any more time on it. We will live with Drupal and phpBB being separate until either this module improves or there is another module to replace it.
Before anyone insults my intelligence or skills, I have been programming websites since 1998 and PHP since 2002 and Drupal since 2007 and this is my experience with your module.
drupal phpbbforum obtaining the phpb's user_id from drupal.
In an external php script I use the code:
But I need to obtain the phpbb user_id. What would be the best way to do this?
I was thing of passing the username into a function:
Or something to that effect, but it seems pretty hackish anyone got any better ideas? Perhaps an elegant pre-existing function I can use? ^-^
Issues list
Can someone tell me if the issues are being whatched?
http://drupal.org/node/438906
http://drupal.org/node/272634
http://drupal.org/node/632808
I have some issues with this very nice integration module. I have it installed and almost working on my website.
But I saw that vb was last posting something 10 weeks ago. It would be a shame to let this immense and good project die a slow death.
Especially because it is the only good module i could find for phpbb integration.
grtz wietze
I am sorry..
I have spent almost four hours on this trying to get this to work, I really think it's me doing something wrong I'm working off a an apache sever on my PC.
I am getting this error.
Fatal error: Uncaught VBridgeException: [1]: exit thrown in C:\xampp\htdocs\drupal\sites\all\modules\phpbbforum\includes\phpbbvbridge\phpbb_api_hooks.php on line 147
I've patched the files and done everything i can but i get that error when I try to view the module settings.
I installed phpBB integration
I installed phpBB integration and Drupal started to send logged-in users cached pages. Now they can't submit anything. What a disaster. I had tested the phpBB integration for about week without any big problems and thought I solved the login issue before I changed my DNS over to that site.
The big problem is that it's intermittent and doesn't throw any PHP errors. I sometimes have a problem but it's only once in a while. Once I refresh the page I'm logged in again. I don't like not knowing what is wrong.
I removed the phpBB integration module from my site and the problem persists. Must have changed something either in the file system or the database. What do I do, restore the database from two weeks ago? Ouch, that's a big lose.
It's not worth the trouble. Just use Advanced Forums Module for Drupal. The more people who use them the better it will be.
Documentation
Could anyone point me to an alternative source for documentation for this module? I'm following the instructions on the install.txt which accompanies the module, but am finding it to be somewhat of an uphill struggle. As this is such a valuable and necessary module, I would also be willing to help improve the documentation which presently accompanies this module.
3.0.6 patch update?
Hey all, I notice that phpBB has released 3.0.6 and when running the 3.0.5 patch I notice a few errors.
I imagine the patch will have to be updated to be compatible with 3.0.6.
Is there any eta on this? Looking forward to setting up another board with this again and look forward to reading any replies.
Thanks
3.06 issue
Here there is already one of the needed files patched.
http://drupal.org/node/641660
What am I doing wrong?
Hi, could someone explain more, what to do in this case?
Thanks
Url Rewriting problems in the ACP ?
Hi,
I installed phpBB3 and phpbbforum module.
(drupal 6.14, phpBB 3.0.6 , phpbbforum 6.x-2.0 beta 7)
All seems to work but in the ACP the links are not working when direct acces to /phpBB3 directory :
- [domain ]/phpBB3/adm/index.php ... witch work fine.
- [domain ]/phpBB3/xxx.php ... witch doesn't work. (http 500)
if you modify 'by hand' this link with [domain ]/phpbbforum/xxx.php it works.... (url wriwriting work fine)
So how can i correct this problem please, all seems to work but not the ACP links
(by exemple the 'find a member' link (in the 'manage user' section try "[domain]/phpBB3/memberlist.php?...." and give à http 500 error) ?
Thank you for aswer,
Bernard.
Fatal error: Cannot redeclare
I get this error when trying to go to the module settings I tried to follow the instructions in the install.txt but they really weren't all that well written.
Well, I didn't fix it but I
Well, I didn't fix it but I think I found the problem.
I have no clue where to put this I would assume console but I kinda don't have access to the server except through cpanel. >.>
Well, that error is gone now
Well, that error is gone now but apparently I get this one (never found out how to use patch files).
OK, after uninstalling drupal
OK, after uninstalling drupal and the forum and reinstalling everything it appears to work now. But for some reason when I go to the forum (even though I've selected the correction option) the phpbb forum doesn't show in the drupal window. Any ideas?
Hm, It appears for it to work
Hm, It appears for it to work that way I need to go to the phpbbforum page (which is a bit dumb). But upon going there phpbb bugs out lol. I could work around this but I would much rather fix it the correct way can someone tell me if I've configured something wrong?
Fix
I had the same problem. The problem is half-patched files (if you tried the 3.0.5 patches) or just copying over the patched user_functions.php without the rest of them...
To fix this, simply grab the tarball of changed files for 3.0.6 here: http://drupalbridge.org/download?quicktabs_3=1#quicktabs-3 and copy them over your existing files. Clear the caches for good measure.
Works like a charm now.
Thanks patching the other
Thanks patching the other files fixed the issue. Is there anyway to rename the url that the forums show up on? Also it seems that my forums aren't using the embedded style as there is still a header and all of the logout stuff(which breaks the site since drupal is set as master).
I removed all of the login/logout info.
This is caused by the
This is caused by the unpatched user_functions.php file. You must replace this file at a minimum, but it's best to have all the files patched. See my comment further down about the package.
Block links without clean urls problem
Links from blocks like "Personal Messages" does not work, and it seems to be because Im not running clean url's (server in safe mode). Is there any workaround?
I'm not an expert, but it seems like the links just need a '?q=' in before phpbbforum/ :) I've read about url-aliases, but I dont think it applies here.
I have got non-clean_url Drupal to work
In phpbbforum.module
Add this inside _phpbbforum_set_globals()
In phpbbforum.pages.inc
Add this function
And modify below functions
For people want to redirect all non-Drupal page to Drupal page only.
I added this at very top of phpBB3/common.php
Sorry, this is my first post on drupal.org. I am not sure if this is the right place to contribute the code.
---
I am available for any professional work on Drupal, contact me if you like.
Ahoy vorapoap, thank you very
Ahoy vorapoap,
thank you very much, works like a charm!
A bit improvement....
Here this code... I am not sure if this kind of function is available in Drupal Core or not.. I will look into it.
This pattern prepares the new link for the forum. It is also not right in my feeling to do a regular expression replacement in every single request...
Probably it is better to put this kind of pattern string into a configuration instead.
---
I am available for any professional work on Drupal, contact me if you like.
Nice work vorapoap! I managed
Nice work vorapoap! I managed to get clean urls to work finally on my server! But this looks like a good solution too!
Only issue I still have is that all topics in the recent posts block are marked as unread.
grtz Tissue
Fix to common.php
Modification to common.php
If you want to get any ajax code working you will need to put
define("IN_PHPBB_AJAX", true);in the server side ajax file.
If you want to get attaachment working you will need to put
define("IN_PHPBB_NO_EMBED", true);in phpBB3/download/file.php
---
I am available for any professional work on Drupal, contact me if you like.
Fix to search
By applying my above code, search doesn't work because of the GET request.
You have to modify phpBB3/styles/...../templates/search_body.html
And put this
<input type="hidden" name="q" value="phpbbforum/search.php" />After the form code, to ensure that HTTP get request are called to the phpbbforum module in Drupal page.
---
I am available for any professional work on Drupal, contact me if you like.
Error during accesing to phpbbforum module
Hi,
Has anyone met with the following problem when you want to open module phpbbforum?
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/xxx/public_html/sites/all/modules/phpbbforum-6.x-2.0-beta7/phpbbforum/includes/phpbb_api.php on line 191
I saw that this problem doesnt touch only my website but also others. But nowhere can find the answer.
Thanks in advance for info
Same for me
I have the same problem, and I still have no solution so far.. :( I'm also not very goot at php, so some help with this error would be very nice...
thanks
well I found what was the problem
well I found what was the problem in my case.. it's servers php version, somehow I thought it was php5, but when I double checked - unfortunately it is just 4.4 :) because the version 2.0 of this module requires php5.
re:well I found what was the problem
It seems to be the same problem for me. My php is also 4.4 :/. Need to change it :).
re:well I found what was the problem
Yes php5.x solves the problem.
height and the banner issue
I have installed and synked drupal and phpbb3.
I have noticed the the demo site does not have the big blue header with phpbb logo and site name, how can I remove it on mine.
There is a scroll bar in iframe. how can I make it to take 100% of the width of the content of iframe. So that the scroll bar would never show up.
Thank you!
templates
I think you can edit the forum template files.
phpBB3/styles/prosilver-embed/template/overall_header.html
Or alter the template files in the prosilver directory.
I use the stylesheets mostly to modify the forum layout.
grtz Wietze
i has the same needs, thanks!
i has the same needs, thanks!
You HAVE to assume your visitor is a maniac serial killer, out to destroy your application. And you have to prevent it.
I have emptied that file and
I have emptied that file and there is absolutely no change.
How to add/create custom "Recent topics" blocks?
Hi guys!
First of all, really thanks for this module, its very great and usefull.
I got a little question, in the forum i have there are many boards, and i'll need to have some custom-blocks.
I mean, i must have the (for example) blocks:
New forum topics in 'Foo' board;
New forum topics in 'Bar' board;
Any idea?
Those boards are almost static, rarely they change, so i dont need an 'interface' to select the board to show into the block.
You HAVE to assume your visitor is a maniac serial killer, out to destroy your application. And you have to prevent it.
no clue but if you have solution
I have no clue how to build that. But if you have a solution i am very interested.
My first guess would be to try and find out how the default "recent topics" block works, inside the module code.
grtz Wietze
Search integration?
What would be involved to hook phpBB into the Drupal search function? In other words, if you use the Drupal search, it should list relevant topics/posts in phpBB as well.
Chat block
Ok I guess I have messed this up somehow
I downloaded the 6.x-2.0-beta8 extracted it > uploaded to the the drupal/site/all/modules
this added the phpbbforum folder so the path for this is home1/cyvocnet/public_html/drupal/site/all/modules/phpbbforum correct all the files and folders from the zip got uploaded there I then deleted the contrib folder took and uploaded the files from the phpbbforum/contrib/phpbbdrupal/root/styles to the the home1/cyvocnet/public_html/phpbb3/styles styles folder so far I am sure all is right to the directions in the install.txt
I copied the phpbbforum/contrib/phpbbdrupal/root/images to my home1/cyvocnet/public_html/drupal.
Double checked that disallow: /images/ was in the robots.txt
I don't have shell access so I downloaded the phpBB-embed-3.0.6-files.tar.gz extracted those to a folder and uploaded these files to
home1/cyvocnet/public_html/phpbb3 over writing the old files.
ok so logged into the forum though the direct url cyvoc.net/phpbb3
logged into the drupal as admin
went to the administer>>modules and enabled it and profiles.
go to the administer>>Site configuation>>phpBBforum settings
and well bamm I am stuck
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!
/home1/cyvocnet/public_html/phpBB3/ this is the correct path to my phpBB3
I have tried to move it into
/home1/cyvocnet/public_html/drupal/phpBB3/
with no luck
this is new install both phpbb 3.0.6 and drupal 6.15
PhpBB is located at /home1/cyvocnet/public_html/phpBB3/
Drupal is at /home1/cyvocnet/public_html/drupal/
the only thing done to phpbb is I imported a copy of my live site database so it has all the users and posts from the live site.
Any help would be very grateful
EDIT
Sorry I found it it was looking for phpBB3 and I had the folder named phpbb3 dang so brain dead sometimes
Window mode and inframe mode dont work since beta8-beta9
Hi,
if I choose:
phpBB display way: In the window
then as soon as I go to phpbbforum, I get a blank page.
inframe mode:
I get phpbb3 user not found error.
In the Drupal page. (Except for ACP)
In the window
In frame inside Drupal page
Those 2 options don't make any difference.
I have emptied that file and
I have emptied that file and there is absolutely no change.
Quick/non-safe authentication / session-lost problem.
Hi all,
This is the dirty fix.
It fixes almost any "..You are not authenticated in phpBB now.." if this reports in /admin/settings/phpbbforum page.
It also help when phpBB3 kills your session before Drupal does.
Use this at your own risk.
In phpBB3/includes/session.php, find function session_create(...)..and add something similar to this..
This will force persist_login and also fix when 'session_create' is called many times. (Sometimes it's called with null user_id, and sometimes it is called with correct user_id).
Use this at your own risk..
---
I am available for any professional work on Drupal, contact me if you like.
Get Blank White Page in Window Mode
I've got everything up and running with the module, patched the files, etc. Embedding the forum or using frame mode works just fine. However, for testing, I tried using window mode, but all it does is bring up a blank white page. Is there something else I need to do to get this mode to work?
Note - I notice the following error being logged when in window mode,
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phpbbforum_page' was given in /xxx/includes/menu.inc on line 348.Creating new embedded style
Is their a guide or how to for taking other phpBB styles and making them work in embedded page mode? I'd like to take the Bl@ck style and embed that into a drupal page. Right now, I'm using frame mode.
thanks!
phpbbforum quick mod tools
As soon as I use quick mod tools on phpbbforum mod, I get the following error
Forbidden
You don't have permission to access phpbbforum/mcp.php&f=11&t=23&start=0&quickmod=1&redirect=http://site.com/phpbbforum/viewtopic.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Authentication block
Strangely the authentication works both ways even when I don't have the block enabled.
I am working on modifying this module for use with a custom forum. Thanks for the module VB
Cannot see the images using subsilver2-embed
Hi
I have been fighting with this for some time. I can't see the images when using subsilver2-embed (set for "in drupal window (except ACP)" in phpbbforum module). If I change the default theme in phpBB3 to subsilver2 it works fine when I change settings to Iframe. But I want the integration where my users just login into drupal and don't have to log in again in the phpBB3 forum.
The imageset is visible in the embedded version, but as said the images are missing. I have tested with the standard themes and it's still the same. An update to beta9 dit not make any difference either. I believe I'm reading the install.txt to the period, but something must have been lost in transaction.
I feel my problem is related to this area in INSTALL.TXT. I must be doing something wrong but I can't figure out what (after looking in codes for hours I think I'm going code blind)
"""""""""""""
3) Copy .../phpbbforum/contrib/phpbbdrupal/images directory to
Drupal directory.
So as I understand it: Copy the two files spacer.gif and the index.html to /html/rodommer/themes/subsilver2-embed/images where "rodommer" is my drupal folder.
If you do not want it
If I don't want what????
you will have to edit phpBB file editor.js for your phpBB theme
(/phpBB3/styles/prosilver-embed/template/editor.js) and enter the url,
where the file spacer.gif resides.
(function colorPalette(dir, width, height) line 335)
The relative path img src="/images/spacer.gif" provides access to spacer.gif both in standalone an inside Drupal mode
only if you copy /images directory to Drupal directory. and this is what's not happens for me. What is the trick? (except reading the INSTALL.TXT for yet another time).
Do not forget to add a line
Disallow: /images/
to your robots.txt file. done
""""""""""""
During the installation I patch phpBB3 with patch -p0 < phpBB-embed-3.0.6.patch
BUT. I still see a terrible design without images in both direct phpBB3 and in drupal embed version when using Subsilver-embed.
Please advise me if there's a thread I have lost or missed in the forum.
Using: Drupal 6.15 and version phpbbforum 6.x-2.0-beta9 (before this version beta8 with the same outcome)
In phpBB3 config you want to
In phpBB3 config you want to set the theme to subsilver2, not the embed version. Are you setting it to the embed version in phpBB3?
Yep I did
Thanks for your reply.
After several trials following the instructions in the install.txt found here in the forum, I deleted everything including tables in my mysql database.
1) I then installed drupal 6.15. Important: I didn't change anything and kept the Garland theme. Tested that everything was working.
2) Installed phpBB3 ver 3.0.6 in the root. Tested that everything was working (http://www.example.com/phpBB3).
3) Installed phpbbforum version 6.x-2.0-beta9 in html/www.example.com/sites/all/modules/
4) Copied spacer.gif from /html/example/sites/all/modules/phpbbforum/contrib/phpbbdrupal/images to /html/example/sites/default/images
5) Patched my phpBB3 files (as in the Install.txt) using cygwin
6) Tested that I could access phpbbforum though http://www.example.com/phpbbforum. It worked and I could see the forum.
7) Then into Drupal/administer and activated the phpbbforum module
8) Login into phpBB3 as admin
9) Vupti. In phpbbforum settings in Drupal the four green bars was present
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.
10) At his point I created the link to the forum in primary links
11) Activated the link and then it worked in embed mode (I have later changed the theme to another than subsilver2 with success)
12) At this point you can try your own theme - it worked perfectly for me - it's in fact an artisteer theme
13) First at this point I looked into the install.txt file to be sure I had all the settings in phpbbforum right.
All this took me under 30 minutes.
Conclusion: As I can judge the install.txt file found in this forum is from 2008 and cannot be used for the newer versions of drupal, phpBB3 or phpbbforum.
phpbbforum doesn't log in automatically to phpBB on aliases
When user loged in to my site using some of the aliases for base site phpbbforum doesn't log in him automatically to phpBB. I.e. domain name sitename.com.ua is a base site name, the aliases for it are sitename.org, sitename.com etc. When logging in on sitename.com.ua everything works fine. But www.sitename.com.ua is also an alias and with it phpbbforum auto log in works fine also.
Thanks in advance
questions, comments, suggestions
1st of all let me say thank you to VB for the hard work he's put into this module.
I'm in the process of testing/trying to learn drupal as a platform for some social networking type sites I have in mind and I'd just about settled on using the core drupal forum module (along with advanced forum) until I read somewhere how incredibly resource hungry the core forum module can be....If I remember correctly 80+ mysql queries just to load the index page.
Being somewhat familiar with phpbb, and assuming its not only more feature rich but more efficient also, I did a search for integration options between it and drupal and found this module. I'm usually skeptical of "bridges" but after 24 hrs or so of testing I think I've finally got it working in all the major ways it advertises. I'll be honest tho it was touch and go....I assume a lot of people may throw in the towel before they ever get it working correctly. Therefore, I'd make a few suggestions.
a) Definitely keep working on the documentation. I'd suggest creating an html version of the install instructions for easier/clearer understanding.
b) Dump the patching. At least just make it an option along with providing a clear link to the patched files for upload. It was only by accident that I found a link buried in a forum thread for downloading the pre-patched files. Almost anybody with a drupal site will have ftp access to their site for uploading the pre-patched files.....very few will know how to, or be able to, run the patch themselves. Don't assume the majority of your users will be that tech saavy. I've been designing sites for years and still don't know how to run a patch via command line.
Broken links if the phpBB language is not set to the default one
Hi,
Thank you for providing this bridge module between Drupal and phpBB.
I'm installing it right now, followed the instructions and found the solutions when I had a problem, and it's not almost working.
I can see the /phpbbforum page (I should find a way to change this path by the way) embedded in my Drupal website, but all the links are broken.
Instead of pointing to phpbbforum/viewtopic.php or phpbbforum/viewtopic.php for instance, the current language is added in the URL, so I get fr/phpbbforum/viewtopic.php or fr/phpbbforum/viewtopic.php links. phpBB and Drupal are installed in French, and the website in only in French, hence the "fr", but this is not the right URL.
How can I avoid this problem?
Thanks!
Last topic on index page
hello
I will try to explain the issue
currently have a forum to phpbb and I want to connect it with drupal
with these your bridge. no problem to do it.
I have a question for the last active topic that I want to be on the index page.
Is it possible to create a module that looks similar
http://img59.imageshack.us/img59/3038/examle.jpg
that is in the form of table that has the first and last post, the number of entry and reading. date etc.
option to choose which forums can be displayed in the last topic (admin mod forum not show)
Thanks for your reply
I solved that issue changing
I solved that issue changing in the drupal language settings, and removing the language prefix
Thank you a lot, I didn't
Thank you a lot, I didn't think about it and it indeed solved my issue.
Roles/Groups problem
I have an operational installation.
I have created a specific role in D6 (Club Members), I then created the same group in phpBB3 and assigned that group to a specific forum, then in admin/settings/phpbbforum#Roles ands groups I linked the 2 together. Roles and groups synchronization: Enabled.
The object here was for Club Members to be assigned the apropriate role and then they could have exclusive access to a forum as well as all other forums. Normal authenticated user would not be able to see the Club Members forum.
The problem I have is that when a club member logs in they cannot see the Club Members forum.
If I assign authenticated users to the forum it appears for the club member, but then all authenticated users can access it.
I am just wondering what I may have missed, or is there a trick to setting up roles/groups that I am not yet aware of.
Regards
Fred
after installation
I have installed this Drupal 6.15, this modul, and phpbb 3.0.6
I have connected Drupal with forum by this module and have 4 green bars in settings of bridge.
I can use option - In frame inside Drupal page and it works fine. If I try to use - In the Drupal page. (Except for ACP) I get these errors/warnings
[phpBB Debug] PHP Notice: in file /phpBB3/index.php on line 20: include(./common.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /phpBB3/index.php on line 20: include(./common.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /phpBB3/index.php on line 20: include() [function.include]: Failed opening './common.php' for inclusion (include_path='.:/usr/share/php')
[phpBB Debug] PHP Notice: in file /phpBB3/index.php on line 21: include(./includes/functions_display.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /phpBB3/index.php on line 21: include(./includes/functions_display.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /phpBB3/index.php on line 21: include() [function.include]: Failed opening './includes/functions_display.php' for inclusion (include_path='.:/usr/share/php')
[phpBB Debug] PHP Notice: in file /phpBB3/includes/session.php on line 361: session::include_once(./includes/auth/auth_db.php) [function.session-include-once]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /phpBB3/includes/session.php on line 361: session::include_once() [function.include]: Failed opening './includes/auth/auth_db.php' for inclusion (include_path='.:/usr/share/php')
Warning: Cannot modify header information - headers already sent by (output started at /home/site/101100/www/phpBB3/includes/functions.php:3493) in /home/site/101100/www/phpBB3/includes/functions.php on line 3543
I am not sure what I can change to get it displayed as Drupal page?
Forum display in drupal Layout
i have installed phpbb3 with drupal6 successfully , but when i click the forum link menu ,forum was opened in new page ,it would not opened in the drupal page , help me to display in drupal page .
phpBB display way:
In the window
In frame inside Drupal page
X In the Drupal page. (Except for ACP)
Change the way phpBB is displayed in Drupal.
phpBB ACP display way:
In the window
X In frame inside Drupal page
Change the way phpBB ACP is displayed in Drupal.
phpBB redirects:
X Using phpBB meta refresh
Immediate redirect
Fixes in release code? Reliability?
I have scrolled through these two pages of comments and first of all I want to thank VB for his hard work on this module. I theory this is exactly what I am looking for. I am not a regular Drupal Administrator and do not currently have a Drupal site, but I "know of" Drupal and it is a serious contender for my next site. In particular with this module.
The site audience is intended for Community Administrators/Moderators, reviewing forums software, cms's with forum support, articles, how-to's and lot of related info. In order to achieve this I need a solid CMS with integrated Forum. Also this means that I would recommend this solution for that kind of site.
So my question is how is the status of this module? Are the code fixes above posted by users being implemented (if relevant)?
Despite of my experience managing communities I really do not want to make a fool of myself, choosing a solution that has a lot of inherent issues that will cause me, and the site, problems. I would also like to mention that I try to avoid any code modding unless essential, since that, imo, easily becomes a security issue. Not a very good coder either ;)
Hoping for the best, and keep up the good work!
Start Here
Hi! I scanned through the plethora of posts in these pages about phpbb within drupal and didn't find what appears to be a "Start Here" type of response, and it looks like the other posts in here are addressing issues in the middle of the set-up process for bridging drupal & phpbb together.
Is there a user-friendly step-by-step how-to on configuring phpbb and drupal to work together?
I'd like to install phpBB3 within Drupal so that the message board is accessed physically within the Drupal site (I'd like to stay away from the type of message board that loads an entire separate page). If the Drupal site's main menu or similar page elements can still be present, with the phpbb inside of that (like in a main content type of page), that would be excellent! :-)
I'm also planning on including a Gallery & a Wiki within the same Drupal site. Is there possibly a way to "bridge" those with all of this too?
Thank you for your assistance!
phpbb_api_hooks
Okay, so I managed to get phpbbforum module and phpBB3 working together fine... no problems at all. Permissions set up for everyone to have access to the forums (anon, members, etc.).
I can access the forums from admin account.
I cannot access the site AT ALL after logging out of admin account.
The same "api_hooks" error came up as mentioned by someone in an earlier post here:
/modules/phpbbforum/includes/phpbbvbridge/phpbb_api_hooks.php on line 147
Well. That sucks.
phpBB3 is a very popular message board. I am shocked that this isn't already a more stable module.
If anyone has any ideas on how to make the the bridge work (without having to log into admin!) please let us know! Thanks!
If anybody knows coding (I don't, sorry)... this is what line 147 reads:
throw new PhpbbVBridgeException('exit', VBridgeException::THROW_OUTPUT);
Does anybody have a clue
Does anybody have a clue about how to get that working? The bridge is about 90% there, it's only missing some tweaking. So, how do we get it working? How do we get that "api_hooks" error resolved?
Thanks!
Almost there... but not quite.
Well, after initial frustration and failure, I've just tried again with fresh installs of Drupal (6.0.15), phpBB (3.0.6), and phpBBforum (beta9).
And I've got _something_ working! User synch is working fine. The blocks are working fine.
However, it's not _all_ the way there yet.
/var/www/html is the root of my Apache install.
/var/www/html/drupal is the root of Drupal.
If I have phpBB3 installed into
/var/www/html/forum then "In Window" works fine, via http:///forum, when links in the blocks are clicked.
If I have phpBB3 installed anywhere else, those links fail. They still try to take me to http:///forum
If I try to use "In Frame" or "In Page", those links fail. They try to link to http:///drupal/phpbbforum
If I move the forum to /var/www/html/drupal/phpbbforum those links then work. BUT they don't re-use any of the Drupal wrapper - it looks just like normal, vanilla phpBB3.
If I have links to http:///drupal/?q=phpbbforum, I get a Drupal "Page not found".
Apart from phpBBforum, the only module I've enabled is Path - and there's no URL aliases set up in there.
And we're there!
Getting CleanURLs working has fixed it.
I'm still limited to having phpBB itself installed at http://server/forum but I can live with that.
How did you get it working?
Check out my previous post with Subject "phpbb_api_hooks" in it. I'm hitting a roadblock with the thing.
WSD with 6.x-2.0-beta9
Hi guys.
I just reinstalled this module on a brand-new drupal installation, followed all the install.txt instructions till the 'IV. Install and setup phpbbforum module' section.
The first time i reach /admin/settings/phpbbforum, it say that cant find the phpBB directory (i've changed to phpBB3-0-6) and the three error in module status:
--
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!
--
So, i enter the real directory path, but when i click on 'update' i got the white screen of death and a logout.
I added the 'debugging' lines in index.php:
as suggested in http://drupal.org/node/158043, but still nothing, WSD and logout.
EDIT: i figured out that it works with a different phpbb folder name. I changed it from phpBB3-0-6 to phpBB306 and it works perfectly, maybe there is a but on th hypens, or hyoens cant be usend in that folder name.
You HAVE to assume your visitor is a maniac serial killer, out to destroy your application. And you have to prevent it.
_
This thread is quickly approaching 500 comments and has turned into a support queue for the module. The op was merely a module announcement. Please continue this in the module's issue queue. Thanks.
Pages