Hi,
I have debug turned on and I keep getting this error come up when I go to the bbp Style Pack settings, do you know what it means and/or what might be causing it?
Only variables should be passed by reference in /var/web/site/public_html/wp-content/object-cache.php on line 315
[28-Sep-2023 15:48:21 UTC] PHP Notice: wp_cache_flush() used, this is broadly not recommended. Called in /var/web/site/public_html/wp-content/plugins/bbp-style-pack/includes/functions.php line 3529 in /var/web/site/public_html/wp-content/object-cache.php on line 320
Many Thanks,
Andy
]]>Hello
The above issues I have resolved using the following plugin.
Plugin name: bbPress – Report Content
Plugin URL: https://www.ads-software.com/plugins/bbpress-report-content/
But could you please help to solve the below screenshot issues?
Issues Description: I need to add report to content dropdown.
Screenshot URL: https://prnt.sc/cL2uh7VbeXal
Thank you.
]]>I’ve noticed that the banner image of Buddypress profile pages is eliminated when this plugin is active. Otherwise both plugins seem to function well enough together. Seems to be a conflict between the way the plugin operates and the way Buddypress uses themes (if that narrows it down at all). I guess this is just an FYI for folks using Buddypress and bbPress together with this plugin — as other people have mentioned that the plugin appears abandoned over the past year.
]]>Please add the feature to add a comment Report .
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Hi, if someone needs to send a notification, this might get you started:
function samen_bbp_rc_reported_topic( $topic_id ) {
$topic = bbp_get_topic( $topic_id );
$subject = 'Forum message reported';
// Set the Mail Content
$mail_body = '
Hello,
Somebody reported a forum post.
Have a good day.
The editors of this website.
Forum message: ' . get_permalink( $topic_id ) . '
Manage that message: ' . admin_url( '/post.php?post=' . $topic_id . '&action=edit' ) . '
';
// Set the Mail Headers
$header = "From: " . " <" . get_bloginfo('admin_email') . ">\r\n";
$header .= "Content-Type: text/plain; charset=UTF-8\r\n"; // Encoding of the mail
wp_mail( get_bloginfo('admin_email'), $subject, $mail_body, $header );
}
add_action( 'bbp_rc_reported_topic', 'samen_bbp_rc_reported_topic' );
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Hi.
Is there any way to have the replys that are reported hidden until an administrator approves or deletes them?
I was going to do this with css, but the li that holds the reply would still show.
Thanks
Aaron
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Has this plugin been abandoned or will there be an update?
The reason for asking is that it has not been updated for a whole year and is probably not compatible with the current version of WordPress?
Also, it the plugin compatible with WPMU?
Thanks!
https://www.ads-software.com/plugins/bbpress-report-content/
]]>The admin screen does not seem to be able to recognize reported posts. Does not match the screen shot in the package documentation. As the most recent posts for this plugin appear to be a year or more old I can only assume that it is no longer being actively maintained with current WP releases.
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Hi
Thank you for this useful plugin. A problem though: if someone reports content with an embeded video inside, the video disappears.
Here is a screenshot with an embeded video and below the same video inserted as a simple link screenshot
And here a screenshot after reporting screenshot
How could I resolve this problem, please?
PS Inserting videos just as simple links is not a good option as the dimensions of the videos show large.
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Hello! I am wondering how to change the text of the link to a font awesome icon. I believe I am calling it correctly but it doesn’t seem to work (this code works for the bbpress admin links).
function shido_custom_reply_admin_link( $links ) {
$links[‘report’] = get_reply_report_link(array(
‘report_text’ => __( ‘<i class=”fa fa-flag fa-2x”></i>’, ‘bbpress-report-content’ ),
) );
return $links;
}
add_filter( ‘bbp_reply_admin_links’, ‘shido_custom_reply_admin_link’ );
https://www.ads-software.com/plugins/bbpress-report-content/
]]>I have this plugin installed and you can click the report button and on the admin side that topic then becomes red, alerting us of the report. But, inside the topic itself it does not show a banner saying this topic has been reported as inappropriate.
For example, see the initial post here (which was reported) https://www.amymyersmd.com/community-build/topic/candida-program-in-combination-with-elimination-diet/
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Is there a RSS feed of all reported items?
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Awesome plugin! Its a bit cumbersome to be checking topics to see if anything has been reported. Is there a way to have an email sent out to admin on every abuse report?
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Hello
I have found this great plugin but I have an idea for improve his effectivity:
Now, if only ONE user report a message, that message will show the “this message has been marked as reported” message. The ideal, in my opinion, will be that you could choose how many reports are necessary to show that message. For example: only if 3 users report a reply it will show the report message.
Anyone knows how can be made?
Thanks in advance
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Hi there,
Love this plugin and not sure if I have just misunderstood what should be happening but when a reply is reported the user is not seeing the notification:-
“This reply has been reported for inappropriate content.”
All that seems to be happening is that the report button is vanishing on the reply but no message appears.
The topic notification is working fine.
Kind Regards
KatieKat
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Hi,
this plugin is compatibility with WordPress 4.0?
It generate bug as slowdown of the website?
Thanks.
https://www.ads-software.com/plugins/bbpress-report-content/
]]>right now im trying to echo the topic report link and the reply report link
but i cant seem to make it work
im just using <?php echo bbp_get_topic_report_link(); ?>
but it isnt showing up
i added your gist file to my functions.php in my child theme but i cant seem to make it work
i just want to add the report link using this
<?php echo bbp_get_topic_report_link(); ?>
and position it with css
Any help to get this done right??
https://www.ads-software.com/plugins/bbpress-report-content/
]]>I understand you dont want to have a settings page for a long as possible.
I had a look through the plugin code hoping I could see reference to where the “reported content” ID’s are stored, such as MySQL, but nothing to be found.
I was hoping to do a MySQL query in the header or a widget of my site so it would show (me) if there was reported content, but I have absolutely no idea where to start.
Does the plugin store info in the database? If so please could you just give me a point in the right direction please.
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Hello, I’ve made a Polish translation, which I can share later.
Anyway, when I name my files pl_PL or bbpress-report-content-pl_PL neither of them works. Which is the proper filename?
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Hi.
Users can click “Report” and the specific post or reply has at the top of the persons text/reply – in italics – “This has been reported”
But there is nothing at the top of he thread or at the top of the forum to indicate anything. And please can you add or tell me how to enable email notifications to admin?
Thank you.
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Just a question,
Would it be a lot of work and editing to make the Report button show up through some do_action hook?
For topics:
<?php do_action( 'bbp_theme_after_topic_author_details' ); ?>
For replies:
<?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
I’ve moved my admin_links to the footer of each topic and reply and now this button also shows up at the bottom of the content.
I understand a little bit what’s happening inside the plugin code by using a add_filter function but I was just wondering if you could also make that an add_action or something.
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Hello
I found a (very small) bug in the plugin source code.
In the file bbpress-report-content/classes/class-bbpress-report-content.php, in the function load_plugin_textdomain, this line
load_plugin_textdomain( $domain, FALSE, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
would work if the file was in the plugin’s root, but since it’s in the classes subdirectory, it tries to load translation files from bbpress-report-content/classes/lang/
Might I suggest that the line be changed to
load_plugin_textdomain( $domain, FALSE, dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/lang/' );
or, using the fact that __DIR___ is the same as dirname( __FILE__ )
load_plugin_textdomain( $domain, FALSE, dirname( plugin_basename( __DIR__ ) ) . '/lang/' );
Of course, if the translation files are in /wp-content/languages/bbpress-report-content/, it works fine.
Thank you.
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Just curious,
I’m reading your description and looking at the screenshots but how does it handle Replies?
From looking at the screenshots users can only report topics started as spam but what if a spammer just drops his link into a good topic because he found that topic in the Google Search Results do user have to report the entire topic as spam or should they just report that last reply as spam. ??
Thanks.
https://www.ads-software.com/plugins/bbpress-report-content/
]]>Many thanks for plugin. Works.
It might be best to update the version number on the main file to 1.0.1
https://www.ads-software.com/plugins/bbpress-report-content/
]]>