Mod Yapımcısı: Valodim
Orjinal Mod Sayfası: http://custom.simplemachines.org/mods/index.php?mod=708
Türkçesi: http://rapidshare.com/files/37222659/vMoveTopic_Notify_by_PM_0.90.zip.html
Ne İşe Yarar? : Bu modla taşıdığınız bir konuyu, konuyu açan kişiye otomatik bir özel mesajla bildirebilirsiniz.. Örneğin çalışmayan linklerin olduğu bir konu var ve siz bu konuyu Geri Dönüşüm Kutusuna taşıyacaksınız. Taşıma işlemini yaparken konuyu açana özel mesaj gönderip bu linkleri yenilemesini isteyebilirsiniz.. Bence çok kullanışlı ve faydalı..
Görünüm:
Manuel Kurulum:
aç
sources/MoveTopic.php
ara
öncesine ekle
ara
sonrasına ekle
ara
sonrasına ekle
aç
default/MoveTopic.template.php
ara
değiştir
aç
languages/index.turkish.php
ara
üstüne ekle
Orjinal Mod Sayfası: http://custom.simplemachines.org/mods/index.php?mod=708
Türkçesi: http://rapidshare.com/files/37222659/vMoveTopic_Notify_by_PM_0.90.zip.html
Ne İşe Yarar? : Bu modla taşıdığınız bir konuyu, konuyu açan kişiye otomatik bir özel mesajla bildirebilirsiniz.. Örneğin çalışmayan linklerin olduğu bir konu var ve siz bu konuyu Geri Dönüşüm Kutusuna taşıyacaksınız. Taşıma işlemini yaparken konuyu açana özel mesaj gönderip bu linkleri yenilemesini isteyebilirsiniz.. Bence çok kullanışlı ve faydalı..
Görünüm:
Manuel Kurulum:
aç
sources/MoveTopic.php
ara
Kod:
loadTemplate('MoveTopic');
öncesine ekle
Kod:
// May the user send pm notifies?
$context['allow_notify'] = !empty($ID_MEMBER) && $ID_MEMBER != $ID_MEMBER_STARTED;
ara
Kod:
global $db_prefix, $ID_MEMBER, $board, $language, $user_info, $func;
sonrasına ekle
Kod:
global $board_info;
ara
Kod:
createPost($msgOptions, $topicOptions, $posterOptions);
}
sonrasına ekle
Kod:
// Notify the member of their moved topic by pm.
if (isset($_POST['postNotify']) && !empty($ID_MEMBER_STARTED) && $ID_MEMBER != $ID_MEMBER_STARTED)
{
// Should be in the boardwide language.
if ($user_info['language'] != $language)
loadLanguage('index', $language);
// No need to preparse $_POST['notify'], sendpm will do that for us.
// Add a URL onto the message.
$_POST['notify'] = strtr($_POST['notify'], array(
$txt['movetopic_auto_board'] => '[url=' . $scripturl . '?board=' . $_POST['toboard'] . ']' . addslashes($board_name) . '[/url]',
$txt['movetopic_auto_topic'] => '[iurl]' . $scripturl . '?topic=' . $topic . '.0[/iurl]',
$txt['movetopic_auto_topic2'] => $subject,
$txt['movetopic_auto_prevboard'] => '[url=' . $scripturl . '?board=' . $board . ']' . addslashes($board_info['name']) . '[/url]',
));
$recipients = array(
'to' => array($ID_MEMBER_STARTED),
'bcc' => array(),
);
sendpm($recipients, addslashes($txt['movetopic_notify_subject'] . ': ' . $subject), $_POST['notify']);
}
aç
default/MoveTopic.template.php
ara
Kod:
</div>
<br />
değiştir
Kod:
</div>
<br />';
// PM Notification text.
if($context['allow_notify'])
echo '
<label for="postNotify"><input type="checkbox" name="postNotify" id="postNotify" checked="checked" onclick="document.getElementById(\'notifyArea\').style.display = this.checked ? \'block\' : \'none\';" class="check" /> ', $txt['moveTopic5'], '.</label><br />
<div id="notifyArea" style="margin-top: 1ex;">
', $txt['movetopic_notify_desc'], '<br />
<textarea name="notify" rows="5" cols="40">', $txt['movetopic_notify_default'], '</textarea><br />
</div>
<br />';
echo '
aç
languages/index.turkish.php
ara
Kod:
?>
üstüne ekle
Kod:
$txt['moveTopic5'] = 'Özel mesajla heber ver.';
$txt['movetopic_auto_prevboard'] = '[PREVBOARD]';
$txt['movetopic_auto_topic2'] = '[TOPIC]';
$txt['movetopic_notify_desc'] = 'Konuyu başlatana mesajınızı buraya yazınız.';
$txt['movetopic_notify_default'] = '[PREVBOARD] bölümünde oluşturduğunuz [TOPIC] isimli konu linkler çalışmadığı için [BOARD] bölümüne taşınmıştır. Lütfen aşağıdaki linkten taşınan konuya ulaşarak linkleri yenileyiniz ve yenilediğinize dair mesaj yazınız.' . ".\n\n" . '[TOPIC LINK]';
$txt['movetopic_notify_subject'] = 'Konuyu Taşı';