Hey guys! Just wanted to get some feedback on my newly redesigned deals and coupons site, bargainjack.com. I’m using wordpress, coupled with a lot of customization/plugins, as well as BBPress for all of my forums. I’ve even integrated feedback on each product/deal landing page which goes directly to bbpress.
Please let me know what you think, or if you have any suggestions!
Thanks,
Dustin
Are you installing bbPress as a plugin in a WordPress site? That would trigger an error like the one you reported…
I have bbpress integrated with my wordpress… and I’m trying to have a register link and log in with username and password box at the top of my homepage like this: http://www.thefrozencake.com/wp-content/themes/urbanelements/images/Picture%201.png next to my logo above my navigation here: http://www.thefrozencake.com/wp-content/themes/urbanelements/images/Picture%202.png
I also want it to say Logged In | (view profile page) when a user is logged in. And I want the register link to take the user to a register page that I create (with more than just username/password.) I only want people to log in when they want to post to the forum, but they can leave comments on posts and read all they want.
How do I go about coding that and where? As you can tell, I’m definitely new to the php thing and learning as I go along. Any help would be great!
I have modified the original script to work with a bbpress integrated with wordpress. but the password is not working!
http://svn.adrianomelo.com/labs/Wenetus/phpbb3tobbpress.php
– uses the table wp_users instead bb_users
– the users in the wp_users are not lost!
– conficts resolved (user exists on wp database and phpbb database)
PROBLEM: the phpbb password is not working when imported to wp database
WordPress + bbPress is not always easy, but sometimes, unavoidable…
I think webmasters that run a forum, and wanna have “normal” pages for information, should look for a different way, for creating single pages with a reply form, integrating with WordPress is not a good thing IMO.
The reason why I’m saying this is, is that WordPress is under a constant development, but bbPress not, atleast that’s what I read. If WordPress gets updated and bbPress doesn’t and if that breaks the integration, you’ll be stuck on that for a while for support.
Josef, take out in wp-config
/**bbpress integration **/
define('USER_COOKIE', 'wordpressuser');
define('PASS_COOKIE', 'wordpresspass');
define('COOKIEPATH', $base);
define('SITECOOKIEPATH', '/');
define('COOKIE_DOMAIN', '.thisissite2.com'); // same as bbPress
and bb-config
$bb->wp_home = 'http://thisissite2.com/';
$bb->wp_siteurl = 'http://thisissite2.com/';
// Integrating with mu
$bb->cookiepath = '/';
$bb->cookiedomain = '.thisissite2.com'; // leading . allows subdomain sharing
$bb->usercookie = 'wordpressuser'; // WPMU doesn't hash cookies
$bb->passcookie = 'wordpresspass'; // WPMU doesn't hash cookies
Use this plugin https://wordpress.org/extend/plugins/bbpress-integration/
If you’re using MU you will get 4 lines, cookiehash, cookie_domain, sitecookiepath, and cookiepath.
get the information from there and put it right AFTER this line in wp-config
* @package WordPress
*/
then paste only cookie_domain, sitecookiepath, and cookiepath in bb-config file. leave out cookiehash right after
* @package bbPress
*/
Then get new keys, use this link https://api.wordpress.org/secret-key/1.1/salt it has 8 keys put it in both like you did before. Don’t forget the BB_ prefix in bb-config.
Clear your cache and cookies. Give it a try. if that doesn’t work then look in your BB dashboard and check your settings on wordpress integration. make sure if you left out “www” in wordpressd to leave it out on bbpress.
@amylmc
Just add them if they are not there
The integration wasn’t hard. I found only one theme that I wasn’t able to make look like wordpress because it was a complex WP theme to begin with, one with many WP header options. BBpress stand alone is great but if you have a site already and you looking for a forum for just help, like this one. Right now if you click on EXTEND, you will have to login again. It can get annoying especially when you don’t understand that this is more than one “software” working at one site. If your site is a forum site great. If your site is not a forum site, like THIS ONE. The forum is just for help. Plus, with WP you can create multiple pages, gallery, forms, etc etc.
Hi,
With the help of a lot of posts about this topic on this forum I was able to come to a point where I have useres between Wp and BB integrated and I also started the deep integration of WP template and BB press on a test site here:
http://www.itouchaudio.com/forum
I added code to my bbpress config to be able to call wordpress functions. Then I copied over the Wp header.php from my wordpress theme into the bbpress theme folder (hope that was right). Now what you see on the above link is the result so far. still got quite a bit of problems I guess. The CSS of the forum seems to be not available so ….
I am wondering this: What do i do with the CSS files… At the moment I am loading the CSS file from wordpress theme but also the CSS file from the bb press theme…. Of course that doesn’t work 100% as you can see but what should i do? How can you have the CSS for both the Wp and BB theme integrated to work together?
BTW: In case this is important I am using the bbpress forum theme (the one that mimics the look of the bbpress forum, the one right here).
I know this goes a bit already into a CSS problem, not specifically BB press anymore but I was hoping some of you might be able to point me into the right direction looking at what I got so far.
Thanks for any help.
“why to integrate at all?”
I think I explained it:
1. so you can make the two look similar by using WordPress functions
2. so your users can log in once and be logged in in both places
Other than that, I don’t see a benefit either, and certainly not enough benefit to jump through all the hoops that are required to get it working.
I’m strongly against deep integration. It slows down bbPress and WordPress, and most of the time (especially with bb1.0) it will create errors. If you integrate using the built-in integration settings, you’ll be able to share logins and user accounts between bbPress and WordPress. For me, it’s no integration (for example, forums that aren’t tied to a specific blog) or normal integration (for forums that are).
Integrating does not help WordPress plugins work on bbPress. If that’s all you’re looking for, you probably don’t need integration. If you’d like to ensure that WordPress plugins work in your forum, maybe you want a forum plugin for WordPress, not bbPress.
<?php
/*
Plugin Name: Remove Links (conditional)
Description: Removes links for non-registered users. Based on <a href="http://ckon.wordpress.com/2007/07/12/bbpress-plugin-bb-tweaks/">bb tweaks</a>.
Plugin URI: https://bbpress.org/forums/topic/hide-links
Version: 0.01
*/
function bb_strip_links( $text ) {
global $topic;
$forums = array(
1,
2,
3,
);
if ( !in_array( $topic->forum_id, $forums ) )
return $text;
if ( !bb_current_user_can( 'write_post' ) )
$text = preg_replace('|<a (.+?)>(.+?)</a>|i', __('(Login or register to download)'), $text);
return $text;
}
add_filter('post_text', 'bb_strip_links');
?>
For normal site-users it can be nice, that they’re logged in at WordPress if the’re registered and logged in at bbPress. The WP comment form is simpler for the logged-in-users, they don’t have to type their name, mail adress and homepage. If you configure your WordPress in a way which requires registration of commenters, there is an additional benefit for administration. There are always some hand-registered SEO-spammers, and it makes you less work if you have only one user database. The mapping of WP user roles to user roles in bbPress may save some work too.
For most installations, the integration isn’t needed. Always remember that the bbPress installation with integration is significantly more complicated than a normal bbPress installation and may lead you to incompatibility issues with future WP releases. Think about it before doing. I love it, but it is a little hard sometimes…
Many people want integration so that your users can log in to either bbPress or WordPress and not have to log in again when they switch from blog to forum, or forum to blog.
Others want ‘deep integration’ so they can use WordPress functions (like get_sidebar, get_footer and get_header) in their bbPress installation. Sometimes they want deep integration to make the two themes look similar or identical. Sometimes they want to be able to pull WordPress information into bbPress or vice-versa.
I integrated a forum with a blog one time but I normally have no use for it. It’s not worth the trouble for me, and I don’t need integration of users or functions.
I just asked for a feedback on the site as per the design and implementation of WordPress & bbPress. And my main target are Indian students only. If you want to contribute, then why not sign up? I would love to see you in NAP forums.
“Currently, plug-ins for both WordPress and bbPress, WordPress’ forum software solution are available.”
*sigh*
Apparently the bbPress plugin is still in alpha, as of about 10 days ago:
http://forum.gigya.com/forum/Default.aspx?g=posts&m=1619
The WordPress one is released though, so maybe it’d be fine under a WP/bbP integration setup
Open your database, search table “wp_usermeta”, check meta_key “nicname” and change “meta_value” to your nicname for user admin in wordpress.
This was the problem in my case. I hope help you
Sorry for my english
Hello, I’ve had the same problem today with a fresh installation of bbPress and WordPress.
I found the solution changing the root nicname, not called admin.
The nicname of bbpress was not like in wordpress despite having given correctly in the installation.
The constants have different names in wp-config.php and bb-config.php. Just copy and paste the VALUES not the whole line.
bb-config.php:
define( 'BBDB_NAME', '123456789' );
define( 'BBDB_USER', '987654321' );
define( 'BBDB_PASSWORD', 'goodpassword' );
define( 'BBDB_HOST', 'localhost or something else' );
wp-config.php:
define('DB_NAME', '123456789');
define('DB_USER', '987654321');
define('DB_PASSWORD', 'goodpassword');
define('DB_HOST', 'localhost or something else');
For bbPress, the constants are name BBDB_ and for WordPress they’re just DB_. You can copy and paste the values, but make sure you don’t change the names from BBDB_ in your bb-config.php.
I’m struggling with a similar issue. In wp-config.php file, the lines only go through 32 and the below aren’t anywhere in there.
define(‘AUTH_KEY’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
define(‘NONCE_KEY’, ‘put your unique phrase here’);
I’m trying to follow the instructions on this particular thread but I do not have lines 55-61 as suggested below.
Open wp-config line replace your new keys with the one from that link. (lines 55-61)
Does this mean my wordpress site is not set up for users to login?
Where do I go from here?
Thank you!
I’ve tried and tried, but I can’t seem to get my wp_enqueue styles or scripts to fire from within bbpress.
Deep integration is done via wp-load.php, the header and footers are working fine and my functions.php from the wordpress side is being loaded (since my functions in the footer are running fine). But nothing that I’ve enqueued, script or styles, is working.
I’ve tried firing them directly (from within either functions.php), originally they were hooked into wp_print_styles and wp_print_scripts respectively. I’ve tried hooking into template_redirect and init. Neither fires.
Any ideas?
should be your wordpress site plus the folder name mysite.com/forum