Teşekkürler Modu Manuel KurulumuEger Peygamber Sabrı Varsa Sizde Başlayın
forum/index.php'Yi Açıyoruz Bul 'sticky' => array('LockTopic.php', 'Sticky'),
Altına Ekle '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çıyoruzBul 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çıyoruzBul 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çıyoruzBul '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çıyoruzBul '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çıyoruzBul '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 Eklefunction 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çıyoruzBul 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', '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', '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 $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', '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', 'poll_add_any',
'poll_edit_own', 'poll_edit_any',
'poll_lock_own', 'poll_lock_any',
'poll_remove_own', 'poll_remove_any',
Değiştir '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çıyoruzBul 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çıyoruzBul $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çıyoruzBul?>
Ü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çıyoruzBul?>
Ü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çıyoruzBul?>
Ü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çıyoruzBul?>
Ü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çıyoruzBul $split_button = create_button('split.gif', 'smf251', 'smf251', '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', '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 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', 'image' => 'delete_selected.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['quickmod_confirm'] . '\');" id="quickmodSubmit"', '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', '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çıyoruzBul <td valign="top" align="right">
<input type="checkbox" name="count" ', $context['board']['count_posts'] ? ' checked="checked"' : '', ' 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"' : '', ' class="check" />
</td>
</tr>';
themes/Post.template.php'Yi AçıyoruzBul <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 ', $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
Burdan 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