تحديث آخر نسخة 1.8.37

تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
مشكلة عند تثبيت اي مشاركة في المنتدى
#1
السلام عليكم
مشكلة تظهر عن تثبيت اي مشاركة انظروا

كود :
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
شكر من طرف :
#2
اعد رفع ملف moderation.php
وملف inc/class_moderation.php
شكر من طرف :
#3
تم يا حبيبي شكرا لم
شكر من طرف :


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 2 ) ضيف كريم