Hello ,
i dont know if this is a feature inside bbpress i can set anywhere. Thats why iam creating this topic.
My problem is that inside the bbpress forum it does show all authors. Even the authors which does not have a valid posting inside the Last Post column. Because of that the forum does also show the name of the authors of posts which are moved to pending or spam queue. Is there any setting to hide such authors from the lastest post column?
Regards
Maxx
Oh here is an answer!
Wrong bbp_get_reply_url() when paging with reverse order
This snippet works – i’m just a bit confused how to turn it on when replies are descending and off when they are ascending…
add_filter('bbp_get_reply_position', 'lugpa_get_reply_position', 10, 3);
function lugpa_get_reply_position($reply_position, $reply_id, $topic_id){
if(empty($topic_id))
$topic_id = bbp_get_reply_topic_id ($reply_id);
$numReplies = bbp_get_topic_reply_count($topic_id);
return ($numReplies+1) - $reply_position; // plus one because of thread description
}
Thanks again @robin-w and @webmasterfreya –
I ended up deleting the part causing errors from ‘bbpress sort topic replies’ plugin, and that works – (for topics not for forums though)… Its nice because it gives the ‘show lead topic’ and reply sort order in the admin meta box. Can share somewhere if its useful.
But yes now I see what you mean! that upon posting the newest reply, it redirects to the last page of the pagination, which in the case of replies descending by date, makes no sense. Sorry for hijacking your topic!
Hmmm any ideas where to start on this?
Hi
I have received solution from UM support.
If you want to use UM plugin with bbPress & BuddyPress you just have to remove filter to disable UM avatar
Checkout this link for more details.
https://wordpress.org/support/topic/buddypress-bbpress-widget-shows-different-profile-pics-with-um-plugin/
Hello,
My plugin GD Mail Queue – https://wordpress.org/plugins/gd-mail-queue/ works with bbPress, and it allows the use of custom SMTP, it can queue bbPress notifications as individual emails, and it can wrap emails in HTML for better email presentation.
Milan
I gave it a go, and it kinda worked, lol…
But this reverses all the replies INCLUDING the original topic.
So the original topic goes to the bottom…
What I would ideally want is the Topic, THEN the replies in reverse order…
// Reverse reply order on News topic
add_filter('bbp_has_replies_query','bbp_reverse_reply_order');
function bbp_reverse_reply_order( $query = array() ) {
// Identify post type
$bbPress_post_id = get_the_ID();
$bbPress_post_type = get_post_type($bbPress_post_id);
if( $bbPress_post_type =='topic' ){
/** TOPIC **/
$query['order']='DESC';
return $query;
}
};
Checking in because I want this too… there was a plugin called ‘bbpress sort topic replies’, that no longer works, but I’m going to try to grab the code from that
How do you configure bbPress to use an SMTP mailer plugin, if you can?
Thanks again for taking a look is the code that appends the checkboxes to the bbpress topic forms… I guess $_POST is a global variable that bbpress topic form is also using?
Sorry this is obviously a bit beyond me. And obviously beyond a free solution! But yes if you or others in bbpress do paid work like thiset me know and I’ll be in touch!
// Add custom taxonomies to topic form
add_action ( 'bbp_theme_after_topic_form_content', 'bbp_extra_fields');
function bbp_extra_fields() {
$value = get_post_meta( bbp_get_topic_id(), 'issue', true);
echo '<div id="custom-meta">';
echo'<fieldset>
<legend>Issues</legend>';
$issues = get_terms('issue', array('hide_empty' => 0));
foreach ($issues as $issue) {
echo '<span><input type="checkbox" class="issue" for="issue" value="'.$issue->slug.'"></input><label>'.$issue->name.'</label></span>';
};
echo '</fieldset>';
$value = get_post_meta( bbp_get_topic_id(), 'region', true);
global $region;
$region = get_terms('region', array('hide_empty' => 0));
echo'<fieldset>
<legend>Region</legend>';
$regions = get_terms('region', array('hide_empty' => 0));
foreach ($regions as $region) {
echo '<span><input type="checkbox" class="issue" for="issue"value="'.$region->slug.'"><label>'.$region->name.'</label></span>';
};
echo '</fieldset></div>';
};
Thank you for the plugin.
It worked well. There is a provision to allow only the moderator to reply. However, there doesn’t seem to be a provision to allow the topic creator to reply to his own topic.
If I set it to ‘create/edit/view OWN topics’, the user is unable to view other topics.
Is there a fix to this?
I found this topic – https://bbpress.org/forums/topic/how-to-make-only-post-author-and-moderators-can-reply/
It seems to address the problem, but the file is unavailable. And I’m not sure how to use the code in the last reply.
Hello,
I’ve question, I already read around the bbPress roles and capabilities
But, I still not sure do the user with Participant roles, can set the Topic Status to Closed when Create New Topic in the forum.
Thanks.
sorry, I was looking for the topic – I knew this one had cropped up before
It is a known bug, the answer is
Deactivate and reactivate All in One SEO and the bbPress menu links will appear.
ok, yes that should give you the forum button on the dashboard.
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
Thanks I am now a keymaster and I thought that would make the Forum button magically appear in the dashboard menu but it hasn’t.
I deactivated the bbpress plugin, have cleared my cache and nothing seems to work to allow me to actually create a forum.
Thank you for your help though, I at least have the role of keymaster next to my name in the users panel.
I installed bbpress and it is activated – when I go into users there is a forum users option for every other wordpress user other than me the administrator.I did not get a welcome page. I have no option to edit my role under my users – I can do this for all the other users on my site.
I use X-theme which is supposed to support this plugin. I have a feeling this has to do with the fact that I am not listed at the keymaster, but there seems to be no way to do this.
I am not good at coding or knowing where to put code, so if it involves any please be very specific – where it needs to go, what to type in etc…
Thanking everyone in advance
users need to register, bbpress just uses wordpress registration, so you have lots of options for doing this.
hmmm…
bbpress just uses wordpress registration, so users should be able to just register and get participant access.
what have you got set in
dashboard>settings>forums>Roles?
Hi, for my business website I’m trying to get a working forum together, I’m using WordPress.com, and I’ve got bbpress and bbpstyle pack active right now.
The issues I keep getting prevent users who do not have WordPress accounts from registering, it redirects the users to the WordPress login page and doesn’t send an e-mail.
In my Settings, if I remove the ability to login with WordPress accounts, it functions perfectly, but I lose access to editing and updating the site, I’m lost on how to get this functional.
I think your theme is adding another one in the bbpress templates
so in 2.6.x they are added in
\bbpress 2.6.6\templates\default\bbpress\form-reply.php
\bbpress 2.6.6\templates\default\bbpress\form-topic.php
so your have 2 choices
a. the better one
Look in each of the files you listed as being bbpress in your themes template and look for a line which says something like
bbp_get_template_part( 'form', 'user-login' );
and edit out this line
b. If you can’t find it there, then
find
wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php
transfer this to your pc and edit
remove the line which says
<?php bbp_get_template_part( ‘form’, ‘user-login’ ); ?>
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
Then transfer the file you saved above 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
Repeat this for form-topic.php
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
Still waiting to see if people using the Forums are having any issues using them.
not sure what this means 🙂
I would like to change the font color against the maroon top bars, from black to yellow, or grey, but I am not finding the right tab to do so.
probably theme related, but link to an example on your site please.
Why are there tabs for setting up logins/logim failures, if logging in is accomplished at the WordPress level?
bbpress has some widgets and shortcodes that let users enter username and password. these details are passed to wordpress security to go through login.
what do you mean by ‘send message’ ? do you mean submit topics and replies? bbpress does not have messages as standard.
I am installing a new page with bbpress.
But the messages are not working! The buttons “send message” are there, but are not working.
What is wrong here? 🙁
‘Private’ is a wordpress/bbpress conflict – and it is annoying !!
either
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
Code Snippets
add_filter('private_title_format', 'ntwb_remove_private_title');
function ntwb_remove_private_title($title) {
return '%s';
}
or use
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Forum Display