Index: sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-users.php
===================================================================
--- sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-users.php	(revision 5583)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-users.php	(revision )
@@ -14,6 +14,31 @@
 
 		// Custom user contact methods.
 		add_filter( 'user_contactmethods', array( $this, 'custom_contact_methods' ) );
+
+		//Only allow 3 posts from a user in the first 24 hours
+		add_action( 'bbp_new_topic', array( $this, 'new_user_topic_limit' ) );
+	}
+
+	/**
+	 * Check if a user has exceeded their 3 topics in the first 24 hours, and apply the
+	 * pending status to any new topics after this.
+	 *
+	 * @param int $topic_id The post-ID of the newly created topic
+	 *
+	 * @return void
+	 */
+	public function new_user_topic_limit( $topic_id ) {
+		$current_user = wp_get_current_user();
+		if ( ( 24 * HOUR_IN_SECONDS ) >= ( time() - $current_user->user_registered ) ) {
+			return; // Exit the function if the account is more than 24 hours old
+		}
+
+		if ( bbp_get_user_topic_count_raw( $current_user->ID ) > 3 ) {
+			wp_update_post( array(
+				'ID'          => $topic_id,
+				'post_status' => 'pending'
+			) );
+		}
 	}
 
 	/**
