Iğdır Meslek Yüksekokulu
Mayıs 22, 2012, 10:31:58 ÖS *
Hoşgeldiniz, Ziyaretçi.Lütfen giriş yapın veya kayıt olun.
E-posta adresinize aktivasyon iletisi gelmediyse lütfen buraya tıklayın.

Kullanıcı adınızı, parolanızı ve aktif kalma süresini giriniz
Duyurular:
Sorunlar için admin@igdirmyo.com adresine email atabilirsiniz.
 
   Ana Sayfa   Yardım Ara Giriş Yap Kayıt  

Sayfa: [1]   Aşağı git
  Yazdır  
Gönderen Konu: Teşekkür modu manuel  (Okunma Sayısı 926 defa)
0 Üye ve 1 Ziyaretçi konuyu incelemekte.
ByResul
Hayal Gözlüm
Administrator
Atılgan öğrenci
*

Rep Sayısı: 93
Çevrimdışı Çevrimdışı

Cinsiyet: Bay
Mesaj Sayısı: 5152


resulargis@hotmail.com resulargis@hotmail.com
E-Posta
« : Mart 02, 2008, 11:38:34 ÖS »

forum/index.php'Yi Açıyoruz

Bul
Kod:

Kod:
        'sticky' => array('LockTopic.php', 'Sticky'),


Altına Ekle
Kod:
Kod:
        'thankyouadd' => array('ThankYou.php', 'thank_you_add'),
        'thankyoulist' => array('ThankYou.php', 'thank_you_list'),
        'thankyoulock' => array('ThankYou.php', 'thank_you_lock'),
        'thankyoupost' => array('ThankYou.php', 'thank_you_post'),
        'thankyouremove' => array('ThankYou.php', 'thank_you_remove'),

Sources/Display.php'Yi Açıyoruz

Bul
Kod:

Kod:
            t.numReplies, t.numViews, t.locked, ms.subject, t.isSticky, t.ID_POLL,


Değiştir
Kod:

Kod:
            t.numReplies, t.numViews, t.locked, ms.subject, t.isSticky, t.ID_POLL, t.thank_you,

Bul
Kod:
Kod:
    // Is this topic sticky, or can it even be?
    $topicinfo['isSticky'] = empty($modSettings['enableStickyTopics']) ? '0' : $topicinfo['isSticky'];


Değiştir
Kod:

Kod:
    // Is this topic sticky, or can it even be?
    $topicinfo['isSticky'] = empty($modSettings['enableStickyTopics']) ? '0' : $topicinfo['isSticky'];

    // Is this Thank You Topic?
    $context['isThankYou'] = empty($topicinfo['thank_you']) ? FALSE : allowedTo('thank_you_view') && ($topicinfo['thank_you'] == 1 || $topicinfo['thank_you'] == 2);
    $context['ThankYouLockStatus'] = empty($topicinfo['thank_you']) ? '1' : $topicinfo['thank_you'];

Bul
Kod:

Kod:
    $messages = array();
    $posters = array();
    while ($row = mysql_fetch_assoc($request))
    {
        if (!empty($row['ID_MEMBER']))
            $posters[] = $row['ID_MEMBER'];
        $messages[] = $row['ID_MSG'];
    }
    mysql_free_result($request);


Değiştir
Kod:
Kod:
    $messages = array();
    $posters = array();
    $first_msg_found = FALSE;
    while ($row = mysql_fetch_assoc($request))
    {
        if (!empty($row['ID_MEMBER']))
            $posters[] = $row['ID_MEMBER'];
        $messages[] = $row['ID_MSG'];

        //First Message in this list?
        if(!$first_msg_found)
            $first_msg_found = $context['topic_first_message'] == $row['ID_MSG'];
    }
    mysql_free_result($request);

    //Load The Thank You infomations :)
    require_once($sourcedir . '/ThankYou.php');
    //Okay This is not the First Page so i need only Settings;)

    if(!$first_msg_found || !$context['isThankYou']) {
        thank_you_loadPremission();
        $context['isThankYou'] = FALSE;
    }
    //Oh the First Page :) Nice here i must add this tiny little list or the link :)
    else
        $context['isThankYou'] = thank_you_list(FALSE);

Bul
Kod:
Kod:
    if (empty($options['view_newest_first']))
        $counter++;
    else
        $counter--;

    return $output;


Üstüne Ekle
Kod:

Kod:
    //I only add to the first post a Thank You List or the link (at the bottom of the post *grin*)
    if($counter == 0 && $context['isThankYou']) {
        $output['body'] .= doUBBC('
--------------------------------------------------------------------------------
', FALSE).'<font size="1"><span class="smalltext">'.$context['thank_you']['info'].'</span></font>';
    }

Sources/Load.php'Yi Açıyoruz

Bul
Kod:

Kod:
                b.ID_THEME, b.override_theme, b.permission_mode, b.countPosts


Değiştir
Kod:
Kod:
                b.thank_you_automatic,
                b.ID_THEME, b.override_theme, b.permission_mode, b.countPosts

Bul
Kod:
Kod:
                'name' => $row['bname'],
                'description' => $row['description'],


Değiştir
Kod:
Kod:
                'name' => $row['bname'],
                'description' => $row['description'],
                'thank_you_automatic' => !empty($row['thank_you_automatic']),

sources/ManageBoards.php'Yi Açıyoruz

Bul
Kod:

Kod:
            'count_posts' => 1,


Değiştir
Kod:
Kod:
            'count_posts' => 1,
            'thank_you_automatic' => 0,

Bul
Kod:

Kod:
        $boardOptions['posts_count'] = isset($_POST['count']);


Değiştir
Kod:
Kod:
        $boardOptions['posts_count'] = isset($_POST['count']);
        $boardOptions['thank_you_automatic'] = isset($_POST['thank_you']);

sources/ManagePermissions.php'Açıyoruz

Bul
Kod:

Kod:
            'member_admin' => array(
                'moderate_forum' => false,
                'manage_membergroups' => false,
                'manage_permissions' => false,
                'manage_bans' => false,
                'send_mail' => false,
            ),


Değiştir
Kod:
Kod:
            'member_admin' => array(
                'moderate_forum' => false,
                'manage_membergroups' => false,
                'manage_permissions' => false,
                'manage_bans' => false,
                'send_mail' => false,
            ),
            'thank_you' => array(
                'thank_you_view' => false,
                'thank_you_post' => false,
                'thank_you_add' => true,
                'thank_you_lock' => true,
                'thank_you_remove' => true,
            ),


Bul
Kod:
Kod:
        'mark_any_notify',
        'mark_notify',


Değiştir
Kod:
Kod:
        'thank_you_post',
        'thank_you_add',
        'thank_you_lock',
        'thank_you_remove',
        'mark_any_notify',
        'mark_notify',

sources/ModSettings.php'Yi Açıyoruz

Bul
Kod:
Kod:
            'layout' => array(
                'title' => $txt['mods_cat_layout'],
                'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
            ),


Değiştir
Kod:
Kod:
            'layout' => array(
                'title' => $txt['mods_cat_layout'],
                'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
            ),
            'ThankYou' => array(
                'title' => $txt['Thank_You_Headline'],
                'href' => $scripturl . '?action=featuresettings;sa=ThankYou;sesc=' . $context['session_id'],
            ),

Bul
Kod:

Kod:
        'layout' => 'ModifyLayoutSettings',


Değiştir
Kod:
Kod:
        'layout' => 'ModifyLayoutSettings',
        'ThankYou' => 'ModifyThankYouSettings',

Bul
Kod:

Kod:
    $context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=karma';
    $context['settings_title'] = $txt['smf293'];

    prepareDBSettingContext($config_vars);
}

Altına Ekle
Kod:

Kod:
function ModifyThankYouSettings()
{
    global $txt, $scripturl, $context, $settings, $sc;

    $config_vars = array(
            //Thank you User Settings?
            array('check', 'Thank_You_UserOrder'),
            array('check', 'Thank_You_MemberColor'),
            array('check', 'Thank_You_AddCounter'),
        '',
            //ThankYouList or not;)
            array('check', 'Thank_You_LinkListOnly'),
            array('check', 'Thank_You_AddLink'),
            array('int', 'Thank_You_UserPreview'),
        '',
            //HideMod
            array('check', 'Thank_You_ShowHidden'),
    );

    // Saving?
    if (isset($_GET['save']))
    {
        saveDBSettings($config_vars);
        redirectexit('action=featuresettings;sa=ThankYou');
    }

    $context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=ThankYou';
    $context['settings_title'] = $txt['Thank_You_Headline'];

    prepareDBSettingContext($config_vars);
}

sources/Post.php'Yi Açıyoruz
Bul
Kod:

Kod:
                t.locked, IFNULL(ln.ID_TOPIC, 0) AS notify, t.isSticky, t.ID_POLL, t.numReplies, mf.ID_MEMBER,


değiştir
Kod:

Kod:
                t.locked, IFNULL(ln.ID_TOPIC, 0) AS notify, t.isSticky, t.ID_POLL, t.numReplies, mf.ID_MEMBER, t.thank_you,



Bul
Kod:

Kod:
        list ($locked, $context['notify'], $sticky, $pollID, $context['num_replies'], $ID_MEMBER_POSTER, $ID_FIRST_MSG, $first_subject, $lastPostTime) = mysql_fetch_row($request);




Değiştir
Kod:

Kod:
        list ($locked, $context['notify'], $sticky, $pollID, $context['num_replies'], $ID_MEMBER_POSTER, $context['isThank_You'], $ID_FIRST_MSG, $first_subject, $lastPostTime) = mysql_fetch_row($request);




Bul
Kod:
Kod:
        $context['can_lock'] = allowedTo('lock_any') || ($ID_MEMBER == $ID_MEMBER_POSTER && allowedTo('lock_own'));
        $context['can_sticky'] = allowedTo('make_sticky') && !empty($modSettings['enableStickyTopics']);




değiştir
Kod:

Kod:
        $context['can_lock'] = allowedTo('lock_any') || ($ID_MEMBER == $ID_MEMBER_POSTER && allowedTo('lock_own'));
        $context['can_sticky'] = allowedTo('make_sticky') && !empty($modSettings['enableStickyTopics']);
        $context['can_Thank_you'] = allowedTo('thank_you_add_any') || ($ID_MEMBER == $ID_MEMBER_POSTER && allowedTo('thank_you_add_own'));
        $context['add_thank_you'] = !empty($_REQUEST['add_thank_you']);


Bul
Kod:

Kod:
        $locked = 0;
        // !!! These won't work if you're making an event.
        $context['can_lock'] = allowedTo(array('lock_any', 'lock_own'));
        $context['can_sticky'] = allowedTo('make_sticky') && !empty($modSettings['enableStickyTopics']);

        $context['notify'] = !empty($context['notify']);
        $context['sticky'] = !empty($_REQUEST['sticky']);


Değiştir
Kod:

Kod:
        $locked = 0;
        // !!! These won't work if you're making an event.
        $context['can_lock'] = allowedTo(array('lock_any', 'lock_own'));
        $context['can_sticky'] = allowedTo('make_sticky') && !empty($modSettings['enableStickyTopics']);
        $context['can_Thank_you'] = allowedTo(array('thank_you_add_any', 'thank_you_add_own'));

        $context['notify'] = !empty($context['notify']);
        $context['sticky'] = !empty($_REQUEST['sticky']);
        $context['add_thank_you'] = !empty($_REQUEST['add_thank_you']);

Bul
Kod:

Kod:
    $context['is_new_topic'] = empty($topic);


Değiştir
Kod:
Kod:
   $context['thank_you_automatic'] = empty($topic) && $board_info['thank_you_automatic'] && !isset($_REQUEST['preview']);
    $context['is_new_topic'] = empty($topic);

Bul
Kod:

Kod:
        $request = db_query("
            SELECT t.locked, t.isSticky, t.ID_POLL, t.numReplies, m.ID_MEMBER
            FROM ({$db_prefix}topics AS t, {$db_prefix}messages AS m)
            WHERE t.ID_TOPIC = $topic
                AND m.ID_MSG = t.ID_FIRST_MSG
            LIMIT 1", __FILE__, __LINE__);
        list ($tmplocked, $tmpstickied, $pollID, $numReplies, $ID_MEMBER_POSTER) = mysql_fetch_row($request);
        mysql_free_result($request);


Değiştir
Kod:

Kod:
        $request = db_query("
            SELECT t.locked, t.isSticky, t.ID_POLL, t.numReplies, m.ID_MEMBER, t.thank_you
            FROM ({$db_prefix}topics AS t, {$db_prefix}messages AS m)
            WHERE t.ID_TOPIC = $topic
                AND m.ID_MSG = t.ID_FIRST_MSG
            LIMIT 1", __FILE__, __LINE__);
        list ($tmplocked, $tmpstickied, $pollID, $numReplies, $ID_MEMBER_POSTER, $add_thank_you) = mysql_fetch_row($request);
        mysql_free_result($request);


Bul
Kod:
Kod:
         
if (isset($_POST['sticky']) && (empty($modSettings['enableStickyTopics']) || empty($_POST['sticky']) || !allowedTo('make_sticky')))
            unset($_POST['sticky']);




Değiştir
Kod:

Kod:
        if (isset($_POST['sticky']) && (empty($modSettings['enableStickyTopics']) || empty($_POST['sticky']) || !allowedTo('make_sticky')))
            unset($_POST['sticky']);
        //Add Thank You to the Topic?
        if (isset($_POST['add_thank_you']) && !allowedTo(array('thank_you_add_any', 'thank_you_add_own')))
            unset($_POST['add_thank_you']);

Bul
Kod:
Kod:
            SELECT
                m.ID_MEMBER, m.posterName, m.posterEmail, m.posterTime,

Değiştir
Kod:

           
Kod:
SELECT
                m.ID_MEMBER, m.posterName, m.posterEmail, m.posterTime, t.thank_you,

Bul
Kod:

Kod:
        // Change the sticky status of this topic?
        if (isset($_POST['sticky']) && (!allowedTo('make_sticky') || $_POST['sticky'] == $row['isSticky']))
            unset($_POST['sticky']);

        if ($row['ID_MEMBER'] == $ID_MEMBER && !allowedTo('modify_any'))


Değiştir
Kod:

Kod:
        // Change the sticky status of this topic?
        if (isset($_POST['sticky']) && (!allowedTo('make_sticky') || $_POST['sticky'] == $row['isSticky']))
            unset($_POST['sticky']);
        //Change the Thank YOu of the Topic?
        if (isset($_POST['add_thank_you']) && !empty($row['thank_you']) && !(allowedTo('thank_you_add_any') || ($ID_MEMBER == $ID_MEMBER_POSTER && allowedTo('thank_you_add_own'))))
            unset($_POST['add_thank_you']);

        if ($row['ID_MEMBER'] == $ID_MEMBER && !allowedTo('modify_any'))

Bul
Kod:

Kod:
         
'sticky_mode' => isset($_POST['sticky']) && !empty($modSettings['enableStickyTopics']) ? (int) $_POST['sticky'] : null,



Değiştir
Kod:

Kod:
       
'sticky_mode' => isset($_POST['sticky']) && !empty($modSettings['enableStickyTopics']) ? (int) $_POST['sticky'] : null,
        'thank_you_mode' => isset($_POST['add_thank_you']),



sources/Security.php'Yi Açıyoruz
Bul
Kod:

Kod:
            'poll_post',
            'poll_add_own', 'poll_add_any',
            'poll_edit_own', 'poll_edit_any',
            'poll_lock_own', 'poll_lock_any',
            'poll_remove_own', 'poll_remove_any',


Değiştir
Kod:
Kod:
            'poll_post',
            'poll_add_own', 'poll_add_any',
            'poll_edit_own', 'poll_edit_any',
            'poll_lock_own', 'poll_lock_any',
            'poll_remove_own', 'poll_remove_any',
            'thank_you_post',
            'thank_you_add_own', 'thank_you_add_any',
            'thank_you_lock_own', 'thank_you_lock_any',
            'thank_you_remove_own', 'thank_you_remove_any',

sources/Subs-Boards.php'Yi Açıyoruz
Bul
Kod:
Kod:
    if (isset($boardOptions['posts_count']))
        $boardUpdates[] = 'countPosts = ' . ($boardOptions['posts_count'] ? '0' : '1');


Değiştir
Kod:
Kod:
    if (isset($boardOptions['posts_count']))
        $boardUpdates[] = 'countPosts = ' . ($boardOptions['posts_count'] ? '0' : '1');

    // Okay Automatic Thank you?
    if (isset($boardOptions['thank_you_automatic']))
        $boardUpdates[] = 'thank_you_automatic = ' . ($boardOptions['thank_you_automatic'] ? '1' : '0');

Bul
Kod:

Kod:
            b.boardOrder, b.countPosts, b.memberGroups, b.ID_THEME, b.override_theme,


Değiştir
Kod:

Kod:
            b.boardOrder, b.countPosts, b.memberGroups, b.ID_THEME, b.override_theme,
            b.thank_you_automatic,

Bul
Kod:

Kod:
                'description' => $row['description'],
                'count_posts' => empty($row['countPosts']),


Değiştir
Kod:

Kod:
                'description' => $row['description'],
                'count_posts' => empty($row['countPosts']),
                'thank_you_automatic' => !empty($row['thank_you_automatic']),

sources/Subs-Post.php'Yi Açıyoruz
Bul
Kod:

Kod:
    $msgOptions['attachments'] = empty($msgOptions['attachments']) ? array() : $msgOptions['attachments'];
    $topicOptions['id'] = empty($topicOptions['id']) ? 0 : (int) $topicOptions['id'];
    $topicOptions['poll'] = isset($topicOptions['poll']) ? (int) $topicOptions['poll'] : null;
    $topicOptions['lock_mode'] = isset($topicOptions['lock_mode']) ?  $topicOptions['lock_mode'] : null;
    $topicOptions['sticky_mode'] = isset($topicOptions['sticky_mode']) ? $topicOptions['sticky_mode'] : null;


Altına Ekle
Kod:

Kod:
    $topicOptions['thank_you_mode'] = isset($topicOptions['thank_you_mode']) ? $topicOptions['thank_you_mode'] : FALSE;

Bul
Kod:
Kod:
    // Creating is modifying...in a way.
    db_query("
        UPDATE {$db_prefix}messages
        SET ID_MSG_MODIFIED = $msgOptions[id]
        WHERE ID_MSG = $msgOptions[id]", __FILE__, __LINE__);


Değiştir
Kod:
Kod:
    //Correct the thank you if set :)
    if(!empty($topicOptions['id']) && $topicOptions['thank_you_mode']) {
        global $sourcedir;
        include_once($sourcedir.'/ThankYou.php');
        thank_you_addfast($topicOptions['id']);
    }

    // Creating is modifying...in a way.
    db_query("
        UPDATE {$db_prefix}messages
        SET ID_MSG_MODIFIED = $msgOptions[id]
        WHERE ID_MSG = $msgOptions[id]", __FILE__, __LINE__);

Bul
Kod:
Kod:
    $topicOptions['poll'] = isset($topicOptions['poll']) ? (int) $topicOptions['poll'] : null;
    $topicOptions['lock_mode'] = isset($topicOptions['lock_mode']) ? $topicOptions['lock_mode'] : null;
    $topicOptions['sticky_mode'] = isset($topicOptions['sticky_mode']) ? $topicOptions['sticky_mode'] : null;

    // This is longer than it has to be, but makes it so we only set/change what we have to.


Değiştir
Kod:
Kod:
    $topicOptions['poll'] = isset($topicOptions['poll']) ? (int) $topicOptions['poll'] : null;
    $topicOptions['lock_mode'] = isset($topicOptions['lock_mode']) ? $topicOptions['lock_mode'] : null;
    $topicOptions['sticky_mode'] = isset($topicOptions['sticky_mode']) ? $topicOptions['sticky_mode'] : null;
    $topicOptions['thank_you_mode'] = isset($topicOptions['thank_you_mode']) ? $topicOptions['thank_you_mode'] : FALSE;

    // This is longer than it has to be, but makes it so we only set/change what we have to.

Bul
Kod:

Kod:
    if ($topicOptions['sticky_mode'] !== null || $topicOptions['lock_mode'] !== null || $topicOptions['poll'] !== null)
    {
        db_query("
            UPDATE {$db_prefix}topics
            SET
                isSticky = " . ($topicOptions['sticky_mode'] === null ? 'isSticky' : $topicOptions['sticky_mode']) . ",
                locked = " . ($topicOptions['lock_mode'] === null ? 'locked' : $topicOptions['lock_mode']) . ",
                ID_POLL = " . ($topicOptions['poll'] === null ? 'ID_POLL' : $topicOptions['poll']) . "
            WHERE ID_TOPIC = $topicOptions[id]
            LIMIT 1", __FILE__, __LINE__);
    }


değiştir
Kod:
Kod:
    if ($topicOptions['sticky_mode'] !== null || $topicOptions['lock_mode'] !== null || $topicOptions['poll'] !== null || $topicOptions['thank_you_mode'])
    {
        db_query("
            UPDATE {$db_prefix}topics
            SET
                isSticky = " . ($topicOptions['sticky_mode'] === null ? 'isSticky' : $topicOptions['sticky_mode']) . ",
                locked = " . ($topicOptions['lock_mode'] === null ? 'locked' : $topicOptions['lock_mode']) . ",
                ID_POLL = " . ($topicOptions['poll'] === null ? 'ID_POLL' : $topicOptions['poll']) . ",
                thank_you = " . ($topicOptions['thank_you_mode'] === FALSE ? 'thank_you' : '1') . "
            WHERE ID_TOPIC = $topicOptions[id]
            LIMIT 1", __FILE__, __LINE__);
    }

languages/index.turkish.php'Yi Açıyoruz
Bul
Kod:

Kod:
?>


Üstüne Ekle
Kod:

Kod:
$txt['d_thank_you_lock1'] = 'Bu konuyu teşekküre kapat';
$txt['d_thank_you_lock2'] = 'Bu konuyu teşekküre aç';
$txt['d_thank_you_remove'] = 'Bu konudan teşekkürleri sil';
$txt['d_thank_you_remove_warn'] = 'Buradaki tüm teşekkürleri silmek istediğinizden emin misiniz?';
$txt['d_thank_you_post'] = 'Aşağıdaki listedeki kullanıcılar bu konu için teşekkür ediyorlar!';
$txt['d_thank_you_add'] = 'Bu konuyu teşekküre aç';
$txt['d_thank_you'] = 'Bu konuya teşekkür et';

languages/ManagePermissions.turkish.php'Yi Açıyoruz
Bul
Kod:

?>

Üstüne Ekle
Kod:

Kod:
$txt['permissiongroup_thank_you'] = 'Teşekkür Modu';
$txt['permissionname_thank_you_view'] = 'Teşekkür listesini görüntüleyebilir';
$txt['permissionhelp_thank_you_view'] = 'Bu izini açarsanız kullanıcılar bir konuya teşekkür edenlerin listesini görebilecekler.';
$txt['permissionname_thank_you_post'] = 'Konulara teşekkür edebilir';
$txt['permissionhelp_thank_you_post'] = 'Bu izini aktifleştirirseniz bu kullanıcı grubu konulara teşekkür edebilirler';
$txt['permissionname_thank_you_add'] = 'Konuları teşekküre açabilir';
$txt['permissionhelp_thank_you_add'] = 'Bu izini açarsanız bu kullanıcı grubu konulara teşekkür edilmesi için teşekkür listesini açabilir.';
$txt['permissionname_thank_you_add_own'] = 'Kendi konularını';
$txt['permissionname_thank_you_add_any'] = 'Herhangi bir konuyu';
$txt['permissionname_thank_you_lock'] = 'Teşekkür listesini kilitleyebilir';
$txt['permissionhelp_thank_you_lock'] = 'Bu izini verirseniz bu kullanıcı grubu bir konudaki teşekkür listesini kilitleyebilir. Artık o konuya kimse teşekkür edemez.';
$txt['permissionname_thank_you_lock_own'] = 'Kendi teşekkürlü konusunu';
$txt['permissionname_thank_you_lock_any'] = 'Herhangi teşekkürlü bir konuyu';
$txt['permissionname_thank_you_remove'] = 'Teşekkürleri silebilir';
$txt['permissionhelp_thank_you_remove'] = 'Bu izini açarsanız bu kullanıcı grubu bir konudaki teşekkürleri silebilir.';
$txt['permissionname_thank_you_remove_own'] = 'Kendi teşekkürünü';
$txt['permissionname_thank_you_remove_any'] = 'Herhangi bir teşekkürü';


languages/ModSettings.turkish.php'Yi Açıyoruz
Bul
Kod:

Kod:
?>


Üstüne Ekle
Kod:

Kod:
$txt['Thank_You_Headline'] = 'Teşekkür Modu';
$txt['Thank_You_MemberColor'] = 'Teşekkür listesindeki üyelerin isimlerini renkli göster';
$txt['Thank_You_UserPreview'] = 'Teşekkür listesindeki gösterilecek kullanıcı sayısı<br /><font size=1>(<b>0 = tamamını göster</b>)</font>';
$txt['Thank_You_LinkListOnly'] = 'Teşekkür listesini konudan ayrı göster, konuya liste için link bırak';
$txt['Thank_You_UserOrder'] = 'Son teşekkür edeni teşekkür listesinde ilk pozisyonda göster (normalde sonda gösterir)';
$txt['Thank_You_AddLink'] = 'Teşekkür listesinin sonuna her defasında link ekle';
$txt['Thank_You_AddCounter'] = 'Teşekkür listesindeki kullanıcı isimlerinin yanına kaçıncı teşekkür olduklarını yaz';
$txt['Thank_You_ShowHidden'] = 'Kullanıcı bir konuya teşekkür ettiğinde o konudaki gizli içeriği aç<br /><font size=1><a href="http://mods.simplemachines.org/index.php?mod=118">(Hide Mod Special kurulu olmalı)</a></font>';

languages/ManageBoards.turkish.php'Yi Açıyoruz
Bul
Kod:

Kod:
?>


Üstüne Ekle
Kod:
Kod:
$txt['mboards_thank_you_automatic'] = 'Bu kategorideki konular otomatik olarak teşekk&#uuml;re açık olsun.';
$txt['mboards_thank_you_automatic_desc'] = 'Bunu aktifleştirirseniz, bu bölümde aç#305;lan her konu otomatik olarak teşekkür

languages/Post.turkish.php'Yi Açıyoruz
Bul
Kod:

Kod:
?>


Üstüne Ekle
Kod:
Kod:
$txt['thank_you_after2'] = 'Bu konuyu teşekküre aç';

themes/Display.template.php'Yi Açıyoruz
Bul
Kod:

Kod:
    $split_button = create_button('split.gif', 'smf251', 'smf251', 'align="middle"');


Altına Ekle
Kod:
Kod:
    //Creat Thank You Buttons :)
    if (isset($context['thank_you']['premission'])) {
        if ($context['thank_you']['premission']['post'])
            $thanks_button = create_button('thank_you_b.gif', 'd_thank_you_post', 'd_thank_you', 'align="middle"');
        elseif ($context['thank_you']['premission']['add'])
            $thanks_button = create_button('thank_you_b.gif', 'd_thank_you_add', 'd_thank_you_add', 'align="middle"');
    }


Bul
Kod:
Kod:
        if ($context['can_split'])
            echo '
                    <a href="', $scripturl, '?action=splittopics;topic=', $context['current_topic'], '.0;at=', $message['id'], '">', $split_button, '</a>';


Altına Ekle
Kod:

Kod:
        //Add Thnak You Buttons :)
        if (isset($context['thank_you']['premission'])) {
            if ($context['thank_you']['premission']['post'])
                echo '<a href="' . $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0">' . $thanks_button . '</a>';
            elseif ($context['thank_you']['premission']['add'])
                echo '<a href="' . $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0">' . $thanks_button . '</a>';
        }

Bul
Kod:

Kod:
   
if ($context['can_remove_post'] && !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1)
        $mod_buttons[] = array('text' => 'quickmod_delete_selected', 'image' => 'delete_selected.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['quickmod_confirm'] . '\');" id="quickmodSubmit"', 'url' => 'java script:document.quickModForm.submit();');




Üstüne Ekle
Kod:

Kod:
    if (isset($context['thank_you']['premission']))
        $mod_buttons += array(
            'lock_thank_you' => array('test' => 'thank_you_lock', 'text' => 'd_thank_you_lock'.$context['ThankYouLockStatus'], 'image' => 'thank_you_lock'.$context['ThankYouLockStatus'].'.gif', 'lang' => true, 'custom' => '', 'url' => $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0'),
            'remove_thank_you' => array('test' => 'thank_you_delete', 'text' => 'd_thank_you_remove', 'image' => 'thank_you_delete.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['d_thank_you_remove_warn'] . '\');"', 'url' => $scripturl . '?action=thankyouremove;topic=' . $context['current_topic'] . '.0'),
        );

themes/ManageBoards.template.php'Yi Açıyoruz
Bul
Kod:
Kod:
                                <td valign="top" align="right">
                                    <input type="checkbox" name="count" ', $context['board']['count_posts'] ? ' checked="checked"' : '', ' class="check" />
                                </td>
                            </tr>';


Altına Ekle
Kod:
Kod:
    // Here is the New Thank You Option for the Board Premissions
    echo '
                            <tr>
                                <td>
                                    <b>', $txt['mboards_thank_you_automatic'], '</b><br />
                                    ', $txt['mboards_thank_you_automatic_desc'], '<br /><br />
                                </td>
                                <td valign="top" align="right">
                                    <input type="checkbox" name="thank_you" ', $context['board']['thank_you_automatic'] ? ' checked="checked"' : '', ' class="check" />
                                </td>
                            </tr>';

themes/Post.template.php'Yi Açıyoruz
Bul
Kod:

Kod:
                                                    <tr>
                                                        <td class="smalltext"><label for="check_smileys"><input type="checkbox" name="ns" id="check_smileys"', $context['use_smileys'] ? '' : ' checked="checked"', ' value="NS" class="check" /> ', $txt[277], '</label></td>', '
                                                        <td class="smalltext">', $context['can_move'] ? '<input type="hidden" name="move" value="0" /><label for="check_move"><input type="checkbox" name="move" id="check_move" value="1" class="check" /> ' . $txt['move_after2'] . '</label>' : '', '</td>
                                                    </tr>', $context['can_announce'] && $context['is_first_post'] ? '
                                                    <tr>
                                                        <td class="smalltext"><label for="check_announce"><input type="checkbox" name="announce_topic" id="check_announce" value="1" class="check" /> ' . $txt['announce_topic'] . '</label></td>
                                                        <td class="smalltext"></td>
                                                    </tr>' : '', '


Altına Ekle
Kod:
Kod:
                                                    ', $context['can_Thank_you'] && empty($context['isThank_You']) ? '
                                                    <tr>
                                                        <td class="smalltext"><label for="check_thank_you"><input type="checkbox" name="add_thank_you" id="add_thank_you"' . ($context['add_thank_you'] || $context['thank_you_automatic'] ? ' checked="checked"' : '') . ' value="1" class="check" /> '.$txt['thank_you_after2'].'</label></td>
                                                        <td class="smalltext"></td>
                                                    </tr>' : '', '

Ve Son Olarakta Ekteki Dosyayı İndir Klasore Çıkar
thank_you.gif'i Kullandığın Tema/images/english
thank_you_b.gif'i Kulllandığın Tema/images/buttons
thank_you_lock2.gif
thank_you_lock1.gif
thank_you_delete.gif
thank_you_add.gif Kullanıdığın Tema/images/english İçine At
ThankYou.php" sources'in İçine
ThankYou.template.php"Kullandığın Temanın İçine
ThankYou.english.php" Themes/default/languagesin' İçine
http://dosyam.net/?id=7ia45k
Kayıtlı

Logged
Emekli_
Emekli
Atılgan öğrenci
*

Rep Sayısı: 116
Çevrimdışı Çevrimdışı

Cinsiyet: Bay
Mesaj Sayısı: 2300


Yaz

;) ;)
Site
« Yanıtla #1 : Mart 03, 2008, 10:11:29 ÖS »

Direk bunu yükleyerek yapamaz mıyız ?

Bu kadar kim uğraşacak
Kayıtlı

Kendini hayallerin ile sınırlandırma bırak..
YaLNiZKRaL
<- BeYNaVa GeDe :) ->
Administrator
Atılgan öğrenci
*

Rep Sayısı: 287
Çevrimdışı Çevrimdışı

Cinsiyet: Bay
Mesaj Sayısı: 9534


yalnizkral_760@hotmail.com :( :(
E-Posta
« Yanıtla #2 : Mart 03, 2008, 10:14:17 ÖS »

dayı walla sen daha ıyı bılırsın bu konuları ama smf oldumu bbole bırsuru sorunu var bu ve bunun gıbı bazı mmodların paket kurulumu yok sanırımm kesın konusmayayımm ama genede arastırayım ben olursa eklerımm  wink15
Kayıtlı

ByResul
Hayal Gözlüm
Administrator
Atılgan öğrenci
*

Rep Sayısı: 93
Çevrimdışı Çevrimdışı

Cinsiyet: Bay
Mesaj Sayısı: 5152


resulargis@hotmail.com resulargis@hotmail.com
E-Posta
« Yanıtla #3 : Mart 03, 2008, 10:16:49 ÖS »

Direk bunu yükleyerek yapamaz mıyız ?

Bu kadar kim uğraşacak

Yapabiliriz ama forumda hata oluştuğu zaman hangi dosyada olduğunu bulmak zor oluyor.O yüzden manüel kurmak en iyisi derim
Kayıtlı

Emekli_
Emekli
Atılgan öğrenci
*

Rep Sayısı: 116
Çevrimdışı Çevrimdışı

Cinsiyet: Bay
Mesaj Sayısı: 2300


Yaz

;) ;)
Site
« Yanıtla #4 : Mart 03, 2008, 10:21:27 ÖS »

Direk bunu yükleyerek yapamaz mıyız ?

Bu kadar kim uğraşacak

Yapabiliriz ama forumda hata oluştuğu zaman hangi dosyada olduğunu bulmak zor oluyor.O yüzden manüel kurmak en iyisi derim

Ben biliom nasıl olacağını, içini açıp elle düzeltiyorum.

Link verirsen yaparım
Kayıtlı

Kendini hayallerin ile sınırlandırma bırak..
ByResul
Hayal Gözlüm
Administrator
Atılgan öğrenci
*

Rep Sayısı: 93
Çevrimdışı Çevrimdışı

Cinsiyet: Bay
Mesaj Sayısı: 5152


resulargis@hotmail.com resulargis@hotmail.com
E-Posta
« Yanıtla #5 : Mart 03, 2008, 10:33:55 ÖS »

Buyur volkan abi

http://custom.simplemachines.org/mods/index.php?mod=257
Kayıtlı

Emekli_
Emekli
Atılgan öğrenci
*

Rep Sayısı: 116
Çevrimdışı Çevrimdışı

Cinsiyet: Bay
Mesaj Sayısı: 2300


Yaz

;) ;)
Site
« Yanıtla #6 : Mart 03, 2008, 11:44:53 ÖS »

Daha önce birisi foruma bunu eklemeyi denemiş sorun çıkarmış. O nedenle şimdi uğraşmak gerek...
Kayıtlı

Kendini hayallerin ile sınırlandırma bırak..
Emekli_
Emekli
Atılgan öğrenci
*

Rep Sayısı: 116
Çevrimdışı Çevrimdışı

Cinsiyet: Bay
Mesaj Sayısı: 2300


Yaz

;) ;)
Site
« Yanıtla #7 : Mart 03, 2008, 11:56:36 ÖS »

Daha önce birisi foruma bunu eklemeyi denemiş sorun çıkarmış. O nedenle şimdi uğraşmak gerek...

En iyisi hiç ellememek
Kayıtlı

Kendini hayallerin ile sınırlandırma bırak..
Emre-X
--->MaXiLoRd<---
Genel Moderator
Atılgan öğrenci
****

Rep Sayısı: 35
Çevrimdışı Çevrimdışı

Cinsiyet: Bay
Mesaj Sayısı: 1168



Site
« Yanıtla #8 : Nisan 26, 2008, 12:42:09 ÖS »

abi olsa ei olurdu ama madem sorun olacak çıkarmayın
Kayıtlı

уαηıηα gєℓє¢єğιм вιя єℓιм∂є güℓ вιя єℓιм∂є ѕιℓαн уα güℓü αℓıρ вєηιм σℓυяѕυη уα ѕιℓαнı αℓıρ вєηι νυяυяѕυη
www.meydan.forumm.biz
Sayfa: [1]   Yukarı git
  Yazdır  
 
Gitmek istediğiniz yer:  

MySQL Kullanıyor PHP Kullanıyor Powered by SMF 1.1.15 | SMF © 2006-2009, Simple Machines XHTML 1.0 Uyumlu! CSS Uyumlu!
Bu Sayfa 0.082 Saniyede 21 Sorgu ile Oluşturuldu