I’ve installed a WPMU with buddypress. I’ve also installed a bbpress alpha release. My buddypress users are able to login in bbpress but they require to re-login.
I’ve also installed bbPress Integration plugin (1.0-alpha-6) and all settings are fine.
I want to share a common login for both, meaning if user is logged in buddypres then he shouldn’t required to re-login in my bbpress installation. Is there a solution around it?
I have followed video integrating the database with ease. I now have your plug in for WP. I have copied the lines of code and have pasted them into my WPconfig file. What I have noticed with this code, I cant log out off bbpress, and every time I go back to wordpress it logs me out !
Any step by step directions on the integration would much appreciated !
I’ve tried installing bbPress 0.9.0.4 twice now, and with the same results both times. It installs, runs, lets me into the ACP to change things, etc. I add nothing more than a topic and a post, and get this for every link I select;
Not Found
The requested URL /topic/welcome-to-the-forum was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
It’s all in the DB, so what’s happening? Any help appreciated before I go mad (have tried 5 BB packages in 3 weeks trying to meet my users requirements).
[edit]
Aha! Found a post elsewhere about changing Pretty Permalinks, and that was what wrecked it. Should perhaps have some sort of internal test when you click the dropdown list..?
Forgot to add… I installed bbPress through HostMonster, and the version used is v0.9.0.4, and the PHP version used by HostMonster is 5.2.9.
Now, I just tried something suggested in another thread with the exact same problem, and I have fixed this issue.
So, here goes gm10gm10:
1. locate a file named .htaccess inside your ROOT DIRECTORY.
2. open this file to edit using the means offered to you by your hosting provider or FTP
3. locate a command line which may look like what follows (mine differed from commands in this thread: https://bbpress.org/forums/topic/warning-cannot-yet-handle-mbcs-in-html_entity_decode-in-home2):
–> the command *may* look like this: AddHandler application/x-httpd-php4 .php
4. Be mindful that variation on the code may be needed, make a copy of what was written than change it to look like this:
AddHandler application/x-httpd-php5 .php
AddHandler application/x-httpd-php .php4
5. It appears that it needs to be able to read php5 — Mind you, my host provider states PHP v. 5.2.9 so there should be not problem.
In any case, I hope this helps.
Regards, pat
bump
Yes, I can’t help but wonder why some of the most used plugins for bbPress (yeah, _ck_’s) are not localized? I looked into the code and saw that they use __() and _e() calls but lack the text domain so they can’t be translated in the usual way…
_ck_, did you hear that?? ^^
bbPress plugins altogether have poor localization – maybe the framework isn’t clear?
Thanks to sambauers I got the login working across both systems now. The important trick is to add the following line to bb-config.php, unless you are using WordPress 2.8:
define(‘WP_AUTH_COOKIE_VERSION’, 1);
Now I have only one problem left: I cannot access the bbpress admin area anymore. I instantly get redirected to the forum. Any ideas what might cause this?
Oh, I checked my webserver’s log and found that my rather obsolete German translation is still downloaded frequently. So I decided to rework it for the latest stable bbPress 0.9.0.4.
You can download my language file on my German blog.
And now for the folks that understand German better than English:
Oha, ich habe einen Blick in die Logdateien meines Webservers geworfen und musste dabei feststellen, dass meine ziemlich veraltete deutsche Übersetzung immer noch häufig heruntergeladen wird. Deshalb habe ich meine Übersetzung für die aktuelle stabile Version 0.9.0.4 von bbPress überarbeitet.
Wer mag, kann meine Sprachdatei in meinem kleinen Blog herunterladen…
Here are the working plugins that I’m using with RC1:
- Allow Images 0.7.1
- bb-chunk 0.1
- BBcode Buttons Toolbar 0.0.9
- BBcode Lite 1.0.3
- bbPress signatures 0.2.0
- bbPress Smilies 0.0.8
- bb Topic Views 1.6.4
- BBVideo 0.24
- Censor 0.1
- Change Number of Front Page Topics 0.1
- Check For Updates 0.0.2
- Hidden Forums 0.0.8
- Human Test for bbPress 0.9.1
- Move It 0.14
- Post Count Plus – Dynamic.Titles & More! 1.1.11
- Quote 0.2 with add-ons by fel64
- Simple Onlinelist 1.5
- Strike 0.1
- Unread Topics 0.4
- Wiki Post 0.1.5
Plugins that AREN’T working:
- Admin add user 1.3
- Approve User Registration 0.3
i have installed bbpress in the root directory itself! now the problem is i want a user to login from a different page say index2.php and before getting redirected to the forum’s mainpage i.e index.php he should be redirected to index3.php. All the 3 index pages are in the root directory itself.
Basically i need a login box on the mainpage of the website and then after being logged in the user should be redirected to the backend of the website! Not the forum mainpage. The forums have been installed in the root directory so as to overcome the problem of bbpress not being able to share cookies over sub directories apart from wordpress! I use the database of the bbpress itself still haven’t got any success!
Hoping for a quick response!
Thanks!
Vipul
Hi Guys,
I so want to move my forum from smf to bbpress but not sure how do I go about d0ing this. Is there any converter yet in place to handle this or any other solutions around?
please advice
thanks
dave
Oh yeah!!!!! It works!!!!!!!! Thanks a lot))
I’ve just synced cookies on bbPress 0.9.04 and WordPressMU for the second time. I’ve read a few places that it doesn’t work or is difficult, so I wanted to share my solution. It’s really very easy. I wrote it up in a blog post:
http://www.callum-macdonald.com/2009/05/17/bbpress-09-and-wordpressmu-27/
It was remarkably simple (at least to me) to get it all working. Summary of steps:
1) Set all _KEY values to the same in WordPress and copy to bbPress.
2) Repeat for _SALT values.
3) Set COOKIE_DOMAIN and COOKIE_PATH
4) Settings > WordPress Integration > Show manual config settings, copy into bb-config.php.
5) From 4, change the authcookie value to wordpress_logged_in_
Step 5 won’t work exactly on WordPress standalone because it uses a hash in the cookie name. You can probably check the WordPress cookie in your browser and set it manually. Or maybe it’ll “just work”.
Then I whipped up a plugin to set / unset the other 2 WordPress cookies on bbPress login / out. It only works for WPMU right now. Somebody could probably improve it to work for WordPress. Code here:
http://www.callum-macdonald.com/download/wpmu-cookies.php-0.1.zip
This might be useful to somebody…
I just realized it is doing the same thing on another bbpress forum I installed last year. I know it used to work however. Ugh.
chrishajer, I installed bbpress 0.9.0.4 , and they are sharing a database, use the same login, etc.
sambauers posted this in another thread:
Oh, I forgot, add this to your bb-config.php
define(‘WP_AUTH_COOKIE_VERSION’, 1);
When you upgrade to WordPress 2.8 later, you will need to remove that line.
Worked like a charm for me!
When my users click the same link while signed out, they get sent to a similar link:
http://boards.weddingbee.com/bb-login.php?re=http%3A%2F%2Fboards.weddingbee.com%2F%3Fnew%3D1
So it looks like bbPress is sending users to the right place. So I played around with your URL a bit:
http://www.endsofearth.com/forum/bb-login.php?re=http://www.endsofearth.com/
That didn’t work either, so I stripped off the re= part completely:
http://www.endsofearth.com/forum/bb-login.php
That worked… suggesting that the problem is with the re= part and your htaccess file.
Just when I was feeling clever, I did a quick Google search and ck had already figured it all out:
https://bbpress.org/forums/topic/latest-discussions-add-new-link-problem-if-not-logged
Maybe try disabling MultiViews or checking your htaccess file?
Looks like you integrated with WordPress 2.7.1 – did you integrate the logins? What version of bbPress did you install?
Looks like your installation is missing the bb-load.php? Did you try to include bb-load.php into WordPress? If so, you probably just have the path to the file wrong.
Are the xxxx’s the path to bbPress or WordPress directories? Obfuscating that makes it hard to see what your error is really saying.
Also, what version of bbPress are you talking about?
No, I don’t. I’m still pretty new to WP and would like to integrate them both. I have Facebook Connect running on the main site for comments and would like to do the same for the forums. Since I couldn’t port the site over from my old software (e107), I opted for Facebook as an easy way to comment.
Is there a way to integrate Facebook Connect into bbPress?
Very nice. I see you’re using WordPress 2.7.1. Do you have integrated logins between the forum and the WordPress site, and if so, how did you integrate them?
I just launched my site on WordPress and am loving it. http://kingscast.net (We’re about 98% complete with integration)
I also launched our bbPress forums site found at http://kingscast.net/forums – custom theme but playing around with integration of plugins, etc.
I’d appreciate any feedback! Thanks!