Forum Replies Created
-
In reply to: show_search=”false”In reply to: show_search=”false”
you can turn off searching using
dashboard>settings>forums>forum features>search forums
In reply to: Topic to be approvedemail rarbin@btinternet.com
In reply to: Topic to be approvedyes that would be it, and yes bbpress uses these settings for moderation
In reply to: Topic to be approvedIf you are not using Askismet plugin or a moderation plugin, then
dashboard>settings>discussion>comment moderation.
you need to submit this to Yoast, nothing that bbpress can do about it
For those who are less keen on code, or who install or already have
then just go to
dashboard>settings>bbp style pack>Topic/Reply Form
and use option 6
In reply to: Cross posting between forumsCan you explain what you mean by that – what are you trying to achieve?
Great – glad you are fixed
but yes it’s fixed in 2.6.14
// BuddyPress < 12.0 (deprecated code is intentionally included) if ( function_exists( 'bp_core_get_user_domain' ) ) { $url = array( bp_core_get_user_domain( $user_id ) ); // BuddyPress > 12.0 (rewrite rules) } elseif ( function_exists( 'bp_members_get_user_url' ) ) { $url = array( bp_members_get_user_url( $user_id ) ); }
so are you seeing this notice?
Very briefly tested as I am on holiday tomorrow, but try this
$r = array( 'post_type' =>bbp_get_reply_post_type(), 'post_parent' => $topic_id, 'author__not_in' => array( $author_id) ); $reply_posts = new WP_Query($r); $count = $reply_posts->post_count;
In reply to: Latest reliable PHP version?ok, thanks.
Given that the file is now ‘redundant’ in the child theme (as it is now the same as bbpress), are you able to remove both that whole file and the call to it – presumably in the child theme functions file.
It may be that calling it as part of a theme rather than plugin is affecting how bbpress works at that point – but I am just guessing at possible issues
In reply to: Latest reliable PHP version?can you post the whole function that the line is part of? I might be able to help further – or not – I can’t promise 🙂
Great – glad you are fixed
By default, if a user is participant, then they can post new topics.
I’m not sure what you have set up that requires admin approval?
This has been removed probably because it no longer worked.
Since bbpress just uses WordPress login, If you google ‘modal popup login wordpress’ you’ll find both code and plugins that do this
In reply to: Latest reliable PHP version?ok the fatal error is
[07-Aug-2025 22:39:39 UTC] PHP Fatal error: Uncaught Error: Undefined constant "description" in /var/www/vhosts/[SITEURL]/httpdocs/wp-content/themes/Avada-Child-Theme/bbpress.php:22
so this is a file called bbpress.php which sites in you child theme.
I suspect that this is a file that contains amendments to bbpress that someone has made, but without knowing why that file is there and what it does, I cannot say further
In reply to: Latest reliable PHP version?I am running 8.3 on my test site with no issues for many months now, and have just updated it to 8.4 and looks ok, but obviously not tested every function.
When you say it crashes, what error message are you getting?
In reply to: Redirect code not executingsorry, beyond free help – I’d suggest you hire a programmer to do this.
In reply to: bbp style pack – search box settinglink to a live example please
Great – glad you are fixed
have you just updated from 2.6.13 to 2.6.14?
Try
#bbpress-forums .status-closed, #bbpress-forums .status-closed a { color: #aaa !important; background-color: none !important; }
In reply to: Redirect code not executingnow corrected in codes, to this
/** * WordPress function for redirecting users on login based on user role */ function my_login_redirect( $url, $request, $user ){ if( $user && is_object( $user ) && is_a( $user, 'WP_User' ) ) { if( $user->has_cap( 'administrator' ) ) { $url = admin_url(); } else { $url = home_url(); } } return $url; } add_filter('login_redirect', 'my_login_redirect', 10, 3 );