Search Results for 'bbpress'
-
AuthorSearch Results
-
September 20, 2021 at 8:45 am #223257
Robin W
ModeratorI am very unclear as to what you are trying to achieve.
if you want one forum say forum id 12345 to display differently, then just amend content-single-forum to
<?php $forum_id = bbp_forum_id() ; if $forum_id = '12345' { ?> <div id="bbpress-forums" class="bbpress-wrapper"> <?php bbp_breadcrumb(); ?> <?php bbp_forum_subscription_link(); ?> <?php do_action( 'bbp_template_before_single_forum' ); ?> <?php if ( post_password_required() ) : ?> <?php bbp_get_template_part( 'form', 'protected' ); ?> <?php else : ?> <?php bbp_single_forum_description(); ?> <?php if ( bbp_has_forums() ) : ?> <?php bbp_get_template_part( 'loop', 'forums' ); ?> <?php endif; ?> <?php if ( ! bbp_is_forum_category() && bbp_has_topics() ) : ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'loop', 'topics' ); ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php elseif ( ! bbp_is_forum_category() ) : ?> <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php endif; ?> <?php endif; ?> <?php do_action( 'bbp_template_after_single_forum' ); ?> </div> <?php } else { ?> <div id="bbpress-forums" class="bbpress-wrapper"> <?php bbp_breadcrumb(); ?> <?php bbp_forum_subscription_link(); ?> <?php do_action( 'bbp_template_before_single_forum' ); ?> <?php if ( post_password_required() ) : ?> <?php bbp_get_template_part( 'form', 'protected' ); ?> <?php else : ?> <?php bbp_single_forum_description(); ?> <?php if ( bbp_has_forums() ) : ?> <?php bbp_get_template_part( 'loop', 'forums' ); ?> <?php endif; ?> <?php if ( ! bbp_is_forum_category() && bbp_has_topics() ) : ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'loop', 'topics' ); ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php elseif ( ! bbp_is_forum_category() ) : ?> <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php endif; ?> <?php endif; ?> <?php do_action( 'bbp_template_after_single_forum' ); ?> </div> <?php } ?>and change whichever display you want
September 20, 2021 at 7:03 am #223248In reply to: Different displays for method 1 and method 2
Ludovic S. Clain
ParticipantHi @robin-w,
thanks for your reply!I managed to reproduce my problem:
I created a WordPress instance on wptaste.com, reinstalled the essential bbpress plugins as well as Elementor Pro and Astra Pro, trying to redo my settings by hand, the error did not reproduce , I then exported my settings from the original site to re-import them into the test site and there I got the error.So I set out to reset my settings in Astra Pro and then redo them by hand, and now everything is back to normal.
I didn’t understand what it was, but I was able to isolate it and find a solution that didn’t take your time.
Thanks for putting me on the trail!
Best regards,
Ludovic from Reunion island 🇷🇪September 20, 2021 at 6:19 am #223247In reply to: Topic Sidebar
Robin W
Moderatoryou could try method 2 in this
it might work, it might not 🙂
September 19, 2021 at 4:29 pm #223234Topic: Topic Sidebar
in forum Troubleshootinggrell67
ParticipantHello,
I was wondering if someone could suggest how I might change the sidebar when a topic is opened. Unlike the forum post which has a ‘forum’ sidebar, when topics are opened the sidebar reverts to the default.
Thank you
Damian
Wordpress: 5.8.1
BBpress: 2.6.6
Our site: https://languagecaster.com/football-language-forums/September 18, 2021 at 1:36 pm #223220In reply to: Different displays for method 1 and method 2
Robin W
Moderatormethod 2 is picking up on the page template file in your theme, this is theme dependant.
If you can give us a link to a live example of method 1, and a non bbpress page in your site that has borders, I’ll try and help further.
September 18, 2021 at 12:03 pm #223218Topic: Different displays for method 1 and method 2
in forum TroubleshootingLudovic S. Clain
ParticipantHi there 👋
I followed this step by step guide
👉 https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/#3-%c2%a0creating-a-forum-pageAnd I’m annoyed with one quirk that I can’t seem to resolve: My borders aren’t showing!
With method # 1 my borders disappear and with method # 2 everything is normal.
How can I fix this please?
My regards,
LudovicSeptember 17, 2021 at 4:36 am #223208In reply to: How to noindex member pages?
Nigel M Rodgers
ParticipantHi,
I just did something similar for Rank Math SEO plugin:
/** * Sets bbPress user profile pages to noindex * * @param array $robots The meta robots directives. */ add_filter( 'rank_math/frontend/robots', function( $robots ) { if (!bbp_is_single_user_profile()) { return $robots; } unset( $robots['index']); $robots['noindex'] = 'noindex'; return $robots; });Cheers
September 17, 2021 at 3:12 am #223207Robin W
ModeratorThis whilst old still works well
September 16, 2021 at 9:03 pm #223205sarahkmac
ParticipantI have the same question. I am using bbPress as an integration with Profile Builder Pro. Has this question been answered yet?
September 16, 2021 at 2:55 am #223185In reply to: Why “Login Here” shows up instead of Form?
Robin W
Moderatorok, the line
echo esc_html__( 'You must be logged in to create new topics.', 'bbpress' ) . ' <a href="' . esc_url( thim_get_login_page_url() ) . '">' . esc_html__( 'Login here', 'bbpress' ) . '</a>';is doing the Login Here
This line chooses the location from a setting in your theme
thim_get_login_page_url()so I suspect it is as simple as changing that setting to the page you want it to say, so look at your theme settings
If that doesn’t work, come back
September 15, 2021 at 9:13 pm #223182In reply to: Why “Login Here” shows up instead of Form?
cosmiclove1978
ParticipantHi Robin,
Yes, I can see form-topic.php in the parent theme.
<?php /** * New/Edit Topic * * @package bbPress * @subpackage Theme */ ?> <?php if ( !bbp_is_single_forum() ) : ?> <div id="bbpress-forums"> <?php bbp_breadcrumb(); ?> <?php endif; ?> <?php if ( bbp_is_topic_edit() ) : ?> <?php bbp_topic_tag_list( bbp_get_topic_id() ); ?> <?php bbp_single_topic_description( array( 'topic_id' => bbp_get_topic_id() ) ); ?> <?php endif; ?> <?php if ( bbp_current_user_can_access_create_topic_form() ) : ?> <div id="new-topic-<?php bbp_topic_id(); ?>" class="bbp-topic-form"> <form id="new-post" name="new-post" method="post" action="<?php the_permalink(); ?>"> <?php do_action( 'bbp_theme_before_topic_form' ); ?> <fieldset class="bbp-form"> <legend> <?php if ( bbp_is_topic_edit() ) printf( __( 'Now Editing “%s”', 'bbpress' ), bbp_get_topic_title() ); else bbp_is_single_forum() ? printf( __( 'Create New Topic in “%s”', 'bbpress' ), bbp_get_forum_title() ) : _e( 'Create New Topic', 'bbpress' ); ?> </legend> <?php do_action( 'bbp_theme_before_topic_form_notices' ); ?> <?php if ( !bbp_is_topic_edit() && bbp_is_forum_closed() ) : ?> <div class="bbp-template-notice"> <p><?php _e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></p> </div> <?php endif; ?> <?php if ( current_user_can( 'unfiltered_html' ) ) : ?> <div class="bbp-template-notice"> <p><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p> </div> <?php endif; ?> <?php do_action( 'bbp_template_notices' ); ?> <div> <?php bbp_get_template_part( 'form', 'anonymous' ); ?> <?php do_action( 'bbp_theme_before_topic_form_title' ); ?> <p> <label for="bbp_topic_title"><?php printf( __( 'Topic Title (Maximum Length: %d):', 'bbpress' ), bbp_get_title_max_length() ); ?></label><br /> <input type="text" id="bbp_topic_title" value="<?php bbp_form_topic_title(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_title" maxlength="<?php bbp_title_max_length(); ?>" /> </p> <?php do_action( 'bbp_theme_after_topic_form_title' ); ?> <?php do_action( 'bbp_theme_before_topic_form_content' ); ?> <?php bbp_the_content( array( 'context' => 'topic' ) ); ?> <?php do_action( 'bbp_theme_after_topic_form_content' ); ?> <?php if ( ! ( bbp_use_wp_editor() || current_user_can( 'unfiltered_html' ) ) ) : ?> <p class="form-allowed-tags"> <label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress' ); ?></label><br /> <code><?php bbp_allowed_tags(); ?></code> </p> <?php endif; ?> <?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags' ) ) : ?> <?php do_action( 'bbp_theme_before_topic_form_tags' ); ?> <p> <label for="bbp_topic_tags"><?php _e( 'Topic Tags:', 'bbpress' ); ?></label><br /> <input type="text" value="<?php bbp_form_topic_tags(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> /> </p> <?php do_action( 'bbp_theme_after_topic_form_tags' ); ?> <?php endif; ?> <?php if ( !bbp_is_single_forum() ) : ?> <?php do_action( 'bbp_theme_before_topic_form_forum' ); ?> <p> <label for="bbp_forum_id"><?php _e( 'Forum:', 'bbpress' ); ?></label><br /> <?php bbp_dropdown( array( 'show_none' => __( '(No Forum)', 'bbpress' ), 'selected' => bbp_get_form_topic_forum() ) ); ?> </p> <?php do_action( 'bbp_theme_after_topic_form_forum' ); ?> <?php endif; ?> <?php if ( current_user_can( 'moderate' ) ) : ?> <?php do_action( 'bbp_theme_before_topic_form_type' ); ?> <p> <label for="bbp_stick_topic"><?php _e( 'Topic Type:', 'bbpress' ); ?></label><br /> <?php bbp_form_topic_type_dropdown(); ?> </p> <?php do_action( 'bbp_theme_after_topic_form_type' ); ?> <?php do_action( 'bbp_theme_before_topic_form_status' ); ?> <p> <label for="bbp_topic_status"><?php _e( 'Topic Status:', 'bbpress' ); ?></label><br /> <?php bbp_form_topic_status_dropdown(); ?> </p> <?php do_action( 'bbp_theme_after_topic_form_status' ); ?> <?php endif; ?> <?php if ( bbp_is_subscriptions_active() && !bbp_is_anonymous() && ( !bbp_is_topic_edit() || ( bbp_is_topic_edit() && !bbp_is_topic_anonymous() ) ) ) : ?> <?php do_action( 'bbp_theme_before_topic_form_subscriptions' ); ?> <p> <input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe" <?php bbp_form_topic_subscribed(); ?> tabindex="<?php bbp_tab_index(); ?>" /> <?php if ( bbp_is_topic_edit() && ( bbp_get_topic_author_id() !== bbp_get_current_user_id() ) ) : ?> <label for="bbp_topic_subscription"><?php _e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label> <?php else : ?> <label for="bbp_topic_subscription"><?php _e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label> <?php endif; ?> </p> <?php do_action( 'bbp_theme_after_topic_form_subscriptions' ); ?> <?php endif; ?> <?php if ( bbp_allow_revisions() && bbp_is_topic_edit() ) : ?> <?php do_action( 'bbp_theme_before_topic_form_revisions' ); ?> <fieldset class="bbp-form"> <legend> <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> tabindex="<?php bbp_tab_index(); ?>" /> <label for="bbp_log_topic_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br /> </legend> <div> <label for="bbp_topic_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br /> <input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" /> </div> </fieldset> <?php do_action( 'bbp_theme_after_topic_form_revisions' ); ?> <?php endif; ?> <?php do_action( 'bbp_theme_before_topic_form_submit_wrapper' ); ?> <div class="bbp-submit-wrapper"> <?php do_action( 'bbp_theme_before_topic_form_submit_button' ); ?> <button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button> <?php do_action( 'bbp_theme_after_topic_form_submit_button' ); ?> </div> <?php do_action( 'bbp_theme_after_topic_form_submit_wrapper' ); ?> </div> <?php bbp_topic_form_fields(); ?> </fieldset> <?php do_action( 'bbp_theme_after_topic_form' ); ?> </form> </div> <?php elseif ( bbp_is_forum_closed() ) : ?> <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> <div class="bbp-template-notice"> <p><?php printf( __( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), bbp_get_forum_title() ); ?></p> </div> </div> <?php else : ?> <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> <div class="bbp-template-notice"> <p> <?php if(is_user_logged_in()) { _e( 'You cannot create new topics.', 'bbpress' ); } else { echo esc_html__( 'You must be logged in to create new topics.', 'bbpress' ) . ' <a href="' . esc_url( thim_get_login_page_url() ) . '">' . esc_html__( 'Login here', 'bbpress' ) . '</a>'; } ?> </p> </div> </div> <?php endif; ?> <?php if ( !bbp_is_single_forum() ) : ?> </div> <?php endif; ?>September 15, 2021 at 5:06 pm #223181In reply to: Why “Login Here” shows up instead of Form?
Robin W
Moderatorcan you have a look at your parent theme to see if it has a folder ‘bbpress’ with form-topic.php
in it
September 13, 2021 at 8:51 am #223155In reply to: Why “Login Here” shows up instead of Form?
cosmiclove1978
ParticipantHi Robin!
Thanks for your quick reply and assistance. But there’s only one major challenge (at least to me) I am currently facing, which I’ll describe below:Re: — “Then amend this file to take out the current form and put in a link”
I get the “what” to-do part (i.e. amending file…, creating a folder in my child theme, etc) but as for the “how?”, I have absolutely no idea. In all humility, I make no pretense of familiarity with php syntax or anything php code-related.
I see the <form>….</form> tags in my file below, should I remove it all and place https://mydomain.com/login?
<?php /** * User Login Form * * @package bbPress * @subpackage Theme */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; ?> <form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form"> <fieldset class="bbp-form"> <legend><?php esc_html_e( 'Log In', 'bbpress' ); ?></legend> <div class="bbp-username"> <label for="user_login"><?php esc_html_e( 'Username', 'bbpress' ); ?>: </label> <input type="text" name="log" value="<?php bbp_sanitize_val( 'user_login', 'text' ); ?>" size="20" maxlength="100" id="user_login" autocomplete="off" /> </div> <div class="bbp-password"> <label for="user_pass"><?php esc_html_e( 'Password', 'bbpress' ); ?>: </label> <input type="password" name="pwd" value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" autocomplete="off" /> </div> <div class="bbp-remember-me"> <input type="checkbox" name="rememberme" value="forever" <?php checked( bbp_get_sanitize_val( 'rememberme', 'checkbox' ) ); ?> id="rememberme" /> <label for="rememberme"><?php esc_html_e( 'Keep me signed in', 'bbpress' ); ?></label> </div> <?php do_action( 'login_form' ); ?> <div class="bbp-submit-wrapper"> <button type="submit" name="user-submit" id="user-submit" class="button submit user-submit"><?php esc_html_e( 'Log In', 'bbpress' ); ?></button> <?php bbp_user_login_fields(); ?> </div> </fieldset> </form>My question is and where do I amend this form-user-login.php file with my login url https://mydomain.com/login/?
If given a blueprint, I can certainly reproduce the steps faithfully when dealing with a similar issue
Can you (or anyone willing) please pinpoint the parts/lines to modify with the url? Thanks so much in advance.
September 12, 2021 at 9:16 pm #223142In reply to: bbPress Thread Content Displays Lower than Avatar
mystichris
ParticipantThanks, Robin
I set up bbPress on my other site, which runs the Karuna theme (https://www.in2itmusic.net/forums/topic/taize-or-celebration/), and it shows up correctly. It seems that something in the Native Church theme is causing the issue. I’ll contact their support.
Thanks again for looking into this!
ChrisSeptember 12, 2021 at 2:03 pm #223137In reply to: bbPress Thread Content Displays Lower than Avatar
Robin W
ModeratorI took a look at this, but cannot see what is causing the 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
Then come back
September 12, 2021 at 2:02 pm #223136In reply to: Why “Login Here” shows up instead of Form?
Robin W
Moderatorlogin here came with 2.6.x
bbpress has a template in
\templates\default\bbpress\form-user-login.php
you can change this to have a click link to any url you wish
find
wp-content/plugins/bbpress/templates/default/bbpress/form-user-login.phptransfer this to your pc and edit
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 amend this file to take out the current form and put in a link
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-user-login.phpbbPress will now use this template instead of the original
September 12, 2021 at 1:26 pm #223134Topic: Why “Login Here” shows up instead of Form?
in forum Troubleshootingcosmiclove1978
ParticipantHello Bbpress-ers!
I read somewhere in the forum that having a certain/recent version enabled a login form to appear rather than the “Login Here” url for forum guests.
I have Bbpress Version 2.6.6 and I see the “Login Here” displayed. My question is “Is this normal for the BBpress version I have”?
Screenshot
Login Here instead of FormAssuming a login url is displayed, my question then is, how can i change the login url? The one listed right now isn’t the one I want. Is there a file I can modify and place in my childtheme?
Can you please assist me with it? Assuming the new login url I want is https://mydomain.com/custom_login_url/, how would you actually insert it in the php file you’ll show me above to replace the existing url? Thanks so much in advance.
HSeptember 11, 2021 at 9:09 pm #223131Topic: bbPress Thread Content Displays Lower than Avatar
in forum Troubleshootingmystichris
Participant
WP version 5.8.1, bbPress plugin
Native Church Theme from IMI Themes
My topic thread content does not show up to the right of the author’s avatar, but underneath and to the right. Is there any way to display them side by side – it looks like that is what it’s supposed to do.September 11, 2021 at 10:32 am #223129In reply to: Forums index vs custom page shorturl
cosmiclove1978
ParticipantHello Regnalf,
I’m happy to report that your fix worked. I had to apply the new class to all the previous CSS code, but it did the trick!!!
This is truly got the time to appreciate firsthand php notions such hook and filters, etc and see them at work. It was neat to be able to fine-tune the bbpress-index class vs bbpress and target one vs all parts of the site. I’m grateful.
Pushing my luck a bit further and modeling your code above and another post I saw elsewhere, I was hoping to get a bit more granular in the way I applied my css to parts of the forum, so I tried this bit of code below to target individual topic pages (or replies?)
but it didn’t work. If it’s not too much to ask, whenever it’s convenient for you or anyone, could you tell me if this code below somewhat does what you just provided me.function my_topic_class($classes) { $classes[] = 'herman-topic-class'; return $classes; } add_filter( 'bbp_get_topic_class','my_topic_class' );Nowhere, when viewing the topic page or thread did I see the new class ‘herman-topic-class’ in the Inspect Element utility. With your code, the bbpress and bbpress-index appeared.
thanks in advance for all the support.H
September 11, 2021 at 6:09 am #223125In reply to: Forums index vs custom page shorturl
regnalf
ParticipantI don’t know how you excactly you want to style the forum index page, but i found out that the index page doesn’t have the bbpress class included in the body tag like the sub pages. So i had the problem too that i couldn’t style the index page.
Here is my code i use to add this class, and others, to the body tag for the index page. Then you can style the index page with css.
add_filter( 'body_class', 'bbpress_add_body_class' ); function bbpress_add_body_class( $classes ) { global $wp; $bbpress_index = get_option ('_bbp_root_slug'); $bbpress_search = get_option ('_bbp_search_slug'); if (strpos($wp->request, $bbpress_index) !== false) { $classes[] = "bbpress"; } if ($wp->request == $bbpress_index) { $classes[] = "bbpress-index"; } if (strpos($wp->request, $bbpress_index . "/" . $bbpress_search) !== false) { $classes[] = "bbpress-search"; } return $classes; }September 11, 2021 at 5:38 am #223124In reply to: Forums index vs custom page shorturl
cosmiclove1978
ParticipantHi Robin,
Thanks as always for your assistance.
Starting with the last question, I have BuddyPress installed but not activated…As for the slug, I’ve now ditched the underscore thing and went with /lab for the shortcode page, and in settings, /forums for the root and /forum for the forum. My permalinks are back to %postname%. This current setting guarantees that all my styles are displayed properly when accessing the page with the bbp-forum-index shortcode.
If I visit the /lab page, it’s all good until I clicked on a specific forum. Then the /lab is lost to acquire /forums (declared the settings) and thus display a 404 error page since there’s no page with that /forums/forum/topic, etc.
When I switch to having the shortcode page slug and settings slug be the same, no 404 error message, but all customizations vanish.
I’ve read some other post talking of templates not being properly referenced and honestly, so I created a bbpress folder in my childtheme. Since I’m not sure which templates/file to copy inside the newly-created BBPRESS there, I tried copying all php files included in the default template folder inside the BBPress plugin, and it didn’t go to well, so I removed them.
Still not sure where else to look. 🙁
I appreciate other pointers you or other bbpress-ers might have.Best,
HSeptember 10, 2021 at 5:00 pm #223112Topic: Feature
in forum Installationhellotoyou
ParticipantHi, i want to add bbpress. The question is:
How do i mark a question as “solved”?September 10, 2021 at 4:51 pm #223110Topic: All posts anonymous after migration from bbpress1
in forum Troubleshootingangelfire4xx
ParticipantHi, I just updated my site which was 7 years old and had bbpress1. The Forums and Topics have migrated ok but none of the posts are attributed to a poster. In all cases, including Admin, poster=Anonymous.However the poster IDs are showing in database tables wp_bb_posts and wp_bb_topics. I can’t see how to fix this. Any ideas?
September 10, 2021 at 12:34 pm #223104In reply to: Temporarily hide responses per topic?
bhkh
ParticipantI just realized that being able to set all the posts in a topic to be moderated would also be an acceptable solution. But the two moderation plugins I have found don’t give this functionality.
These are the two I checked:
Does anyone know of a plugin that might help from this angle?
September 9, 2021 at 12:12 pm #223082Topic: Way to prevent duplicate post blocking?
in forum Troubleshootingbhkh
ParticipantIs there a way to disable the “Duplicate reply detected” error checking? My forum will mostly be people uploading audio attachments and they may very well just say the same thing each time they post. But in the short term it’s a bother to my testers since they can’t just write “test” each time.
I know that the error code is in \wp-content\plugins\bbpress\includes\common\functions.php
I’m guessing there is some way to filter the bbp_check_for_duplicate function, but I don’t know enough php to do that.
I’ve seen some others post this question in the past but didn’t see answers.
(BTW, I posted this question a few hours ago but it got marked as spam. Not sure why. I included some code in it but have removed it in this one. Hope it’s ok to repost.)
-
AuthorSearch Results