Hello,
I really need to login to my bbPress forum with my seperate web application,
but for that I need to know how the password in the database is encrypted.
I already tried to include the functions from “functions.bb-pluggable.php” etc. but that’s a mess and don’t work.
So I need wheter a API/Bridge or how the password is encrypted.
To change the keys, just delete those four lines, and create new keys here:
https://api.wordpress.org/secret-key/1.1/bbpress/
Then paste the new keys back into the same location in bb-config.php.
DO NOT attempt this if you have integrated logins with WordPress. You didn’t mention that, and the site you linked to comes up with forum first as the main page, not a WordPress blog. So, if you’re using just bbPress without integration, it’s safe to change those keys.
Here’s the advice from wp-config.php on what this does:
You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
You didn’t mention earlier that you’re relying on the browser to save your password. I would try with a new browser and typing in the password manually to see if you get the failure on the first attempt with your known good password.
I wonder how this can be:
“I just attempted to do a perfectly clean upgrade: still getting the db connection issue after bb upgrade tells me I need to upgrade my DB. “
How can the bbPress upgrade/install know the database is out of date if it cannot connect to the database? I thought the version was stored in the database in the first place. I might have to try breaking my bb-config.php and attempting to upgrade a 0.9 installation to see how this works. Haven’t tried in a while.
Are you upgrading bbPress just to make integration with the latest WordPress easier?
The lead developer on BuddyPress explained the relationship this way: “There is code in BuddyPress that allows bbPress to install, configure and run all within the WordPress environment.”
https://bbpress.org/forums/topic/future-of-bbpress#post-60022
They are definitely separate programs… it’s just that BuddyPress is based on WordPress MU, and the BuddyPress team has added the ability to install bbPress from inside of WordPress.
Hope that clarifies the relationship a bit more!
@BerryReview, can you help me with this?
it came with my version of buddypress, so i assumed it was a plugin but i could be wrong.
bbPress is currently only available as a standalone version. It’s not yet available as a plugin – as I understand it, that is several versions away at this point.
So i see there are two versions of this software, a plugin and stand alone version. I guess im wondering if both will continue to be supported or are they moving in one direction?
Also, is there any plan to create importing options for those who have phpbb or vbulletin forums and want to transfer to bbpress?
thx
Just when I was ready to throw in the towel for the weekend!
I just attempted to do a perfectly clean upgrade: still getting the db connection issue after bb upgrade tells me I need to upgrade my DB. These are my only instructions: https://bbpress.org/documentation/upgrading/
Chris – I do have a solid / tested 0.9 backup. That’s where I was headed before checking the boards one last time. I’m installing this on a test sub-domain of my production website – so no LAMP. I use the Media Temple Grid Server (poor man’s server) and have scoured the other Media Temple quirkiness posts here. I tried hard-coding the db host https://bbpress.org/forums/topic/mysql_connect-cant-connect-through-socket with no luck.
Regarding the 0.9 bb-config…I did find some remnants of a WP integration attempt (keys and whatnot). But, because my 1.0.2 upgrade ‘overlays’ the old bb-config – I’m starting with a new, clean (non integrated) bb-config doc. My problem is that, I can’t get to Step #2 of the install – that’s where I hit the db connection issue every time.
I’ve gone through the bb-config doc, and the DB host / user / pw settings a million times. I’ve updated all my schemas to UTF8 and the UTF8 charset – and I’m applying those config settings into my bb-config. Nothing works.
I’d like to blast my tables too…but that feels pretty invasive to me. A real test of my backup / recover abilities. I may not have the legs to get it done today.
Thanks as always for any help.
The renaming of the directory only come into play when you have an existing installation, and you change that folder name (some people install in http://www.example.com/bbpress/ and then realize later that path is accessible on visible, so they change it to “forum” or “discussion” or “community” or whatever.) The problem is, that folder name was stored in the database as part of the site URI (I think) so you are unable to access the forum in the new folder, since the database thinks the installation is somewhere else (original location.)
You can override the site URI in the bb-config.php (it’s not there in the 1.0 bb-config.php, but it is there in the 0.9 and earlier config, I think):
$bb->uri = 'http://www.example.com/forum/' (or change forum to the folder name that exists in your database. This line in bb-config.php will override the database.)
Also, it’s worth looking at the changes between bb-config.php from the 0.9 version to the 1.0 version. I have noticed with WordPress that even though you upgrade several times, you are left with the old existing wp-config.php and missing out on all sorts of stuff (like the security keys and cookie stuff from 2.7). Worth a shot to try your old database connection details in the bb-config-sample.php and see how it goes.
Also, is this a LAMP setup with PHP5, Apache, Linux, etc or is it OSX or Windows? Or localhost? Most installations are on LAMP so that’s the most likely help to find here.
Here’s the next bit of oddness – stuff that I cannot explain. It seems that something is wonky with my directory / file path on the server.
My original install was mywebsite.com/forum (and from there /bb-admin/upgrade.php etc)
When I dumped the new 1.0.2 files onto the server…I left it as ‘forum’ no changes (but with all the errors described above).
I saw a post on the boards here that said when they changed the name of the directory from ‘bbpress’ it wouldn’t allow them to login, and solving it was only renaming the directory back to ‘bbpress.’
So – I decided to name my directory ‘bbpress’…and when I re-ran the upgrade script (which should be looking at /bbpress/bb-admin/upgrade.php) it gives me an error saying “this link is broken” and says the link the “Upgrade Database” button is linking to is /forums/bb-admin/upgrade.php
What am I doing wrong?
Did a new file copy to the server and stayed with bbpress as folder name, seems to work now!
Thanks with helping me out!
Plugins and themes for bbPress. WordPress doesn’t matter at this stage of installation.
Are you installing bbPress as a WordPress plugin? bbPress is not a WordPress plugin.
Please provide the link to where you downloaded the files.
You can get a zipped version here:
https://trac.bbpress.org/changeset/2401/trunk?old_path=%2F&format=zip
Or you can check out the latest via subversion:
svn co http://svn.automattic.com/bbpress/trunk/ .
Either of those two methods will get you the latest trunk (development) version.
I downloaded the latest stable version right here. And I didn’t do anything about it, only changed the name of the folder bbPress to forum.
Do you mean themes and plugins for WordPress or bbPress?
Where do we find latest dev version for those of us on localhosts?
I don’t recommend editing core bbPress files. This is fixed in the latest development version already as well.
For running on localhost
Somewhere around line 25 of bb-load.php there should be a line that starts with error_reporting(. Change it to error_reporting(E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING);
Okay – here is my resolution. It only took me a weekend to figure this out.
Media Temple’s default DB CHARSET / COLLATE settings are ‘latin1’ and ‘latin1_swedish_ci’ for WHATEVER reason…
The bbPress db client connection is using UTF8 – which is why I kept getting the database error.
I used this command (because the knowledge base article in MT is incorrect) to update my CHARSET and COLLATE settings for my DB:
ALTER DATABASE db12345_wp CHARACTER SET utf8 COLLATE utf8_general_ci;
That allowed me to finish the upgrade.php script.
Hope this helps someone in the future.
bforeste
When I want to install bbPress I get this message:
Parse error: syntax error, unexpected ‘<‘ in …../……/……../public_html/forum/bb-includes/backpress/class.wp-error.php on line 205
So I can’t installe bbPress. What can I do about it?
Alex’s SVN links here:
https://plugins.trac.wordpress.org/browser/wordpress-mobile-edition/trunk/wp-mobile.php
Lines 17 and 18 mention a GPL license:
17 // Released under the GPL license
18 // http://www.opensource.org/licenses/gpl-license.php
So you should definitely be able to release this plugin as a derivative work. Good thing too, b/c I’d love to use it!
@BerryReview I’d love to use that plugin if available, I don’t mind editing the codes at all.
I tested your page with this website http://iphonetester.com/ and it’s looking good.
Good work, man!
Just installed WP 2.92 and Buddypress 1.2.1 on my dedicated Linux host @ 1and1.com. I literally:
installed
upgraded to 2.92
updated permalinks to non-default settings
downloaded/activated BuddyPress
Activated BuddyPress Theme/Uploaded Header
Initiated Forums (bbpress) Installation (went smoothly)
When I visit either http://www.kdjn.net/forums or http://www.kdjn.net/wp-content/plugins/buddypress/bp-forums , I get a blank page and nothing else. No errors, no administration page, no login prompt.. just the white page. Can anyone throw me a bone?
Thanks in advance-
Eric
Wow quick response! My man… THANK YOU THANK YOU AND THANK YOU AGAIN!
It works flawless!! Dude you’re the shizznit, there’s nothing more I can say. Hahah.
Thanks again