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
After installing a plugin among those proposed by wordpress as an update, I can no longer access the blog and this message appears
Fatal error: Call to undefined function wp_installing() in D:\inetpub\webs\ramonfonst-schermait\wp-content\plugins\bbpress\includes\core\options.php on line 272
how can i recover access?
I’m not a bbpress author, just someone who helps out here. I can’t remember fully, but I have it in the back of my mind that there is an issue with that many forums, but don’t have time to set up 79 test forums to find out what it was.
Then simplest solution would be to amend the page to show all the forums
install
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Forum Display
and set item 11
I have read on here all day and tried some additional css doing amongst other things that have been suggested…I cannot for the life of me get rid of the bbPress Forum title on the following page…
https://hookdgear.com/forums
Any suggestions? I did not initially create a forum page as I simply went through the forums section in wordpress to create the forum layout…I create a page with a permalink to /forums to see if that helped but the title is still there…thank you in advance for your help
this might hep
https://pmgarman.me/delete-users-without-posts-from-wordpress/
bbpress just uses worpdress posts, so it should work.
BUT ensure you can restore if it does something funny !!
Thanks for the response I have read through the Codex. I knew i wasn’t being very clear lol.
I created a Board Admin Role in Memberpress and assigned the roles needed for wordpress permissions i wanted the role to have.
The problem is, I can clone Keymaster, which is a bbPress Role, but it doesn’t show up in Forum Roles dropdown, I can give forum permissions, but by giving edit user she can edit site admin, if i restrict edit user, she can’t manage users.
I am looking for a way to restrict access to upper-level site admin, while having certain admin, yet needs Full admin rights in Forum, but not the ability to accidentally delete or change higher admin roles and create or manage lower level bbPress forum roles.
Basically, I Need a MODERATOR Role with adjusted Admin Privileges and forum roles that can still perform role functions based on their level rather than just on or off, weighted capabilities with if statements that disables edit links or delete links unless the weighted role is below the administrator that is performing the tasks.
This needs to be something that each role has the same ability to adjust for each role, like you would have in tech support with tech support roles but 3 tiers of tech support levels vs customer service vs billing department. Customer Service and billing have access to user profile to view, however billing can only see user address and phone number and payment information, customer service can only see name, phone, email, previous tickets, plan type and tier 3 tech support can see everything that customer service can see plus ipaddress, database, files where tier 2 can see tier 3 level plus has the ability to backup or reboot, where tier 1 can see and do everything… except travel agency type stuff with boards.
Good day to all the wonderful devs,
Site: https://h99.cd7.myftpupload.com/
I am Running Current:
Wordpress 6.0.3
PHP 8.0
Plugins:
MemberPress Members 3.2.1
BBPress 2.6.9
My questions:
#1 I am working on a travel agent site for my wife which will include the forums. I will be the main site admin and primary Keymaster, however i want to add a secondary keymaster for her. However i want to make it so she has access to use certain admin tools on the wp-admin dashboard which i have done using Memberpress Members Roles. However i dont want her to have full keymaster in BBPress.
So, the idea in thought is Primary Keymaster has obvious full permissions, secondary Keymaster has full rights as well but not the ability to modify the primary keymaster.
Currently I have Primary Keymaster which is also Site Full Admin, Secondary Keymaster, named Board Admin.
I still want the Board Admin to have Admin rights to Dashboard Menus but not the ability to edit the Keymaster like it shows for the current BBPress Roles with only view ability. I think I wrote that right.
#2 BBPress Forum page login for general users. Currently BBPress sends registration and login to the wp-admin page to login. Is there a way to edit the forum link to use another page by having the login shortcode embedded into a page of choice, same question for Profile. Currently the edit profile link on the forum takes users directly to the wordpress profile rather than their forum profile, what am i missing for the redirect?
Thank you in advance for the patience and assistance.
I have created a few websites for myself, but learning the plugin dev stuff and theme editing, still infantile.. lol
I already broke her site once and had to delete everything and start over.
single login, so not sure why @billz88 has a problem.
Woocomerce, bbpress and wordpress all use same login
bbp style pack
once activated go to
dashboard>settings>bbp style pack>login failures
add_filter ('bbp_get_topic_class', 'rew_author_current' , 100 , 3) ;
add_filter ('bbp_get_reply_class', 'rew_author_current' , 100 , 3) ;
function rew_author_current ($post_classes, $topic_id, $classes) {
$author_id = bbp_get_topic_author_id( $topic_id );
$current_id = get_current_user_id() ;
if ($author_id == $current_id) {
$post_classes[] = 'rew-current-user' ;
$post_classes = array_merge( (array) $post_classes);
}
return $post_classes ;
}
will give you ‘rew-current-user’ as a style to add css
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
The steps are following,
- Step 1: Costumer creates an appointment
- Step 2: wordpres checks if the customer is having an account if not it creates one
- Step 3: When an account is created it gets the wordpress role “Costumer”
- Step 4: the by u provided app gives the costumer the forum role “Costumer”
- Step 5: Website admin checks the appointment and creates an Forum topic what is only visable by costumers role of the forum
- Step 6: Website admin makes the Costumer owner of the topic so only costumer and admin can view it
`
Only step 4 is not woring, the users are still in the bbpress standard role of the forum, they are not promoted to the “Costumers” group
This is my first time to create a plugin by myself. I use this tutorial to create the plugin. Then, copy the code mentioned above, and it works perfectly. Thank you!
@robin-w or another mod – can you please delete:
https://bbpress.org/forums/topic/template-in-block-themes/#post-232249 (#post-232249)
https://bbpress.org/forums/topic/template-in-block-themes/#post-232250 (#post-232250)
https://bbpress.org/forums/topic/template-in-block-themes/#post-232256 (#post-232256)
They had issues and take up a lot of wasted space.
Seriously done this time! No more changes/revisions! It is what it is!
Posting a much cleaner revision of the code above.
- This one will work with either the BBPress Style Pack plugin template (looks great!) or the default BBPress template (looks horrible!).
- It will optionally include the required ‘template-canvas.php’ only if it’s missing.
- It will also only affect BBPress pages, not the rest of the site.
- It will also only affect FSE Block themes.
- If using default BBPress templates, it includes checks for if on forum root index page and loads extras/archive-forum.php (to prevent double-listing of the forum index), and loads extras/page-front-forums.php for “the rest of bbpress” (to prevent “nothing found” errors)
// function to include the wp-includes/template-canvas.php file if needed
function fse_bbpress_template( $template ) {
if ( is_bbpress() ) {
$template = ABSPATH . WPINC . '/template-canvas.php';
}
return $template;
}
// function to include the bbpress forum template file if needed
function fse_bbp_theme_compat( $template ) {
if ( is_bbpress() ) {
// BBPress Style Pack Plugin Forums Index Template
if ( defined( 'BSP_PLUGIN_DIR' ) ) {
$template = BSP_PLUGIN_DIR . '/templates/bbpress.php';
} else {
// Default BBPress
// if current page is bbpress forum root page, load archive-forum to prevent double-listing of index
if ( isset( get_queried_object()->name ) ) {
if ( get_queried_object()->name == 'forum' ) {
$template = WP_CONTENT_DIR . '/plugins/bbpress/templates/default/extras/archive-forum.php';
}
// else, load page-front-forums or the rest of bbpress is broken with empty pages
} else {
$template = WP_CONTENT_DIR . '/plugins/bbpress/templates/default/extras/page-front-forums.php';
}
}
}
return $template;
}
// main function for handling which theme file needs to be included
if ( ! function_exists( 'fse_bbpress_support' ) ) {
function fse_bbpress_support() {
// get current theme dir
$theme_dir = get_template_directory();
/*
* Detect if FSE theme or traditional.
* FSE Block themes require a theme.json file.
* Use that to check instead of theme name or parent theme name.
* Perhaps a better method is available, but this works for now
*/
if ( file_exists( $theme_dir . '/theme.json' ) ) {
// include wp-includes/template-canvas.php only if needed
if ( !basename( get_page_template() ) == 'template-canvas.php' ) {
add_filter( 'template_include', 'fse_bbpress_template' );
}
// include either the BSP template, or default BBPress template
add_filter ( 'bbp_template_include_theme_compat', 'fse_bbp_theme_compat' );
}
}
}
add_action( 'after_setup_theme', 'fse_bbpress_support' );
One issue with EVERY default BBPress template is that the header/footer/sidebar are trying to be pulled from template files that don’t exist in block themes. They’re being included, but don’t look right. I’m not sure of the best solution for that, other than to use the BBPress Style Pack Plugin which takes care of that and looks great.
So i almost got it working the way i want it, but at this moment the only problem is when a new costumer gets registrated wordpress puts it in the Costumer role of WordPress,
For some reason the plugin is not picking up the “Assign Groups to Roles” i made group 2 “Costumers” and connected them to the WordPress Costumer group. but for some reason its not happening and the user is still in basic role instead of upgraded tot Group 2 ‘costumer” role in bbpress
Private groups
and look at the topic permissions settings, in particular
Create/Edit/view OWN Topics,
After weeks of trial and error my import from simple press to bbpress is finally done (YEY!) after some hours now.
And now I have this table: wp_bbp_converter_translator containing 900.000 rows(!)
Can I delete this, or does bbpress or wordpress take use of it now or will it do in the future?
no, I need to see what is being downloaded to your browser.
alternately :
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
I’m having the exact same issue with the newest bbpress and wordpress, trying to import from simple:press.
I have used this tool some other time, on older versions, and then in started at least.
Did you ever find out why it doesn’t start, or did you give up like I’m about to do?
Just written this – should work
add_filter ('bbp_current_user_can_access_create_reply_form' , 'rew_limit_replies') ;
function rew_limit_replies ($retval) {
//set limit
$limit = 5 ;
//get replies for today
$user_id = get_current_user_id() ;
$reply=bbp_get_reply_post_type() ;
$today = getdate();
$args = array(
'post_type'=> $reply,
'order' => 'ASC',
'orderby' => 'ID',
'post_status' => 'publish',
'posts_per_page' => -1,
'post_author' => $user_id,
'date_query' => array(
array(
'year' => $today['year'],
'month' => $today['mon'],
'day' => $today['mday'],
),
),
);
$the_query = new WP_Query( $args );
$count = $the_query->found_posts;
if ($count>=$limit) $retval = 0 ;
return $retval ;
}
Just amend the line ‘$limit = 5 ;’ to whatever number 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
your theme is hiding the bbpress breadcrumbs in
https://renaloo.com/wp-content/themes/digiqole-child/assets/css/custom.css line 2281
This function will add a reference to the breadcrumb
add_action ('bbp_template_before_single_topic' , 'rew_forum') ;
function rew_forum () {
echo '<div class="rew_forum">' ;
$topic_id = bbp_get_reply_topic_id() ;
$forum_id = bbp_get_topic_forum_id() ;
echo '<a href="' . esc_url( bbp_get_forum_permalink( $forum_id ) ) . '" class="bbp-breadcrumb-forum">' . bbp_get_forum_title( $forum_id ).'</a>' ;
echo '</div>' ;
}
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
At a guess, I’d say that bbPress, like WordPress, uses oEmbed to embed media. WP maintains a list of oEmbed providers whose URLs will automatically be converted to media embeds. The URL in your screenshot looks like it’s a custom CDN hosting an mp4 file, which likely can’t be converted this way. To test this, try using a YouTube video’s URL instead. You may use WPTrains forum to understand further.
the 2022 wordpress theme is a block theme, and doesn’t support bbpress out of the box.
Install
bbp style pack
once activated, navigate to
dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.
In that tab, select
Enable Theme Support
and save
The forums should then display