I just noticed that If I am logged into wordpress and go to the forum, where I am not logged in, and try to login I am logged out of wordpress.
If I am not logged into wordpress I still receive this error.
I just noticed that If I am logged into wordpress and go to the forum, where I am not logged in, and try to login I am logged out of wordpress.
If I am not logged into wordpress I still receive this error.
Greetings all,
Ok, so conceptually, bbPress seems great. However, I’ve used an older version, and know how tentative it can be.
As I can’t find any readily-accessible information about this, I’m asking what might be one of the most frequent questions around here.
Can someone please point out documentation that explains how to integrate WordPress with bbPress? I’m looking to integrate the theme and navigation ONLY – nothing else (since our WP site doesn’t require logins, etc).
Thanks for any info,
–Dave
If your wordpress and bbpress share the same database you can simply edit sidebar.php
On the top of the file add:
<?php require_once(ABSPATH."/forum/bb-load.php"); ?>
This will give you access to the bbpress functions. (Edit to the path of your bbpress installation)
Then where you are going to output your latest posts add this:
<?php
global $wpdb;
$query = "SELECT * FROM bbp_topics WHERE topic_status='0' ORDER BY topic_time DESC LIMIT 6";
$topics = $wpdb->get_results($query);
$counter = 0;
?>
This will find the latest posts, I do it this way so it won’t show the same topic several times if many posts have been made in the same topic. Also edit bbp_ to your bbpress db prefix.
Finally to output simply add something similar to this:
<div id="latest-posts" class="border">
<h2>Latest forum posts</h2>
<?php foreach($topics as $topic) : ?>
<div class="<?php echo $counter % 2 ? "gray" : "white"; ?>"><a href="<?php topic_last_post_link($topic->topic_id); ?>"><?php topic_title($post->topic_id); ?></a></div>
<?php $counter++; ?>
<?php endforeach; ?>
</div>
Edit to your preference on html and css.
If your wordpress and bbpress share the same database you can simply edit sidebar.php
On the top of the file add:
<?php require_once(ABSPATH."/forum/bb-load.php"); ?>
This will give you access to the bbpress functions. (Edit to the path of your bbpress installation)
Then where you are going to output your latest posts add this:
<?php
global $wpdb;
$query = "SELECT * FROM bbp_topics WHERE topic_status='0' ORDER BY topic_time DESC LIMIT 6";
$topics = $wpdb->get_results($query);
$counter = 0;
?>
This will find the latest posts, I do it this way so it won’t show the same topic several times if many posts have been made in the same topic. Also edit bbp_ to your bbpress db prefix.
Finally to output simply add something similar to this:
<div id="latest-posts" class="border">
<h2>Latest forum posts</h2>
<?php foreach($topics as $topic) : ?>
<div class="<?php echo $counter % 2 ? "gray" : "white"; ?>"><a href="<?php topic_last_post_link($topic->topic_id); ?>"><?php topic_title($post->topic_id); ?></a></div>
<?php $counter++; ?>
<?php endforeach; ?>
</div>
Edit to your preference on html and css.
In fact, bbPress is becoming a WordPress plugin. There has been a LOT of development in the last 4 months. More info here:
https://bbpress.org/forums/topic/bbpress-plugin-updates
In fact, bbPress is becoming a WordPress plugin. There has been a LOT of development in the last 4 months. More info here:
https://bbpress.org/forums/topic/bbpress-plugin-updates
Hi,
I add a bbpress forum to my wordpress site, i share account and other, but i want to share wordpress avatar.
I use this plugin in wordpress “Profile Pic” v.0.9.2
How can i share it?
Thanks
Seems more than likely that this has been covered over and over, though I can not find an answer.
I need to install both Buddy press and a full installation of bbpress (not just the push and play version via the WordPress admin panel.) Why? I need more then one catch forum, or subform… Or whatever you’d like to call it. The one big forum doesn’t work for me.
I’ve been able to get them installed just fine, I just can’t get them to honro each other. the user comes to the home page and logs into buddypress. The bbpress install does not honor this account. How do do this?
I migrated my WordPress install from my local PC to my development server and am having some issues with the BBPress plugin now. Everything that was there shows up fine… however now I cannot add new topics.
Adding a new forum works.
However now when I try to add a new topic to the forum from the frontpage it redirects me to the homepage when I hit submit and I never see it in the database.
If I do it from the dashboard, it adds the topic in the admin and I can see it there but it doesn’t show up on the topic list under the forum on the frontpage. I can view it directly if I click the view link on it from the dashboard.
If I look in the db the one that is working has the GUID set with a permalink structure (/forums/topic/topicname) where the one I added after the move doesn’t (?post_type=bbp_forum&p=1161). I have permalinks enabled on the site (and they are working everywhere else)… I’ve tried turning them off and back on as well.
Hopefully didn’t ramble on too much there, going to try to dig into it some more but not sure if you guys had any ideas.
I have been using WordPress for a while. I was introduced to BB Press but am having a time getting it set up. What in the world is The complete URL of the front page of your bbPress forums? Where do I get itfrom?
I’ve tried deep integration, but I’m running into some problems.
Loading the WordPress header and footer instead of the bbPress ones work (I want to use my WordPress custom menu on the forum pages as well) but add_custom_background(); does not work on bbPress pages.
I’ve tried deep integration, but I’m running into some problems.
Loading the WordPress header and footer instead of the bbPress ones work (I want to use my WordPress custom menu on the forum pages as well) but add_custom_background(); does not work on bbPress pages.
Just commited a new version to the SVN of wordpress plugin.
Change log:
+ Added Support to show date or freshness.
+ Added Possible to change template
+ Added Possible to change widget title instead using translate function
– Fixed a small bug in topics fetched from database when fetching with the WP database connection
– Fixed bug that will show only non deleted topics.
Just commited a new version to the SVN of wordpress plugin.
Change log:
+ Added Support to show date or freshness.
+ Added Possible to change template
+ Added Possible to change widget title instead using translate function
– Fixed a small bug in topics fetched from database when fetching with the WP database connection
– Fixed bug that will show only non deleted topics.
I had the exact same problem and I tired everything that was suggested, including triple-checking that all my keys matched, the cookie path was set, and the bbPress Integration plugin was installed in WordPress. I still couldn’t get integration working.
Here’s what I did to fix it: I deleted bbPress, installed a new copy, and during installation entered the same database information as I used for WordPress (same database, same username/password, all of which are available in wp-config.php). I also filled in the various salts and keys as required.
That allowed full user integration on both a database and cookie level and now everything works perfectly. Single sign-on, one-time registration, etc.
Hope this helps someone!
I had the exact same problem and I tired everything that was suggested, including triple-checking that all my keys matched, the cookie path was set, and the bbPress Integration plugin was installed in WordPress. I still couldn’t get integration working.
Here’s what I did to fix it: I deleted bbPress, installed a new copy, and during installation entered the same database information as I used for WordPress (same database, same username/password, all of which are available in wp-config.php). I also filled in the various salts and keys as required.
That allowed full user integration on both a database and cookie level and now everything works perfectly. Single sign-on, one-time registration, etc.
Hope this helps someone!
Hello csabamarosi,
I just have made some small changes and it will now show as well the fressness. The last version is now on my website. Its slightly different from the plugin on the wordpress website because those features are missing at this moment.
Later on this week i will also update the wordpress plugin with this functionality and and a few other options. Like time format instead of freshness and show / disable time format or author.
Hello csabamarosi,
I just have made some small changes and it will now show as well the fressness. The last version is now on my website. Its slightly different from the plugin on the wordpress website because those features are missing at this moment.
Later on this week i will also update the wordpress plugin with this functionality and and a few other options. Like time format instead of freshness and show / disable time format or author.
Hi jaapmarcus,
Am I able to display latest forum posts with timestamps (freshness) in a WP sidebar with your plugin? I’m currently using another one (https://wordpress.org/extend/plugins/bbpress-latest-discussion) but it doesn’t support displaying any date information, so I’ll give your one a try if it does.
Thanks in advance,
Csaba
Hi jaapmarcus,
Am I able to display latest forum posts with timestamps (freshness) in a WP sidebar with your plugin? I’m currently using another one (https://wordpress.org/extend/plugins/bbpress-latest-discussion) but it doesn’t support displaying any date information, so I’ll give your one a try if it does.
Thanks in advance,
Csaba