Index: /trunk/xpressme_integration_kit/class/xpressD3commentContent.class.php
===================================================================
--- /trunk/xpressme_integration_kit/class/xpressD3commentContent.class.php	(revision 595)
+++ /trunk/xpressme_integration_kit/class/xpressD3commentContent.class.php	(revision 596)
@@ -26,5 +26,5 @@
 			$blog_info = $this->get_comment_blog_info($forum_id);
 			// query
-			$post_row = $db->fetchArray( $db->query( "SELECT * FROM ".$blog_info['mb_table_prefix']."posts WHERE ID=$post_id AND comment_status ='open'" ) ) ;
+			$post_row = $db->fetchArray( $db->query( "SELECT * FROM ".$blog_info['mb_table_prefix']."posts WHERE ID=$post_id" ) ) ;
 			if( empty( $post_row ) ) return '' ;
 
Index: /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php
===================================================================
--- /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php	(revision 595)
+++ /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php	(revision 596)
@@ -127,5 +127,6 @@
 	add_action("delete_post",	"onaction_delete_post");
 	add_action("wp_set_comment_status" , "onaction_comment_apobe");
-	
+	add_action("publish_post",	"onaction_comment_close");
+
 	
 	add_filter('comments_template', "disp_d3forum_comments" );
