I found two bugs - and here are the fixes:
The first is that the reported post wasn't being displayed with a red background when you clicked through from admin to view it.
Here's the change that needs to be made in report.php so that the #thread is added to the style:
return '#thread #post-' . implode( ' .threadpost, #thread #post-', $reported_post_ids ) . ' .threadpost {
background: #900;
color: #fff;
The second bug has to do with the resolve types. They were always displaying as Other in the Resolved Reports screen. This is because the resolve type is being saved incorrectly to the database in the bb_bbmodsuite_reports table. You are casting it to an (int) when it shouldn't be. So if you remove the cast, it works!
Just change the lines in report.php to this:
if ( !$report_id ) { ?>
<div class="error"><p><?php _e( 'Invalid resolve attempt.', 'bbpress-moderation-suite' ); ?></p></div>
<?php } else {
// Modified resolve type to remove the casting to (int)
if ( $bbdb->update( $bbdb->prefix . 'bbmodsuite_reports', array(
'report_type' => 'resolved',
'resolve_content' => htmlspecialchars( trim( bbmodsuite_stripslashes( $_POST['resolve_content'] ) ) ),
'resolved_at' => bb_current_time( 'mysql' ),
'resolved_by' => bb_get_current_user_info( 'ID' ),
'resolve_type' => $_POST['resolve_type']
), array( 'ID' => $report_id ) ) ) { ?>