Index: trunk/wp-content/plugins/xpressme/xpressme_class.php
===================================================================
--- trunk/wp-content/plugins/xpressme/xpressme_class.php	(revision 202)
+++ trunk/wp-content/plugins/xpressme/xpressme_class.php	(revision 218)
@@ -470,5 +470,5 @@
 	
 	function d3forum_option($do_message = ''){
-		global $xoops_db;
+		global $xoops_db,$xoops_config;
 		
 		$d3frum_list = array();
@@ -481,34 +481,39 @@
 		else
 			$selected = '';
-		$forum_list .= '<option value="none"' . $selected . '>' . __('Do Not Comment Integration.', 'xpressme') . "</option>\n";
-
-		// Form making for forum selection of D3forum
-		$modules_table = get_xoops_prefix() .'modules';
-		$sql = "SELECT mid,name,isactive,dirname FROM $modules_table WHERE isactive = 1";
-		$modules = $xoops_db->get_results($sql);
-		foreach ($modules as $module) {
-			$file_path = $module_dir_path . '/modules/' . $module->dirname . '/mytrustdirname.php';			
-			if (! file_exists($file_path)) continue;
-			$array_files = file($file_path);
-			// It is checked whether there is character string "$mytrustdirname ='d3forum'"in the file.
-			foreach ($array_files as $aeey_file){
-				if( preg_match( "/\s*(mytrustdirname)\s*(=)\s*([\"'])(d3forum)([\"'])/", $aeey_file ) ) {
-					$forums_tb = get_xoops_prefix() . $module->dirname . '_forums';
-					$cat_tb = get_xoops_prefix() . $module->dirname . '_categories';
-					$sql= "SELECT * FROM $forums_tb LEFT JOIN $cat_tb ON $forums_tb.cat_id = $cat_tb.cat_id";
-					$forums = $xoops_db->get_results($sql);
-					foreach ($forums as $forum) {
-						if (($module->dirname == $this->d3forum_module_dir) &&  ($forum->forum_id == $this->d3forum_forum_id))
-							$selected = ' selected="selected"';
-						else
-							$selected = '';
-						$forum_div = 'forum|' . $module->dirname . '|' .  $forum->forum_id;
-						$forum_select = "$module->name($module->dirname) $forum->cat_title-$forum->forum_title(ID=$forum->forum_id)";
-						$forum_list .= '<option value="' . $forum_div . '" ' . $selected . '>' . $forum_select . "</option>\n";
+		
+		if ($xoops_config->is_wpmu) {
+			$forum_list .= '<option value="none"' . $selected . '>' . __('WordPress MU cannot integrate the comments.', 'xpressme') . "</option>\n";
+		} else {	
+			$forum_list .= '<option value="none"' . $selected . '>' . __('Do Not Comment Integration.', 'xpressme') . "</option>\n";
+
+			// Form making for forum selection of D3forum
+			$modules_table = get_xoops_prefix() .'modules';
+			$sql = "SELECT mid,name,isactive,dirname FROM $modules_table WHERE isactive = 1";
+			$modules = $xoops_db->get_results($sql);
+			foreach ($modules as $module) {
+				$file_path = $module_dir_path . '/modules/' . $module->dirname . '/mytrustdirname.php';			
+				if (! file_exists($file_path)) continue;
+				$array_files = file($file_path);
+				// It is checked whether there is character string "$mytrustdirname ='d3forum'"in the file.
+				foreach ($array_files as $aeey_file){
+					if( preg_match( "/\s*(mytrustdirname)\s*(=)\s*([\"'])(d3forum)([\"'])/", $aeey_file ) ) {
+						$forums_tb = get_xoops_prefix() . $module->dirname . '_forums';
+						$cat_tb = get_xoops_prefix() . $module->dirname . '_categories';
+						$sql= "SELECT * FROM $forums_tb LEFT JOIN $cat_tb ON $forums_tb.cat_id = $cat_tb.cat_id";
+						$forums = $xoops_db->get_results($sql);
+						foreach ($forums as $forum) {
+							if (($module->dirname == $this->d3forum_module_dir) &&  ($forum->forum_id == $this->d3forum_forum_id))
+								$selected = ' selected="selected"';
+							else
+								$selected = '';
+							$forum_div = 'forum|' . $module->dirname . '|' .  $forum->forum_id;
+							$forum_select = "$module->name($module->dirname) $forum->cat_title-$forum->forum_title(ID=$forum->forum_id)";
+							$forum_list .= '<option value="' . $forum_div . '" ' . $selected . '>' . $forum_select . "</option>\n";
+						}
+						break;
 					}
-					break;
 				}
+				$forum_list .= '<br>';			
 			}
-			$forum_list .= '<br>';			
 		}
 		$forum_list .= '</select>' . "\n";
