SMF Tesekkur Modu Manuel

Son güncelleme: 28.09.2009 10:39
  • RuHSuZ 'dan alintidir

    forum/index.php'Yi Açıyoruz

    Bul
    'sticky' => array('LockTopic.php[/swf2][swf3]Sticky'),
    Altına Ekle
    'thankyouadd' => array('ThankYou.php[/swf2][swf3]thank_you_add'),
    'thankyoulist' => array('ThankYou.php[/swf2][swf3]thank_you_list'),
    'thankyoulock' => array('ThankYou.php[/swf2][swf3]thank_you_lock'),
    'thankyoupost' => array('ThankYou.php[/swf2][swf3]thank_you_post'),
    'thankyouremove' => array('ThankYou.php[/swf2][swf3]thank_you_remove'),

    Sources/Display.php'Yi Açıyoruz

    Bul
    t.numReplies, t.numViews, t.locked, ms.subject, t.isSticky, t.ID_POLL,
    Değiştir
    t.numReplies, t.numViews, t.locked, ms.subject, t.isSticky, t.ID_POLL, t.thank_you,

    Bul
    // Is this topic sticky, or can it even be?
    $topicinfo['isSticky'] = empty($modSettings['enableStickyTopics']) ? '0' : $topicinfo['isSticky'];
    Değiştir
    // 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
    $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
    $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
    if (empty($options['view_newest_first']))
    $counter++;
    else
    $counter--;

    return $output;
    Üstüne Ekle
    //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('[hr]', FALSE).'<font size="1"><span class="smalltext">'.$context['thank_you']['info'].'</span></font>';
    }


    Sources/Load.php'Yi Açıyoruz

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

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

    sources/ManageBoards.php'Yi Açıyoruz

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

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

    sources/ManagePermissions.php'Açıyoruz

    Bul
    'member_admin' => array(
    'moderate_forum' => false,
    'manage_membergroups' => false,
    'manage_permissions' => false,
    'manage_bans' => false,
    'send_mail' => false,
    ),
    Değiştir
    '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
    'mark_any_notify',
    'mark_notify',
    Değiştir
    'thank_you_post',
    'thank_you_add',
    'thank_you_lock',
    'thank_you_remove',
    'mark_any_notify',
    'mark_notify',

    sources/ModSettings.php'Yi Açıyoruz

    Bul
    'layout' => array(
    'title' => $txt['mods_cat_layout'],
    'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
    ),
    Değiştir
    '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
    'layout' => 'ModifyLayoutSettings',
    Değiştir
    'layout' => 'ModifyLayoutSettings',
    'ThankYou' => 'ModifyThankYouSettings',

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

    prepareDBSettingContext($config_vars);
    }
    Altına Ekle
    function ModifyThankYouSettings()
    {
    global $txt, $scripturl, $context, $settings, $sc;

    $config_vars = array(
    //Thank you User Settings?
    array('check[/swf2][swf3]Thank_You_UserOrder'),
    array('check[/swf2][swf3]Thank_You_MemberColor'),
    array('check[/swf2][swf3]Thank_You_AddCounter'),
    '',
    //ThankYouList or not ;)
    array('check[/swf2][swf3]Thank_You_LinkListOnly'),
    array('check[/swf2][swf3]Thank_You_AddLink'),
    array('int[/swf2][swf3]Thank_You_UserPreview'),
    '',
    //HideMod
    array('check[/swf2][swf3]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
    t.locked, IFNULL(ln.ID_TOPIC, 0) AS notify, t.isSticky, t.ID_POLL, t.numReplies, mf.ID_MEMBER,
    değiştir
    t.locked, IFNULL(ln.ID_TOPIC, 0) AS notify, t.isSticky, t.ID_POLL, t.numReplies, mf.ID_MEMBER, t.thank_you,

    Bul
    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
    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
    $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
    $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
    $locked = 0;
    // !!! These won't work if you're making an event.
    $context['can_lock'] = allowedTo(array('lock_any[/swf2][swf3]lock_own'));
    $context['can_sticky'] = allowedTo('make_sticky') && !empty($modSettings['enableStickyTopics']);

    $context['notify'] = !empty($context['notify']);
    $context['sticky'] = !empty($_REQUEST['sticky']);
    Değiştir
    $locked = 0;
    // !!! These won't work if you're making an event.
    $context['can_lock'] = allowedTo(array('lock_any[/swf2][swf3]lock_own'));
    $context['can_sticky'] = allowedTo('make_sticky') && !empty($modSettings['enableStickyTopics']);
    $context['can_Thank_you'] = allowedTo(array('thank_you_add_any[/swf2][swf3]thank_you_add_own'));

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

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


    Bul
    $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
    $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
    if (isset($_POST['sticky']) && (empty($modSettings['enableStickyTopics']) || empty($_POST['sticky']) || !allowedTo('make_sticky')))
    unset($_POST['sticky']);
    Değiştir
    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[/swf2][swf3]thank_you_add_own')))
    unset($_POST['add_thank_you']);

    Bul
    SELECT
    m.ID_MEMBER, m.posterName, m.posterEmail, m.posterTime,
    Değiştir
    SELECT
    m.ID_MEMBER, m.posterName, m.posterEmail, m.posterTime, t.thank_you,

    Bul
    // 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
    // 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
    'sticky_mode' => isset($_POST['sticky']) && !empty($modSettings['enableStickyTopics']) ? (int) $_POST['sticky'] : null,
    Değiştir
    '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
    'poll_post',
    'poll_add_own[/swf2][swf3]poll_add_any',
    'poll_edit_own[/swf2][swf3]poll_edit_any',
    'poll_lock_own[/swf2][swf3]poll_lock_any',
    'poll_remove_own[/swf2][swf3]poll_remove_any',
    Değiştir
    'poll_post',
    'poll_add_own[/swf2][swf3]poll_add_any',
    'poll_edit_own[/swf2][swf3]poll_edit_any',
    'poll_lock_own[/swf2][swf3]poll_lock_any',
    'poll_remove_own[/swf2][swf3]poll_remove_any',
    'thank_you_post',
    'thank_you_add_own[/swf2][swf3]thank_you_add_any',
    'thank_you_lock_own[/swf2][swf3]thank_you_lock_any',
    'thank_you_remove_own[/swf2][swf3]thank_you_remove_any',

    sources/Subs-Boards.php'Yi Açıyoruz
    Bul
    if (isset($boardOptions['posts_count']))
    $boardUpdates[] = 'countPosts = ' . ($boardOptions['posts_count'] ? '0' : '1');
    Değiştir
    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
    b.boardOrder, b.countPosts, b.memberGroups, b.ID_THEME, b.override_theme,
    Değiştir
    b.boardOrder, b.countPosts, b.memberGroups, b.ID_THEME, b.override_theme,
    b.thank_you_automatic,

    Bul
    'description' => $row['description'],
    'count_posts' => empty($row['countPosts']),
    Değiştir
    'description' => $row['description'],
    'count_posts' => empty($row['countPosts']),
    'thank_you_automatic' => !empty($row['thank_you_automatic']),

    sources/Subs-Post.php'Yi Açıyoruz
    Bul
    $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
    $topicOptions['thank_you_mode'] = isset($topicOptions['thank_you_mode']) ? $topicOptions['thank_you_mode'] : FALSE;

    Bul
    // 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
    //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
    $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
    $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
    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
    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
    ?>
    Üstüne Ekle
    $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
    ?>
    Üstüne Ekle
    $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
    ?>
    Üstüne Ekle
    $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
    ?>
    Üstüne Ekle
    $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
    ?>
    Üstüne Ekle
    $txt['thank_you_after2'] = 'Bu konuyu teşekküre aç';

    themes/Display.template.php'Yi Açıyoruz
    Bul
    $split_button = create_button('split.gif[/swf2][swf3]smf251[/swf2][swf3]smf251[/swf2][swf3]align="middle"');
    Altına Ekle
    //Creat Thank You Buttons :)
    if (isset($context['thank_you']['premission'])) {
    if ($context['thank_you']['premission']['post'])
    $thanks_button = create_button('thank_you_b.gif[/swf2][swf3]d_thank_you_post[/swf2][swf3]d_thank_you[/swf2][swf3]align="middle"');
    elseif ($context['thank_you']['premission']['add'])
    $thanks_button = create_button('thank_you_b.gif[/swf2][swf3]d_thank_you_add[/swf2][swf3]d_thank_you_add[/swf2][swf3]align="middle"');
    }
    Bul
    if ($context['can_split'])
    echo '
    <a href="', $scripturl, '?action=splittopics;topic=', $context['current_topic'], '.0;at=', $message['id'], '">', $split_button, '</a>';
    Altına Ekle
    //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
    if ($context['can_remove_post'] && !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1)
    $mod_buttons[] = array('text' => 'quickmod_delete_selected[/swf2][swf3]image' => 'delete_selected.gif[/swf2][swf3]lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['quickmod_confirm'] . '\');" id="quickmodSubmit"[/swf2][swf3]url' => 'javascript:document.quickModForm.submit();');
    Üstüne Ekle
    if (isset($context['thank_you']['premission']))
    $mod_buttons += array(
    'lock_thank_you' => array('test' => 'thank_you_lock[/swf2][swf3]text' => 'd_thank_you_lock'.$context['ThankYouLockStatus'], 'image' => 'thank_you_lock'.$context['ThankYouLockStatus'].'.gif[/swf2][swf3]lang' => true, 'custom' => '[/swf2][swf3]url' => $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0'),
    'remove_thank_you' => array('test' => 'thank_you_delete[/swf2][swf3]text' => 'd_thank_you_remove[/swf2][swf3]image' => 'thank_you_delete.gif[/swf2][swf3]lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['d_thank_you_remove_warn'] . '\');"[/swf2][swf3]url' => $scripturl . '?action=thankyouremove;topic=' . $context['current_topic'] . '.0'),
    );

    themes/ManageBoards.template.php'Yi Açıyoruz
    Bul
    <td valign="top" align="right">
    <input type="checkbox" name="count" ', $context['board']['count_posts'] ? ' checked="checked"' : '[/swf2][swf3] class="check" />
    </td>
    </tr>';
    Altına Ekle
    // 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"' : '[/swf2][swf3] class="check" />
    </td>
    </tr>';

    themes/Post.template.php'Yi Açıyoruz
    Bul
    <tr>
    <td class="smalltext"><label for="check_smileys"><input type="checkbox" name="ns" id="check_smileys"', $context['use_smileys'] ? '' : ' checked="checked"[/swf2][swf3] value="NS" class="check" /> ', $txt[277], '</label></td>[/swf2][swf3]
    <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>' : '[/swf2][swf3]</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>' : '[/swf2][swf3]
    Altına Ekle
    ', $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>' : '[/swf2][swf3]

    Ve Son Olarakta Linkdekii Dosyayı İndir Klasore Çıkar
    TesekKur.php" sources'in İçine
    TesekKur.template.php"Kullandığın Temanın İçine
    TesekKur.turkish.php" Themes/default/languagesin' İçine


    http://rapidshare.com/files/92455022/index.zip.html
#18.01.2008 03:15 0 0 0
  • link olmus bi goz atarmisiniz
#11.02.2008 01:20 0 0 0
#11.02.2008 11:50 0 0 0
  • dosya bozuk bi yenileseniz
#16.02.2008 20:07 0 0 0
  • @ezay adlı üyeden alıntı:
    dosya bozuk bi yenileseniz
    Orijinali Göster...


    Dosya yenilendi . Teşekkür butonu bulamadım . ONları kendiniz araştırıp images klasörünü koyabilirisniz.
#16.02.2008 23:31 0 0 0
  • teşekkür ederim sağol.
#16.02.2008 23:34 0 0 0
#17.02.2008 01:07 0 0 0
  • bakalım bi deneyelim
#27.04.2008 13:22 0 0 0
  • Yaw bu kadar ekleme isini gorunce gozum korktu yemin ederim :D sagol tskler ben yapmiycam ama yine de paylasmissin tsk ederim :)
#07.06.2008 00:59 0 0 0
  • yok abicim etmesinler bana tesekkür mesekkür ben böle iyiyim :D
    bu nekadar uzun bi mod ortasına geldim kafam attı vazcaydım :D
#05.07.2008 03:35 0 0 0
  • teşekkürler
#28.07.2008 01:49 0 0 0
  • bunun la baya uğraşmam gerekecek
    ellerine paylaşımına sağlık
#04.08.2008 18:43 0 0 0


  • emeğine sağlık

    fakat ufak bi problem yaşıyorum

    themes/Display.template.php'Yi açıyorum

    bulunması gereken hiç bir kodu orada bulamıyorum...,

    themes/default/display.template.php doğru dimi ?
    saolasın
#04.08.2008 23:36 0 0 0
KCA KCA foto
  • Tbr güzel paylasimda masallah bunların hepsini yapmak uzun sıkıcı bide olmasa vay halimize
#29.08.2008 15:54 0 0 0
KCA KCA foto
  • Unknown column 'b.thank_you_automatic' in 'field list'


    Bu sorunu verdi o kadar ugrastım olmadi iimi

    offffff işin yoksa eski haline getir forumu kardesim madem yapcanız bi paylasım tam ve hatasiz olsun.ondan bundan alıntı yaparken bi zahmet calısıp calısmadıgına bak bi daha
#29.08.2008 17:31 0 0 0
  • @KCA adlı üyeden alıntı:
    Unknown column 'b.thank_you_automatic' in 'field list'


    Bu sorunu verdi o kadar ugrastım olmadi iimi

    offffff işin yoksa eski haline getir forumu kardesim madem yapcanız bi paylasım tam ve hatasiz olsun.ondan bundan alıntı yaparken bi zahmet calısıp calısmadıgına bak bi daha
    Orijinali Göster...


    Aldığım yerde kaç kişi sorunsuz yapmış. Onların olağanüstü güçlerimi var. Sen yapamıyorsan benim sorunum mu.

    Dikkatli yap hatanı düzelt. Atıp kesmek kolay değil mi.
#29.08.2008 20:25 0 0 0
  • saolasın
#26.09.2008 14:05 0 0 0
  • tesekkür ederim
#10.10.2008 16:44 0 0 0
  • eyw saol dostum çok saol
#10.10.2008 23:27 0 0 0