Just to let you know that this issue was fixed by uninstalling the plugin “bbPress Login Register Links On Forum Topic Pages” and instead adding a login/logout link using the code provided here:
Layout and functionality – Examples you can use
and then adding code provided to make sure the links only appear in the forum and not the whole site:
change line 3 to
if ( is_user_logged_in() && is_bbpress() ) {
and line 6 to
elseif ( !is_user_logged_in() && is_bbpress() ) {
Hi there @iprg,
Sorry, but there isn’t yet. It wouldn’t be too difficult for us to implement this feature inside of wp-admin, though.
Are you comfortable creating a feature request over at https://bbpress.trac.wordpress.org? If so, that’s the best place to log this idea, and we’ll try and get it into a future release.
Hello,
is there a possibility of bulk closing old topics? Eg doing it from dashboard? At the moment, I am only able to do it in a very slow way (open every single topics and close it)…
Or can I set some time limit for automatic closing?
Thank you for any insight!
Best,
Jan
(BBpress, WP – latest versions, site: http://www.fotoguru.cz/foto-forum/)
Hello,
Our topics are no longer being listed on our forum except for sticky topics I believe.
Top blue box says “This forum contains 32 topics and 24 replies, and was last updated by…” but it then only lists 3 topics “Viewing 3 topics – 1 through 3 (of 3 total)”
WordPress: 4.7.1
bbPress: 2.5.12
Theme: Salutation by Parallelus v3.0.2
Please help. Thank you.
I think I understand the expectation here, but that isn’t how it’s currently designed to work.
More specifically, bbPress subscriptions do not discriminate against the user’s current role. If they were subscribed before, they’ll be subscribed until they unsubscribe.
To achieve the behavior you desire, a plugin could be written that either:
- Filters
bbp_topic_subscription_user_ids and removes users with/out desired roles
- Filter
bbp_set_user_role and permanently delete all subscriptions when the new role matches one that qualifies
Maybe a combination of both of the above, if you need to account for already removed users, but want to clean-up future role changes.
Wordpress: 4.7.1
bbPress: 2.5.12-6148
theme: Zippy Courses
I have a new bbPress forum and just recently lost the formatting options–there’s just an empty rectangle where the formatting buttons formerly were. Under Forums and then Settings I have several things checked that don’t seem to be available in the forum. For instance: “Add toolbar & buttons to textareas to help with HTML formatting” and “Embed media (YouTube, Twitter, Flickr, etc…) directly into topics and replies” are selected. But these aren’t available.
I would love any direction so I can add basic formatting functionality. I added Forum Beginner Posts plugin but that didn’t change anything so I uninstalled it.
Closing this as a duplicate (As I already replied to the other topic)
bbPress Unsubscribe when no longer Participant Role
If a “membership” type role plugin is removing the “Participant” role then that plugin I would expect should clean up after itself in general, that is, I would expect that plugin to also remove a users subscriptions.
bbPress has all of the functionality implemented to perform these said actions, the plugin you are using to do this would just need to implement this functionality.
WordPress 4.7 bbPress 2.5.12 http://members.thesoulscripts.com
There seems to be no way for admins or users to unsubscribe from email notifications when they are no longer Participant. After they stop paying to be a member of our site, their Participant role is removed. They should be removed from all email notifications as well at that point. Many angry people! Help!!
I believe I need to make either a custom reply Walker class, or a recursive function. How would I make a bbPress reply walker class and implement it?
ok, so
create a directory on your childtheme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your childtheme
find
wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/form-reply.php
bbPress will now use this template instead of the original
and you can amend this
so amend this file – copy it to your Pc and use norepad or similar
around line 70 you will see
<?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags' ) ) : ?>
replace this with
<?php
$user_id = wp_get_current_user()->ID;
$topic_id = bbp_get_topic_id() ;
$topic_author = bbp_get_topic_author_id( $topic_id ) ;
$is_topic_author = ($topic_author == $user_id ? true : false) ;
if ( bbp_allow_topic_tags() && current_user_can('assign_topic_tags' ) && ($is_topic_author || bbp_is_user_keymaster() ) : ?>
This is untested, and if it doesn’t work – do come back !
There would be two parts to this, the first I think sounds easy enough, when a user updates their profile we submit the updated user bio/description to Akismet. The second part of this is the “management” side, what to do with the profile if it fails the Akismet check 🤔
With topics and replies, in bbPress we have a new “pending” post status, similar to the “spam” post status for topics and replies awaiting some moderator action. I wouldn’t want (due to Akismet false positives) to automatically mark a user as a “spam user” solely from the Akismet response, we’d want the user flagged for follow up by a moderator or keymaster.
Anyone else have some thoughts on the workflow and how w should approach this?
@mth75 Sure, kind of like how BP’s profiles, if active, replace bbPress’ profiles we could possibly do something similar for BuddyPress favourites.
Create a ticket on Trac and if you can, take a stab at writing a patch maybe?
https://bbpress.trac.wordpress.org/newticket
This codex article is quite comprehensive about how to fight SPAM. (https://codex.bbpress.org/getting-started/forum-moderation/dealing-with-spam/)
However, although it acknowledges profile SPAM, it fails amongst the many solutions to actually identify a method that is targeted at battling profile SPAM. You could switch to manual registration approval (which would be a pain in any moderate to high traffic site), but that would not solve the problem since the approved user can still post links in their profile.
Akismet, WangGuard, etc, appear to only work on post/comment spam, not on profile spam, no?
I don’t even have discussions enabled or commenting enabled so I don’t even care about post/comment spam!
So as far as I can tell there is no plug-in or feature that will prevent profile SPAM. Someone please tell me I’m wrong!
untested, but this should do it, come back if not
change line 3 to
if ( is_user_logged_in() && is_bbpress() ) {
and line 6 to
elseif ( !is_user_logged_in() && is_bbpress() ) {
your theme is re-writing the classes used by bbpress.
Put this into the custom css – either of your theme if it has a custom css area, or into the custom css tab in my style pack plugin settings
.x-bbp-search-form {
background-color: #ffffff !important;
}
.bbp-forums ul, li {
background-color: #ffffff !important;
}
Hi Stephen @netweb ,
Is it possible to integrate the above (functionality) (except the theme dependent functionality) in future BBPress releases. As a user, for me it’s a integration issue between Buddypress & BBpress.
Best regards,
Marc
Hi and thanks for your quick answer.
I have child theme and I can copy bbpress theme inside it.
I’d be thankful if you tell me how can I use these codes.
Please consider that I want to let Keymaster and topic owner to edit topic tags.
Hi,
you provide code to add login and logout links on bbpress layout and functionality, which is just what i need.
Question: Is there any way for it to only appear in my forum http://www.apis.de/forum (and all sub urls) but not on the rest of my site?
Quick solution but not really what i’m looking for (i’m looking to add a function as a real menu option).
I order to add a Like option to the BBPress header menu in topics and replies I resorted to this quick solution (not perfect yet):
<span class="bbp-admin-links">
<?php echo get_fav_or_unfav_button_for_bpp(); ?>
</span>
Add after <?php bbp_reply_admin_links(); ?> in loop-single-reply.php
More info: https://bbpress.org/forums/topic/integrating-buddypress-favorite-system-aka-like-system-with-bbpress/
I order to add a Like option to the BBPress header menu in topics and replies I resorted to this quick solution (not perfect yet):
<span class="bbp-admin-links">
<?php echo get_fav_or_unfav_button_for_bpp(); ?>
</span>
Add after <?php bbp_reply_admin_links(); ?> in loop-single-reply.php
But mission accomplished, the integration of the Buddypress Favorite system with BBPress is complete.

Is there any auto social poster for every bbpress topics?
I had this same problem and had to turn notifications off permanently after the transfer. I believe some people have suggested making sure that buddypress is not activated during the transfer, ie to only activate buddypress after the bbpress migration has taken place.
Solved:
function get_fav_or_unfav_button_for_bpp( $reply ) {
global $bp, $activities_template;
// user is not logged ? Show nothing.
if ( ! is_user_logged_in() ) {
return '';
}
$activity_id = (int) get_post_meta( bbp_get_reply_id( $reply_id ), '_bbp_activity_id', true );
if ( ! $activity_id ) {
return '';
}
bp_has_activities(); // update $activities_template of user's fav
$old_value = false;
if ( isset( $activities_template->activity->id ) ) {
$old_value = $activities_template->activity->id;
$activities_template->activity->id = $activity_id;
} else {
$activities_template->activity = (object) array( 'id' => $activity_id );
}
// building the template
$code = '';
$code .= '<div class="activity-like-count">'."\n";
if ( ! bp_get_activity_is_favorite() ) {
// if not favorited, add a fav button
$code .= ' <a href="'.bp_get_activity_favorite_link( ).'" class="acomment-like fav-comment bp-secondary-action" title="'.__( 'Like', 'buddypress' ).'">'.__( 'Like', 'buddyboss' ).'</a>'."\n";
} else {
// if already favorited, a button to unfav
$code .= ' <a href="'.bp_get_activity_unfavorite_link( ).'" class="acomment-like unfav-comment bp-secondary-action" title="'.__( 'Unlike', 'buddypress' ).'">'.__( 'Unlike', 'buddyboss' ).'</a>'."\n";
}
// closing .activity-meta
$code .= '</div>'."\n";
if ( false !== $old_value ) {
$activities_template->activity->id = $old_value;
} else {
$activities_template->activity = null;
}
return $code;
}
?>
Add to loop-single-reply.php for BBPress:
<?php echo get_fav_or_unfav_button_for_post( reply ); ?> or in the bbp_reply_menu, which i’m still trying to figure out:
add my own menu option to the bbp-reply-header