Teşekkürler Ahmet.
Biliyorsunuzki 1.2 serilerinden güncelleme yapmak için forumumuzun 1.2.14 olması gerekiyor . 1.2.14'ten direkt 1.4.1 'e sorunsuz geçiş yapabilmek içinse ;
===============
1. misc.php
===============
Bul:
--
$editor = htmlspecialchars($mybb->input['editor']);
--
Değiştir:
--
$editor = addslashes(htmlentities($mybb->input['editor']));
--
===============
2. inc/functions.php
===============
Bul:
--
return md5($mybb->config['hostname'].$mybb->config['username'].$mybb->config['password']);
--
Değiştir:
--
return md5($mybb->config['hostname'].$mybb->config['username'].md5($mybb->config['password']));
--
===============
4. moderation.php
===============
--
Bul:
--
$info .= "<strong>$lang->thread</strong> <a href=\"showthread.php?tid=".$modaction['tid']."\">".$modaction['tsubject']."</a><br />";
--
Değiştir:
--
$info .= "<strong>$lang->thread</strong> <a href=\"showthread.php?tid=".$modaction['tid']."\">".htmlspecialchars_uni($modaction['tsubject'])."</a><br />";
--
Bul:
--
$info .= "<strong>$lang->post</strong> <a href=\"showthread.php?tid=".$modaction['tid']."&pid=".$modaction['pid']."#pid".$modaction['pid']."\">".$modaction['psubject']."</a>";
--
Değiştir:
--
$info .= "<strong>$lang->post</strong> <a href=\"showthread.php?tid=".$modaction['tid']."&pid=".$modaction['pid']."#pid".$modaction['pid']."\">".htmlspecialchars_uni($modaction['psubject'])."</a>";
--
Bul:
--
$custommod->execute(intval($mybb->input['action']), $tids);
--
Önüne Ekle:
--
if(!is_moderator_by_tids($tids))
{
error_no_permission();
}
--
Bul:
--
$ret = $custommod->execute(intval($mybb->input['action']), $tid);
--
Önüne Ekle:
--
if(!is_moderator_by_tids($tid))
{
error_no_permission();
}Tamamdır