2008-03-23, 05:33 PM
السلام عليكم
مشكلة تظهر عن تثبيت اي مشاركة انظروا
ما الحل
علما ان منتداي
http:/ibn-alrafdein.ch/vb
مشكلة تظهر عن تثبيت اي مشاركة انظروا
كود :
adsselected); } $custommod->execute(intval($mybb->input['action']), $tids); $lang->custom_tool = sprintf($lang->custom_tool, $tool['name']); log_moderator_action($modlogdata, $lang->custom_tool); clearinline($fid, "forum"); $lang->redirect_customtool_forum = sprintf($lang->redirect_customtool_forum, $tool['name']); redirect("forumdisplay.php?fid=$fid", $lang->redirect_customtool_forum); break; } elseif($tool['type'] == 't' && $mybb->input['modtype'] == 'thread') { $ret = $custommod->execute(intval($mybb->input['action']), $tid); $lang->custom_tool = sprintf($lang->custom_tool, $tool['name']); log_moderator_action($modlogdata, $lang->custom_tool); if($ret == 'forum') { $lang->redirect_customtool_forum = sprintf($lang->redirect_customtool_forum, $tool['name']); redirect("forumdisplay.php?fid=$fid", $lang->redirect_customtool_forum); } else { $lang->redirect_customtool_thread = sprintf($lang->redirect_customtool_thread, $tool['name']); redirect("showthread.php?tid=$tid", $lang->redirect_customtool_thread); } break; } elseif($tool['type'] == 'p' && $mybb->input['modtype'] == 'inlinepost') { $pids = getids($tid, "thread"); if(count($pids) < 1) { error($lang->error_inline_nopostsselected); } $ret = $custommod->execute(intval($mybb->input['action']), $tid, $pids); $lang->custom_tool = sprintf($lang->custom_tool, $tool['name']); log_moderator_action($modlogdata, $lang->custom_tool); clearinline($tid, "thread"); if($ret == 'forum') { $lang->redirect_customtool_forum = sprintf($lang->redirect_customtool_forum, $tool['name']); redirect("forumdisplay.php?fid=$fid", $lang->redirect_customtool_forum); } else { $lang->redirect_customtool_thread = sprintf($lang->redirect_customtool_thread, $tool['name']); redirect("showthread.php?tid=$tid", $lang->redirect_customtool_thread); } break; } } error_no_permission(); break; } // Some little handy functions for our inline moderation function getids($id, $type) { global $_COOKIE; $cookie = "inlinemod_".$type.$id; $ids = explode("|", $_COOKIE[$cookie]); foreach($ids as $id) { if($id != '') { $newids[] = intval($id); } } return $newids; } function clearinline($id, $type) { my_unsetcookie("inlinemod_".$type.$id); } function extendinline($id, $type) { global $_COOKIE; setcookie("inlinemod_$type$id", '', time()+3600); } ?>
ما الحل
علما ان منتداي
http:/ibn-alrafdein.ch/vb