Forum Replies Created
-
In reply to: bbPress Specific Sidebar – theme salient
Now I have to edit the file
ok so you have already put :
function rkk_widgets_init() { register_sidebar( array( 'name' => __( 'bbPress Sidebar', 'rkk' ), 'id' => 'bbp-sidebar', 'description' => __( 'A sidebar that only appears on bbPress pages', 'rkk' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); } add_action( 'widgets_init', 'rkk_widgets_init' );
into your child theme functions file – yes ?
and then did this
I chose the left-sidebar-page.php of my theme, copied it into my child theme and replaced <?php get_sidebar(); ?> with <?php dynamic_sidebar( ‘bbp-sidebar’); ?>. Because I read this in another topic of a theme salient user.
which replaces the second part of 26, as you have chosen the left-sidebar rather than just sidebar
yes ?
so what exactly are you stuck on?
In reply to: Breadcrumb doesn’t link to right pageWithout specific access to your site, this will let you set where breadcrumbs go :
once activated go to
dashboard>settings>bbp style pack>Breadcrumbs
In reply to: Problem adding tableif you posted a reply, I didn’t get it
In reply to: WP mail SMTP – Pluginbbpress works with smtp as far as I know, so it may be that the sending address is not liked by something in the email system.
If you are using the professional version, then enable logs to see if messages are leaving the site.
If you are not using the professional version of SMTP, install the ‘check and log email’ plugin which does much the same.
finally, try changing the sending email address using
once activated go to
dashboard>settings>bbp style pack>Subscription Emails
and change the sending email to a real one.
In reply to: Problem adding tableI would need a link to a live example to see what is being downloaded to the browser
In reply to: Participant Moderator in backendNot sure this is achievable. The backend is meant for management. That you couldn’t get ACF to work is driving you down a path for which bbpress was never intended.
I think that to see the topic and replies on the backend needs the ability to ‘edit_others_topics’ or the ability to ‘moderate’ – maybe both.
In reply to: bbPress interferes with wpForms User RegistrationCan you ask this question in wp forms support, as this is a paid plugin I have no access to it to see what it is doing.
In reply to: bbPress interferes with wpForms User Registrationok, let me look further
In reply to: bbPress interferes with wpForms User Registrationyes that looks right.
Has it done anything ?
In reply to: Where are the BBpress tablesbbpress uses custom post types, so forum, topic and replies will be in the posts table
In reply to: bbPress interferes with wpForms User Registrationok, for the moment, I’d suggest you add the code snippets plugin, that gives you an area to put it in.
That will let us test to get to a problem definition.
Once we know if this (or something else) is the solution, then we can get it into the right place, but I would prefer to be sure that the code is functioning so code snippets gives that certainty
In reply to: bbPress interferes with wpForms User Registrationas a test, let’s stop it adding the forum role on registration to see if that is interfering.
so use this code
add_action ('plugins_loaded' , 'rew_remove_bbp_role') ; function rew_remove_bbp_role () { remove_action( 'bbp_user_register', 'bbp_user_add_role_on_register', 10, 1 ); }
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
and then let me know if this makes a difference
In reply to: Trouble with font colorok, but it is the equivalent of asking me to diagnose the strange sound of your car by sending me a photo of the engine. A link lets me see what code is being sent to the browser.
Topics are typically greyed when they are closed – what state is this topic, and have you tried creating others to see if it is juts this one, or all topics are doing it?
In reply to: Prevent topic repliesgreat – glad we got there !!
In reply to: Remove topic creation in frontendgreat – glad we got there !!
In reply to: Remove topic creation in frontendok, both those links work for me
In reply to: Prevent topic repliesand with this one try
content-single-topic.php
and remove the line
<?php bbp_get_template_part( 'form', 'reply' ); ?>
In reply to: Remove topic creation in frontendok, not quite sure why, but in that case
find
wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.phptransfer this to your pc and edit
take out the line
<?php bbp_get_template_part( 'form', 'topic' ); ?>
which is in twice, so remove 2 times
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %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/content-single-forum.phpbbPress will now use this template instead of the original
In reply to: Prevent topic repliesfind
wp-content/plugins/bbpress/templates/default/bbpress/form-reply.phptransfer this to your pc and edit
make the file read
<?php /** * New/Edit reply * * @package bbPress * @subpackage Theme */ // Exit if accessed directly defined( 'ABSPATH' ) || exit;
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %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.phpbbPress will now use this template instead of the original
In reply to: Remove topic creation in frontendfind
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.phptransfer this to your pc and edit
make the file read
<?php /** * New/Edit Topic * * @package bbPress * @subpackage Theme */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; if ( ! bbp_is_single_forum() ) : ?> <div id="bbpress-forums" class="bbpress-wrapper"> </div> <?php endif;
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %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-topic.phpbbPress will now use this template instead of the original
In reply to: a user login problemthanks,
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
you might also try
once activated go to
dashboard>settings>bbp style pack>login failures
In reply to: a user login problemalways been like this?
Just started doing this?
In reply to: Moderator can only trash his own postsglad to have helped !
In reply to: Is bbpress dead?In reply to: Moderator can only trash his own postsyou’re close !!
Untested, but try
add_filter('bbp_topic_admin_links', 'rew_no_trash_topic_except_own', 10, 2); add_filter('bbp_reply_admin_links', 'rew_no_trash_reply_except_own', 10, 2); function rew_no_trash_topic_except_own ($links, $topic_id) { if (!bbp_is_user_keymaster() && get_current_user_id() != bbp_get_topic_author_id( $topic_id )) { unset($links['trash']); } return $links; } function rew_no_trash_reply_except_own ($links, $reply_id) { if (!bbp_is_user_keymaster() && get_current_user_id() != bbp_get_reply_author_id( $reply_id )) { unset($links['trash']); } return $links; }