Hi, I’m currently having a similar problem. Having just upgraded to the new version of bbPress and taking advantage of it’s automated WordPress integration. However upon completing this I found I couldn’t access the admin panel.
I removed the bb-config.php file and ran through the installation again, leaving out the sections relating to WordPress integration. However I still cannot access the administrative panel.
I’ve tried some of the recommendations around the forum such as this, but to no avail.
Ideas? Feedback appreciated.
I don’t have pretty permalinks on. I don’t have an .htaccess file in the bbpress install. My root .htaccess is this
php_flag register_globals off
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/print/?$ /wp-print.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA,L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$
RewriteCond %{HTTP_COOKIE} !^.*wordpressuser.*$
RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{DOCUMENT_ROOT}/wordpress/wp-content/cache/supercache/%{HTTP_HOST}/$1index.html.gz -f
RewriteRule ^(.*) /wordpress/wp-content/cache/supercache/%{HTTP_HOST}/$1index.html.gz [L]
RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$
RewriteCond %{HTTP_COOKIE} !^.*wordpressuser.*$
RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1index.html -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1index.html [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
<Files 403.shtml>
order allow,deny
allow from all
</Files>
#AddHandler php5-script .php
bbPress needs the internal rewrite engine that WordPress has.
Multiviews is unreliable and availability is inconsistent.
This looks great! Thank you.
Now if we can get WP-Grins converted to bbPress, we’d have clickable smilies…
https://wordpress.org/extend/plugins/wp-grins/
One of the major stumbling blocks for implementation of permalinks is the creation of the .htaccess file.
There is at least one ticket requesting automation of the creation process via the admin area of bbPress (just like WordPress does). But the problem with that is that we support both the “MultiViews” and “mod_rewrite” methods of creating permalinks.
In light of this and some other problems with “MultiViews” I’d like to gauge the possibility of dropping “MultiViews” support in favour of “mod_rewrite”.
What do you all think? Do you use “MultiViews” or “mod_rewrite”? Why? Would you really miss “MultiViews” support?
Hey,
Just wanted to mention that I have released a matching WordPress theme, just in case anyone is using Peacemaker for bbPress.
You can download it here.
UPDATE!!
Figured out a way to integrate WordPress smileys into bbPress. Use this plugin!
http://pastebin.com/f411dfe2a
OK, I found the problem. I had jumped ahead and installed the .htaccess file for pretty permalinks. This prevented the installer from running.
But now I’ve got an ugly long URL because I installed it under ../WordPress/
How do I reconfigure bbPress so that I can make the forum
http://www.paara.org/forum/
instead of
http://www.paara.org/WordPress/bbPress/
?
I installed bbPress in http://paara.org/forum/ because that’s what I wanted the URL of the forum to be, and the installation instructions didn’t indicate any preference for where.
Just one blog, with the WP files at http://paara.org/WordPress/ but with the public URL being simply http://paara.org/, as described in https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
And after moving the bbPress directories to http://paara.org/WordPress/bbPress/, I still can’t get the install to run, or anything but the “no content” message to appear.
What am I missing?
@raygene can you give me some more details on your install..
you have to initialize bbpress by adding code in your wpconfig file.. have you done that?
@citizenkeith plans – yup.. timeline – nope
@nolageek
just deactivate the “Display Name” plugin and try again, that was the only solution I’ve found. You can reactivate it after you do you changes
Works great, although I added a couple of rewrite rules.
/forum/profile to /forum/profile.php and /forum/tags to /forum/tags.php
The profile and tags pages were still returning 404 headers.
Problem solved.
Turns out that I overlooked the part of the integration documentation which advises users to add the path to wp-blog-header.php
In the upgrade, a new config.php is created, and naturally one needs to add this path again to the new document for them to work.
Once you do it… it works! Yaaay.
Working now. As this was a new data base with no content yet, I dropped the database, made a new one, installed wordpress, then bbpress. All seems to be working correctly. I must have put wp_ in step 1 the first time instead of leaving it at bb_. No problems with logging in like I had when I tried the upgrade. Thanks.
Why isn’t bbpress installed in a subdirectory of WordPress (that’s easiest for integration)?
And what does this mean exactly:
> WordPress 2.5 is installed in example.com/WordPress/
> with the actual public blog up one level at example.com/
Do you have two blogs, one or both of them WordPress?
I’m not sure if people don’t know how to do it, or if it’s not possible, or if I’m just not explaining it clearly enough… So I’ll try again:
Right now, physically, the folders are arranged like so:
root.com/folder/bbpress
The address:
root.com/folder/bbpress
also works and goes to the forum just fine.
However, I want to keep the physical folders arranged that way, and make the address:
root.com/bbpress
WordPress itself has the exact same option under “Settings” by changing “Blog address (URL)” to whatever.
Any help would be appreciated!
I’ve uploaded the bbPress files to example.com/forum/ and WordPress 2.5 is installed in example.com/WordPress/ with the actual public blog up one level at example.com/
When I go visit example.com/forum/ or even example.com/forum/admin/install.php all I get is a blank post from the WP site that reads “Sorry, no posts matched your criteria.”
What do I need to change in order to make the installation run?
WordPress created this .htaccess file and placed it in webroot, and I’m guessing this is the problem:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
This looks good. I’m looking forward to the next version.
Any chance of you upgrading the Private Forums plugin?
“yes this will work only if you have bbpress running inside of wordpress. But I will release a next version which automatically do it”
I do have bbpress running inside of WP and still get the error…
Gene
@_ck_ yes this will work only if you have bbpress running inside of wordpress. But I will release a next version which automatically do it.
My host has disabled sendmail (because they like to make things a pain in the ass for everyone, apparently), so I have to find workarounds for everything I have installed. This plugin for WP has saved my bacon for my main site, but I haven’t found a solution for bbPress and my php fu is weak.
Hi everyone,
Currently my forum is located in something like:
example.com/dir/forum/
But I want to rewrite it to be like this:
example.com/forum/
Since WordPress can do that, I was hoping bbPress can too, but I’m not sure how. Is there some setting I can change?
Also secondary to that is that if there is no setting for such an option, can I just move the “forum” directory out of “dir” and into the root, and change the “bbPress address” to force it to physically be like “example.com/forum/” or would that screw things up?
Thanks a lot everyone
I also get the same error…
I hope the author will come up with a fix, this would be a handy plugin.
Cheers,
Gene
I have spent the last couple of hours on the forums trying to figure out how to actually do this when the existing blog and forum are currently seperate databases.
My situation is as follows:
– wordpress 2.3 blog with no users (except admin)
– bbpress 0.8 forum with many users
I want to get to a wordpress 2.5 blog and a bbpress 0.9 forum with an integrated database.
I think the steps are:
1. upgrade wordpress to 2.5
2. upgrade bbpress to 0.9
3. then?…. how do I combine the database?
Or can I keep the seperate databases and still get the benefits of combined cookies and users carried from wp to bb and vice versa? If so, how do I bootstrap the wp database with the existing bb users?
Any help out there?
Other function names:
* get_usermeta => bb_get_usermeta (the same applies to delete usermeta)
* add_option doesn’t exists
* update_option => bb_update_option
* $current_user->has_cap => bb_current_user_has_cap (or something like that, check the files in bb-includes).
* is_user_loggedin => bb_is_user_logged_in
And others …