Chris wrote: “Using the same database is how the bbPress directions are written now; I think it’s assumed. “
I thought the installation instructions were vague on this point. It wasn’t at all apparent to me which way I should go, and how o safely proceed with installing it into the wordpress database. A little editing could be very helpful to others in the future.
This is what it is supposed to mean:
*one users table in the DB and one login (you write
name and password once, and you are logged in the places)
Seems lots of people lately are having trouble with that. They idea behind integration is that you can log into either bbPress or WordPress, and you’ll be logged in on the other side. The two installations appear “integrated”, at least from a user login perspective.
What exactly means “WordPress + bbPress Integration”?
* one users table in the DB
*one users table in the DB and one login (you write user name and password once, and you are logged in the places)
* or something else?
Sounds like the user you are logging in as doesn’t have admin or keymaster privileges. If the admin link is not there once you are logged in, then you don’t have permission to do that.
Try this:
https://bbpress.org/forums/topic/deleted-admin-in-wordpress-now-no-keymaster-in-bbpress#post-18241
To install in the same database, you just specify that database’s connection details in bb-config.php. The important thing is to be sure you use a different table prefix for the bbPress installation. By default, it’s bb_ for bbPress and for wp_ for WordPress. Use different table prefixes and you can install as many applications into one database as you want. Just keep the table prefixes unique.
To uninstall, yes, just delete the directory with bbPress in it, then drop the bbPress tables from the database. DO NOT delete the database since you have WordPress in that database as well, right?
You’re probably overthinking it. Using the same database is how the bbPress directions are written now; I think it’s assumed. The key is to just keep the table prefixes unique and you can put as much stuff in one database as you want.
I installed bbPress at http://www.site.nl/bbpress. At first, http://www.site.nl/bbpress/bb-admin was working, but just recently it doesn’t work anymore. I get redirected to the front office.
I think I deleted my admin account or something like that. You do I tackle this situation?
thank you!
http://greenprophet.com
http://greenprophet.com/exegesis
using peacemaker theme on bbpress
ideally i’d like to be able to access the functions so that I can integrate the pages better.
_ck_ said: “I recommend against separate databases unless you have some kind of weird configuration that demands it.”
Could you, or someone else, please outline any special instructions on how to go about installing bbpress to the same database that wordpress is already living on? Or is it just that simple as designating the wp database in the installation? What can go wrong? I have visions of destroying our wp installation and losing all our posts and pages.
Also, to uninstall bbpress, do I just delete its folder and database?
I would suggest adding a paragraph in the installation instructions recommending the single database installation and whatever instructions are necessary on how to properly do this.
Looks like you have not set up permalinks. Please try “none” in the permalinks setting, and see if the forum works. Then, if it does, go ahead and configure your .htaccess to allow permalinks.
https://bbpress.org/documentation/faq/#pretty-permalinks
Please post a link to your site. And the version of WordPress and bbPress.
Sounds like something built into the theme. Can you try the default theme and see what happens?
After I included into my bb-config.php
if (file_exists(‘../wp-blog-header.php’))
require_once(‘../wp-blog-header.php’);
my bbpress site turned into a “demo” site. It now says “Regisration disabled. This is a demo site.” (yes, with the spelling mistake) above the login.
any ideas what i can do?
many thanks!
Hello, I’m fairly new to bbpress, but I’m an avid web developer and wordpress user.
My problem:
When I go to the settings page, I cannot disable avatars.
I can uncheck it, but when I hit “update settings” I scroll down, and it’s just checked again!
Do I have a ghost? Am I doing something wrong?
I’m using:
BBPress V.0.9.0.2
Plugins:
Hidden Forums
Allow Images
BBCode Buttons
BBCode Lite
Avatar Upload (currently disabled, it won’t work because gravatars keep overwriting it or something)
I’m trying to setup bbpress as a seperate install from my wp install, but I am sharing the same database. here is the url
http://portfoliosfriend.com/jobs
if you click on any forum or post, it just goes to an error 404 page. I’m not sure what happened in the DB that caused this, or if I need to set something else up. any help would be great! thanks.
That’s another one of those silly things that got carried over from WordPress. The database limits it to 60 characters and the default template limits it to 30 characters but it’s still overly long.
Fortunately in bbPress (unlike WordPress) the registration form is done in a template and not in the core, so the easiest way is just to modify the register.php template under my-templates (or copy it from bb-templates) and change the line that looks like this:
<td><input name="user_login" type="text" id="user_login" size="30" maxlength="30" value="<?php if (1 != $user_login) echo $user_login; ?>" /></td>
And instead of 30, make it the size limit you want.
However people that are sneaky and bypass the registration form can still make it 60 characters (ie. spammers). But they will stick out, so you’ll notice it right away.
This can be fixed via a plugin but it would be way too much code to justify the fix. The template method is best.
When my forum is viewed in Firefox, the long email addresses of users who post are encroaching on their post content. Not a big issue, but a bit untidy and annoying. See: http://ashb.proofreadercentral.com/bbpress/topic.php?id=8
(user name: tester / password: testing123)
Which CSS in which file would I modify to make the page width of the forum a bit wider and increase the distance between poster email details and their adjacent post content, please?
If you are using an Apache webserver, you can use .htaccess with basic auth to require people to enter a password before they ever see the forum installation.
http://www.apacheweek.com/features/userauth
Not sure how to do it on a Windows server.
If it can be done, how would I go about password protecting a forum? I want to have the main website open to the public, but the forum to require a password before someone can register and see the forum posts.
If you have an issue with the alpha release, please file a ticket at trac.
https://trac.bbpress.org/newticket
You will need to log in before you can file a ticket. Be sure to choose the correct version when submitting the ticket.
I’m running Alpha 1.0 and recently had to ask for support. I get the feeling I did something wrong before I did the solution as I now have an issue where I APPEAR to have permission to access admin panel and to post, but clicking on the links just sends me to the board index.
I’ve reinstalled the BBPress files and deleted the ‘bb_’ tables in the sql however this issue remains in this new installation. I’m integrated with WP, therefore I was wondering if someone could list the rows added to the WordPress sql by the bbpress integration process so that I could try removing them.
Holé,
i want to add the possibilty to insert a player for play mp3 songs, with that: http://www.alsacreations.fr/dewplayer
so, i have try this:
<?php
/*
Plugin Name: bbPress MP3 Dewplayer
Description: A simple way to add a mp3 player in posts, with bbcode.
Author: Frédéric
Author URI: http://bbpress.org/
Version: 0.1
*/
add_filter( 'bb_allowed_tags', 'allow_mp3_tag' );
function allow_mp3_tag( $tags ) {$tags['mp3']; return $tags;}
?>
to have a simply “mp3” bbcode (i use BBcode Buttons Toolbar and BBcode Lite).
the html code for integrate the player is:
<object type="application/x-shockwave-flash" data="dewplayer.swf?mp3={LOCATION OF MP3}&showtime=1" width="200" height="20"><param name="wmode" value="transparent" /><param name="movie" value="dewplayer.swf?mp3={LOCATION OF MP3}&showtime=1" /></object>
but how to integrate that in php code of plugin?
at the end, i want that the members can post that:
[mp3]URL OF THE MP3 FILE[/mp3]
so, i have add that in bbcode-buttons.js:
function edClick(button) {
switch (BBcodeButtons[button].id) {
case 'ed_close': edCloseAllTags(button); break;
case 'ed_link': edInsertLink(button); break;
case 'ed_img': edInsertImage(button); break;
case 'ed_mp3': edInsertMp3(button); break;
default: edInsertTag(button); break;
}
}
and
function edInsertMp3() {
var myValue = prompt('Enter the URL of the mp3 file', 'http://');
if (myValue) {
myValue = '[mp3]'+ myValue+'[/mp3]';
edInsertContent(myValue);
}
}
but this is incomplete, what add in the bbcode-lite.php and my file plugin?
please help me to finish the plugin :p
Bye
I faced the same problem, when installing bbpress 1 alpha with integration options (wp2.6) .
The problem is because of automatic generated codes by wordpress api. I installed wp 2.6 and get those codes through api. I had bb-login.php problems when I installed bbpress 1 alpha. And I changed wp codes written in wp-config.php to simple ones( I removed some special characters such a ),”,],/,,[,},{ ) , and then it worked.
I hope this helps you too.
Both bb and WP store data in wp_users and wp_usermeta, so when you do bb_get_user or get_user you get basically the same object.
I have a memberlist using my plugin, Aleph. The list is here: http://www.ryuuko.cl/busqueda/gente/
As you can see, i display a location field, which is filled in bbPress profile form.
I can log in only through WP for both BB and WP, and also log out: only through WP. I need help how to log in either in WP or BB for both BB and WP, and log out too?
Is there any way to “undo” an integration? I integrated WP 2.6 with version 9 before I found this thread and now I can’t log into BB press at all. Just wondering if I can hack in and do something to revert it back.