Forum Replies Created
-
In reply to: Dashicons Forums and Topic Titles
Perfect! Thank you again.
In reply to: Remove noreply email from notification emailsThank you so much. I made the change and hope that’s the fix.
In reply to: Remove noreply email from notification emailsI am reading and reading and reading. If I remove the functions I use from above and guess they may be a problem, is this something that can be handled by your style pack plugin instead? (I use it for ALOT). Much of those functions in our plugin relate to bbpress, that’s one of the reasons I use it instead of a child theme sometimes. If I change themes, I don’t want to lose the way I want bbPress to operate.
In reply to: Remove noreply email from notification emailsAnd this PHP error:
2024/02/08 04:46:43 [error] 88782#88782: *2901466 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “my_bbp_no_reply_email” not found or invalid function name in /www/sitename/public/wp-includes/class-wp-hook.php:324
In reply to: Remove noreply email from notification emailsSorry for so many replies. It seems there is a time limit to edit my replies. But still would like to remove site specific paths asap
In reply to: Remove noreply email from notification emailsI have this in a plugin that we use for a lot of our changes that we want separate from child theme functions.php I don’t know if related.
function no_reply_email(){ $email = 'no-reply@sitename.com'; // any email you want return $email; } add_filter('bbp_get_do_not_reply_address','my_bbp_no_reply_email'); function my_bbp_subscription_to_email(){ $email = 'no-reply@sitename.com'; // any email you want return $email; } add_filter('bbp_subscription_to_email','my_bbp_subscription_to_email');
In reply to: Remove noreply email from notification emailsi tried to take out site-specific stuff
In reply to: Remove noreply email from notification emailsIt just displays critical error.
xxx
In reply to: Remove noreply email from notification emailsHello again. I got a critical error on another topic when trying to reply.
Should updating PHP my first troubleshooting step?
In reply to: Remove noreply email from notification emailsI did a redirect from that page to another for now. It was only happening on that topic as far as I know now unless a user reports another.
In reply to: Remove noreply email from notification emailsRunning 8.0. I have option to change to 8.1 or 8.2 through my host. I just noticed that they recommend using 8.1.
In reply to: Remove noreply email from notification emailsHi Robin. I see this topic is old, but I am receiving the same fatal error on one of our topics. Pasting error from log below.
Any thoughts?
This is from log when someone replies to a specific topic.
2024/01/25 00:28:44 [error] 104203#104203: *2522045 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “my_bbp_no_reply_email” not found or invalid function name in /www/igotmyrefund/public/wp-includes/class-wp-hook.php:324
Stack trace:
#0 /www/igotmyrefund/public/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘noreply@igotmyr…’, Array)
#1 /www/igotmyrefund/public/wp-content/plugins/bbpress/includes/common/functions.php(999): apply_filters(‘bbp_get_do_not_…’, ‘noreply@igotmyr…’)
#2 /www/igotmyrefund/public/wp-content/plugins/bbpress/includes/common/functions.php(1135): bbp_get_do_not_reply_address()
#3 /www/igotmyrefund/public/wp-includes/class-wp-hook.php(326): bbp_notify_topic_subscribers(4534524, 4534520, 4534009, Array, 102593)
#4 /www/igotmyrefund/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#5 /www/igotmyrefund/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /www/igotmyref” while reading response header from upstream, client: 2600:387:15:1a0e::d, server: igotmyrefund.com, request: “POST /forums/topic/child-care-credit-ctc-changes/ HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-igotmyrefund.sock:”, host: “igotmyrefund.com:32769”, referrer: “https://igotmyrefund.com/forums/topic/child-care-credit-ctc-changes/”I am still on a hunt for a fix for this problem several years into my forum. Have you found anything? I have topics with thousands of replies, leading to many many pages when using pagination.
In reply to: Character CountOk that worked to stop the ability to submit, but didn’t print the error message.
In reply to: Character CountI tried to post as code….will try again. But this didn’t work.
function rew_max_length ($reply_content) { if (strlen($reply_content)<500) { bbp_add_error( 'bbp_reply_content', __( '<strong>ERROR</strong>: Your reply must be less than 500 characters.', 'bbpress' ) ); } return $reply_content ; } add_filter( 'bbp_new_reply_pre_content', 'rew_max_length' );
In reply to: Character CountThanks! I will see if I can play with that. My first guess is just changing <61 to >500
In reply to: Add bbp_author_ip to backendThank you! I sent some love through PP on your website for all your work! Hoping I can take this and make it work for topics too.
I tagged you in an old separate topic if you have any solutions for my replies problem on the front end:
In reply to: Redirection when newest replies are at the top.Hi @robin-w 🙂
I know it’s been some time since I asked this question…but I am still stumped. If you have any ideas of what I can do to fix this, I’d be eternally grateful.
In reply to: Redirection when newest replies are at the top.Hi Robin! Thanks for the reply.
This is what I am using to reorder replies:
// Reverse forum replies order from newer to older function custom_bbp_has_replies() { $args['order'] = 'DESC'; // ‘ASC’ (Ascending, Default), 'DESC' (Descending) return $args; } add_filter('bbp_before_has_replies_parse_args', 'custom_bbp_has_replies' ); function custom_bbp_show_lead_topic( $show_lead ) { $show_lead[] = 'true'; return $show_lead; } add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' );
In reply to: Redirection when newest replies are at the top.Not sure if @ works here, but Robin seems to be the best BBPress Ninja I see and I am still having this problem. I searched for solutions again, but don’t see any.
In reply to: Marking forum topics as spam in bulkManaging replies and topics in a large open forum has become a nightmare. I have searched high and low for a way to manage posts by IP/user, name, and of course the marking bulk spam as you mentioned. Mass edit/delete is not teaching anything to Akismet. I am using CleanTalk to manage spam registrations which seems to help with spam. But managing posts that get through filters requires tools like the Comment Dashboard for WordPress. I am going to look for someone to write a plugin. Perhaps the Comment Moderation plugin Developer could help us.
In reply to: How to Sort Ascending in 1 Forum Onlythank you!
In reply to: Unable to Delete, Edit or Close *Some* TopicsI will keep at it for now and see if I find any trend in these topics that won’t close. In the meantime I am running queries in the DB to isolate the bad guys.
In reply to: Unable to Delete, Edit or Close *Some* TopicsYes, that forced it to close. I can’t see manually doing that for many more. 40 or so, yeah no biggie. But as I move forward, that just can’t seem like any fun.
I tested to see if I could do anything with the topic now – and sure enough, it’s stuck closed. Almost seems like it is locked for editing.
In reply to: Unable to Delete, Edit or Close *Some* TopicsI deleted the extra entries. Tried to close, and it was a no go. Checked DB and it added an additional entry, presumably because I just tried to close it.