Published on July 18th, 2008 by
Good day all,
I realize that this sounds like an unusual question, but are there any special instructions for properly removing integration between WordPress and bbPress?
I just upgraded to WordPress 2.6, which broke cookie sync with bbPress leaving me with a semi-crippled integration. When I was using WordPress 2.5.1 the login integration worked like a charm thanks to bbPress 0.9.0.2’s easier integration with WordPress. However, I have other reasons for wanting to remove bbPress for the time being.
Here is what my approach would be like:
0. Backup my entire web space (<100MB) and databases (<2MB).
1. Disable all bbPress plugins.
2. Delete the bbPress installation (resides in /forum on my web space).
3. Manually remove the bb_ tables from the shared WordPress-bbPress database.
I am worried about #3 and if it is safe to do. What are your recommendations? Thanks for your help!
Published on July 18th, 2008 by _ck_
There are way too many integration questions lately so I am going to try to gather some current info here.
This is an unofficial help guide to try to make a fairly straightforward operation as painless as possible. Feel free to contribute and we’ll edit as necessary.
There is a “power user” shortcut below, but I am also going to try to explain more of the concepts so integration is less “magic” and easier to understand.
With bbPress 0.9, integration is “officially” supported and there is an attempt to make it much easier to accomplish during install but it’s not flawless by any means because of the wide range of possible configurations by users.
update: for adventurous bbPress users, a 1.0 alpha is available that should integrate with WordPress 2.6 – however it is not possible to downgrade back to bbPress 0.9 (because of database changes) afterwards so please keep that in mind – also there are three new items that have to be sync’ed between WP 2.7 and bb 1.0
As of February 2009 it is now possible to use WordPress 2.6, 2.7 or 2.8 with bbPress 0.9 where previously you had to use the unstable bbPress 1.0 alpha. Although WordPress has radically changed the way cookies are used in those versions compared to 2.5, you can either downgrade the WordPress cookie method to the one used in 2.5 via this plugin or you can allow bbPress 0.9 to use the newer WordPress cookies via this plugin.
Keep in mind if you are already using bbPress 1.0 you cannot simply downgrade to bbPress 0.9 because of database changes. However you can always upgrade from bbPress 0.9 to 1.0, so please start with 0.9 instead of 1.0 alpha when possible.
To integrate with WordPress 2.3 see here for extra instructions..
ATTENTION PHP 4 users with WordPress 2.5.0 (aka 2.5)
You MUST upgrade to 2.5.1 – there is a compatibility bug.
Assuming you have access to your bbPress admin area, virtually all integration adjustments (as of 0.9) after installation can now be made at
http://your-website-url.com/your-bbpress-directory/bb-admin/options-wordpress.php
If you’ve lost admin access or it’s not working correctly, most adjustments can be done instead via simple edits to the bb-config.php (and wp-config.php) files. I personally prefer this bb-config.php method because it will override any mistakes in the database regardless.
TABLE OF CONTENTS:
- Instant Integration for Power Users
- Regular, Reverse & Complex Integration
- Levels (or Depth) of Integration
- Installation locations for WordPress vs bbPress
- The Shared User List (table)
- WordPress & bbPress Cookies
- Integrating WordPress and bbPress Roles
- Loss of Admin Access
- Users Registered via bbPress appear as “anonymous” in WordPress
- Security Considerations when Integrated
.
(there is also a wealth of experience available via the “integration” tag on the forum here)
Published on July 17th, 2008 by
I know this is on the forum but for the life of me i just cannot find it. But I need to show the latest threads on my wordpress site.
I remember there was something like adding one line to the wp config file or something like that. does anyone know how to go about doing this and show the latest threads?
thanks
Published on July 17th, 2008 by
I recently installed bbpress as I was already using a wordpress blog and wanted to add a simple forum to my site. As a strictly technophobic, *simple* was the key point!
After installing bbpres successfully, I thought it would be nice to integrate the 2. I followed the instructions, but now find when I log-in to the forum as admin I only get an ordinary users rights, ie I can no longer access the admin screens, even if I try to access the url/bb-admin.
Is there any way I can restore admin rights? or cancel the integration and put thing back as they were? Would a complete re-installation solve the problem? And if so would I lose the forum posts I already put up?
Published on July 17th, 2008 by
I’m not meaning to be rude or anything but I’m struggling to understand why two bits of software made by the same company are so hard to integrate? I’ve never managed to get integration working fully and I always get to the point where users who registered through the forum post on the WordPress blog show up as Anonymous… which basically renders the whole process pointless. I’ve managed to get WordPress and vBulletin to integrate seamlessly, but not bbPress.
bbPress and WordPress are both great pieces of software in their own right, but when it comes to integration with each other they are pretty weak. For example, the new bbPress isn’t compatible with WordPress 2.6 because of an issue with cookie management in WordPress… for the integration to work we now have to wait for bbPress to release an update which according to a moderator on here will be a while away.
There are also so many unsolved integration threads here that it’s very difficult to find any one collection of possible solutions. I appreciate the amount of work that goes into this kind of software and time required to provide support. I’m just feeling a bit frustrated
Published on July 17th, 2008 by
Hi.
This is an extension of this question: https://bbpress.org/forums/topic/hiding-subforums-on-the-homepage#post-11761
My forum has forums, subforums, and then subforums of those subforums. Basically, there are three levels of forums.
I was able to hide the subforums from the main forums page. But how do i hide the subforums’ subforums from the subforums pages, so that the visitor must click on the subforum to view the subforums’ subforums.
I would really appreciate any help on this matter. I am not good at coding so it would be wonderful to get assistance!
Published on July 17th, 2008 by
Hello all,
I have downloaded and installed the plug-in “Required Fields In bbPress” and that works great but how can I create a text area, or drop down list instead of a input? Any ideas ?
Thanks
Published on July 16th, 2008 by
How do I make a link that directs the user to their profile?
The default code in bbPress is
<?php printf(__('Welcome, %1$s!'), bb_get_profile_link(bb_get_current_user_info( 'name' )));?.
Yet if I use this, the name of the user will be the linked text. Also, I’m not able to use this code alone. If I try:
<?php bb_get_profile_link(bb_get_current_user_info( 'name' )); ?>
…it doesn’t work. I also tried:
<a href="<?php bb_get_profile_link(); ?>">My Profile</a>
How can I change the text to My Profile and also let it stand alone? (standalone meaning on its own paragraph and with no Welcome, %1$s!)
Published on July 16th, 2008 by Alvaro Degives-Mas
(Subtitle: how to use registration protection/filtering in WP for bbPress – the lazy but effective way!)
Say: you’re a PHP newbie (like me), want to run bbPress and WP, and have successfully completed the installation of the plugin to integrate the bbPress user database with WP’s (whew!) and then you discover that people can register via either the bbPress or WP . Suppose furthermore that you’re getting hammered by nasty bots registering themselves, and have an open self-registration policy on your WP blog/CMS, and therefore installed a nifty registration screening plugin (oh say, WP-reCAPTCHA) and would like to use that for bbPress.
How could you do that? With two simple edits you can:
1) Open the register.php file of bbPress (in bbPress’ root directory) and delete EVERYTHING in it, and save your cleaned-out register.php file back to its place on the server (saving an empty file is to avoid a possible “file not found” error after the next step)
2) Open (or create if you don’t have it – which would be rare) a .htaccess file in the web server’s root directory and add the following single line (it’s displayed here on two lines, but really ought to be a single line!), and put that at/near the top of your .htaccess file (assuming your bbPress install sits in the /forum sub directory; else, modify accordingly to point to the register.php file):
Redirect permanent /forum/register.php http://www.example.com/wp-login.php?action=register
Make sure you substitute “example.com” with your own domain (of course).
3) This step is non-existent. Instead, enjoy your newfound unified registration bliss for dummies!
Published on July 16th, 2008 by
I just realised that two users can have the same email address, is it possible to give an error message if a user tries to register with an existing email.
I cant find a plugin for it.
any help appreciated please.