ok, I suspect that your role has lost keymaster rights.
go to
dashboard>users>all users and see if anyone has keymaster. If so get them to reset you to keymaster.
If no-one has, then install
bbp style pack
once activated go to
dashboard>settings>bbp style pack>bug fixes
and you will see the ability to set yourself up again.
Once done, you can decativate and delete the style pack plugin, or maybe use it’s great features 🙂
My WordPress theme (Mai-theme Success) seems to hijack the search result formatting when searching the forums. I can’t seem to figure out how to stop that.
Here’s a test site showing it:
Forums
https://wp-testing.hruskagroup.com/forums/searchforums/theme/
Ideas?
Wow, surprised to see this thread just died?
I am currently using Discourse for a community just starting: https://community.americanradioclub.com
It is a community of ham radio operators. I started the community on Discourse, and I really love the snappiness and power, scalability (I am on track for 150k members by end of year).
However, it lacks the social-network style features I would like from a bbpress + buddypress installation, which would also be nice because it would make my site fully wordpress for a more coherent user experience.
I wonder how everyone else’s experience went?
This code should do it
add_filter ('bbp_current_user_can_access_create_topic_form' , 'rew_only_one_topic', 10 , 1) ;
add_filter( 'gettext', 'rew_change_text', 20, 3 );
function rew_only_one_topic ($retval) {
//first check if they have access, only amend if they have
if ($retval==true) {
$user_id = wp_get_current_user()->ID;
$role = bbp_get_user_role( $user_id );
if ($role == 'bbp_participant') {
$last_posted = bbp_get_user_last_posted( $user_id );
if (time() <($last_posted + (60*60*24*31))) $retval = false ;
}
}
return $retval ;
}
function rew_change_text($translated_text, $text, $domain ) {
if ( $text == 'You cannot create new topics.') {
$user_id = wp_get_current_user()->ID;
$role = bbp_get_user_role( $user_id );
if ($role == 'bbp_participant') {
$last_posted = bbp_get_user_last_posted( $user_id );
if (time() <($last_posted + (60*60*24*31))) {
$translated_text = 'You cannot post a new topic - you have already posted a topic in the last month';
}
}
}
return $translated_text;
}
The 60*60*24*31 is 60 seconds, 60 minutes, 24 hours, 31 days, so you can change this to whatever you want in both places.
and you can change $translated_text = ‘You cannot post a new topic – you have already posted a topic in the last month’ to whatever phrase in whatever language you want.
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
There are plugins for exporting BBpress data so maybe I could string together something with this
WordPress Comments Import & Export
not tested, but possibly this
Open Links In New Tab
I have updated my style pack to detect and let you use 2022.
bbp style pack
once activated go to
dashboard>settings>bbp style pack>theme support.
There are lots of settings in this plugin to let you improve the look of bbpress.
I should start by saying I am just a bbpress user who helps out here, I am not a bbpress author.
Twenty Twenty two is one of probably less than 6 themes that use the new ‘block theme’ way of building a theme. Indeed this is so new that the editor built to support it is still a ‘beta’ version.
My Personal view is that block themes are a solution to a problem that no-one has, and WordPress has lost it’s way.
But given that people including you will use this theme, I am trying to get bbpress to work with it.
I expect to release a new version of my bbpress style pack that will make this work in the next couple of days. I have a working prototype, albeit a basic version.
Hi Robin,
I’m making a little headway. I tried #1 and I didn’t like how it automatically added the user. I what to approve all new registrations as they come in. I saw no setting on how to get new users approved manually. Also maybe this is a wordpress question but I can’t find were to change the color of the register here link on the login page. I put an image over it and can’t see it. I see no place in the login customizer to fix it. Here is the link https://santarosaphotographicsociety.org/wp-login.php
last I put a forum link in the home page main menu, this is it. https://santarosaphotographicsociety.org/forums/ Will this link would prompt a login first then open the forums. If not how do I make that happen.
Hello Robin and Mike
I first asked to the buddydev team. They advised me to contact directly the author’s theme.
So, I contacted the BuddyX team (WBCom design). They answered me these customizations could be done but they had not scheduled to do them. They advised me to hire a developer.
we have to keep functionality-specific customization as minium as possible to follow WordPress.org standards.
(BuddyX answer)
You are right guys, I am going to post my questions in the BP forum. I hope I’ll be luckier than for my previous topics. Actually, I did not get any answer for my last topics in this forum. They are certainly fed up with all my questions 🙂
Thanks a lot Robin and Mike.
Have a good day (or night…)
Fabien
bbpress just uses WordPress registration and login.
so either :
1. You allow uses to register using dashboard>settings>discussion>anyone can register, bbpress will allocate the role set in dashboard>settings>forums>default role
2. you manually add uses (dashboard>users>add user) upon receipt of a form (using say a form plugin – https://www.isitwp.com/best-wordpress-contact-form-plugins/ – to set up whatever details you want which is then emailed to you) – you then then allocate any wp and bbpress role you wish, or none !
3. you use a registration plugin – there are lots – this article describes some https://kinsta.com/blog/wordpress-user-registration-plugins/
So I guess I’m not understanding how this all works. The website is a photography club and is wordpress.org. I just added this bbPress forum plugin and have all the forums set up. I’m ready to test with two other people. I now need to have a place were the two others can register, I then want an email so I can review and approve them. How do i accomplish this? After that I think the login page with the shortcode provided by Robin W should work.
I kicked this around for some time, but I cannot see how to get bbpress working with a block theme.
I have raised a ticket on trac.
https://bbpress.trac.wordpress.org/ticket/3458
This is all part of WordPress’s mission to make it’s software totally unusable.
It has been reported to the bbpress authors.
Hi,
I have created a forum using bbPress and uploaded the ForumPress theme. I have not made changes to any core files. I have added 1 snippet to show Advanced TinyMCE Editor for all users in frontend. At first or after adding that snippet too, Whenever I post a duplicate content/topic, it shows as Duplicate Topic detected. But after WordPress Update to 5.9.3, it is not showing any error messages and accepting the duplicate topics, replies, etc.
I have tried all solutions from your forum and other websites, nothing helped. Please help me resolve this issue.
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
hmmm…
Possibly a theme or plugin conflict
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
untested, but this should work
add_filter( 'bbp_get_topic_post_date', 'rew_date_only' , 20, 6) ;
function rew_date_only ($result, $topic_id, $humanize, $gmt, $date, $time ){
$topic_id = bbp_get_topic_id( $topic_id );
// 4 days, 4 hours ago
if ( ! empty( $humanize ) ) {
$gmt_s = ! empty( $gmt ) ? 'G' : 'U';
$date = get_post_time( $gmt_s, $gmt, $topic_id );
$time = false; // For filter below
$result = bbp_get_time_since( $date );
// August 4, 2012 at 2:37 pm
} else {
$date = get_post_time( get_option( 'date_format' ), $gmt, $topic_id, true );
$result = $date;
}
// Filter & return
return apply_filters( 'rew_date_only', $result, $topic_id, $humanize, $gmt, $date, $time );
}
}
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
WordPress 5.9.2, bbPress 2.6.9, http://musgravelandingstrata.community (private site)
How can i control whether a topic, after being submitted, is held for moderation?
Also, how can i ensure that forum moderators are automatically notified (via email?) if a topic is held for their moderation?
Ours is a small and private community site. There’s no reason for posts to be held, but we’ve noticed some are. Recently, some of my posts, direct copies of rich content from an email i received were held. I’m thinking it might be related to some type of formatting unknown to the editor but i’m not sure…
thanks for your help!
dave
Oh you’re right i thought it was specific to bbpress, if it is standard wordpress login i will find a plugin for that thank you 🙂
bbpress just uses wordpress login.
But since you can stay logged in, any plugin which would log users would need to activate on each page and do a database write, which might be site affecting (or not!).
Any wordpress login visit plugin would do the job, but I suspect there are precious few – but google around and if you find one with a shortcut to display it should be easy to hook up.
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Profile