RuHSuZ 'dan alintidir

forum/index.php'Yi Açıyoruz

Bul
[code] 'sticky' => array('LockTopic.php[/swf2][swf3]Sticky'),[/code]
Altına Ekle
[code] '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'),[/code]

Sources/Display.php'Yi Açıyoruz

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

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

Bul
[code] $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);[/code]
Değiştir
[code] $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);
[/code]

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

return $output;[/code]
Üstüne Ekle
[code] //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).''.$context['thank_you']['info'].'';
}
[/code]

Sources/Load.php'Yi Açıyoruz

Bul
[code] b.ID_THEME, b.override_theme, b.permission_mode, b.countPosts[/code]
Değiştir
[code] b.thank_you_automatic,
b.ID_THEME, b.override_theme, b.permission_mode, b.countPosts[/code]

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

sources/ManageBoards.php'Yi Açıyoruz

Bul
[code] 'count_posts' => 1,[/code]
Değiştir
[code] 'count_posts' => 1,
'thank_you_automatic' => 0,[/code]

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

sources/ManagePermissions.php'Açıyoruz

Bul
[code] 'member_admin' => array(
'moderate_forum' => false,
'manage_membergroups' => false,
'manage_permissions' => false,
'manage_bans' => false,
'send_mail' => false,
),[/code]
Değiştir
[code] '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,
),[/code]

Bul
[code] 'mark_any_notify',
'mark_notify',[/code]
Değiştir
[code] 'thank_you_post',
'thank_you_add',
'thank_you_lock',
'thank_you_remove',
'mark_any_notify',
'mark_notify',[/code]

sources/ModSettings.php'Yi Açıyoruz

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

Bul
[code] 'layout' => 'ModifyLayoutSettings',[/code]
Değiştir
[code] 'layout' => 'ModifyLayoutSettings',
'ThankYou' => 'ModifyThankYouSettings',[/code]

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

prepareDBSettingContext($config_vars);
}[/code]
Altına Ekle
[code]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);
}
[/code]

sources/Post.php'Yi Açıyoruz
Bul
[code] t.locked, IFNULL(ln.ID_TOPIC, 0) AS notify, t.isSticky, t.ID_POLL, t.numReplies, mf.ID_MEMBER,[/code]
değiştir
[code] t.locked, IFNULL(ln.ID_TOPIC, 0) AS notify, t.isSticky, t.ID_POLL, t.numReplies, mf.ID_MEMBER, t.thank_you,[/code]

Bul
[code] list ($locked, $context['notify'], $sticky, $pollID, $context['num_replies'], $ID_MEMBER_POSTER, $ID_FIRST_MSG, $first_subject, $lastPostTime) = mysql_fetch_row($request);[/code]
Değiştir
[code] 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);[/code]

Bul
[code] $context['can_lock'] = allowedTo('lock_any') || ($ID_MEMBER == $ID_MEMBER_POSTER && allowedTo('lock_own'));
$context['can_sticky'] = allowedTo('make_sticky') && !empty($modSettings['enableStickyTopics']);[/code]
değiştir
[code] $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']);[/code]

Bul
[code] $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']);[/code]
Değiştir
[code] $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']);[/code]

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

Bul
[code] $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);[/code]
Değiştir
[code] $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);[/code]

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

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

Bul
[code] // 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'))[/code]
Değiştir
[code] // 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'))[/code]

Bul
[code] 'sticky_mode' => isset($_POST['sticky']) && !empty($modSettings['enableStickyTopics']) ? (int) $_POST['sticky'] : null,[/code]
Değiştir
[code] 'sticky_mode' => isset($_POST['sticky']) && !empty($modSettings['enableStickyTopics']) ? (int) $_POST['sticky'] : null,
'thank_you_mode' => isset($_POST['add_thank_you']),[/code]

sources/Security.php'Yi Açıyoruz
Bul
[code] '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',[/code]
Değiştir
[code] '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',[/code]

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

Bul
[code] b.boardOrder, b.countPosts, b.memberGroups, b.ID_THEME, b.override_theme,[/code]
Değiştir
[code] b.boardOrder, b.countPosts, b.memberGroups, b.ID_THEME, b.override_theme,
b.thank_you_automatic,[/code]

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

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

Bul
[code] // 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__);[/code]
Değiştir
[code] //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__);[/code]
Bul
[code] $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.[/code]
Değiştir
[code] $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.[/code]

Bul
[code] 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__);
}[/code]
değiştir
[code] 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__);
}[/code]

languages/index.turkish.php'Yi Açıyoruz
Bul
[code]?>[/code]
Üstüne Ekle
[code]$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';[/code]

languages/ManagePermissions.turkish.php'Yi Açıyoruz
Bul
[code]?>[/code]
Üstüne Ekle
[code]$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ü';[/code]

languages/ModSettings.turkish.php'Yi Açıyoruz
Bul
[code]?>[/code]
Üstüne Ekle
[code]$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ı
(0 = tamamını göster)';
$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ç
(Hide Mod Special kurulu olmalı)';[/code]

languages/ManageBoards.turkish.php'Yi Açıyoruz
Bul
[code]?>[/code]
Üstüne Ekle
[code]$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 [/code]

languages/Post.turkish.php'Yi Açıyoruz
Bul
[code]?>[/code]
Üstüne Ekle
[code]$txt['thank_you_after2'] = 'Bu konuyu teşekküre aç';[/code]

themes/Display.template.php'Yi Açıyoruz
Bul
[code] $split_button = create_button('split.gif[/swf2][swf3]smf251[/swf2][swf3]smf251[/swf2][swf3]align="middle"');[/code]
Altına Ekle
[code] //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"');
}[/code]
Bul
[code] if ($context['can_split'])
echo '
', $split_button, '';[/code]
Altına Ekle
[code] //Add Thnak You Buttons :)
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
echo '' . $thanks_button . '';
elseif ($context['thank_you']['premission']['add'])
echo '' . $thanks_button . '';
}[/code]

Bul
[code] 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();');[/code]
Üstüne Ekle
[code] 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'),
);[/code]

themes/ManageBoards.template.php'Yi Açıyoruz
Bul
[code]


';[/code]
Altına Ekle
[code] // Here is the New Thank You Option for the Board Premissions
echo '


', $txt['mboards_thank_you_automatic'], '

', $txt['mboards_thank_you_automatic_desc'], '






';[/code]

themes/Post.template.php'Yi Açıyoruz
Bul
[code]
[/swf2][swf3]
', $context['can_move'] ? '' : '[/swf2][swf3]
', $context['can_announce'] && $context['is_first_post'] ? '



' : '[/swf2][swf3][/code]
Altına Ekle
[code] ', $context['can_Thank_you'] && empty($context['isThank_You']) ? '



' : '[/swf2][swf3][/code]

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


[url]http://rapidshare.com/files/92455022/index.zip.html[/url]

Beğeniler: 1
Favoriler: 0
İzlenmeler: 2483
favori
like
share
eCeLimSin Tarih: 28.09.2009 11:39
uSta eLLertıne saglık paylasım mukemmel ama ne kadar dosya degıstırıyor yaw kafama kaldırmaz bu kadarını
t_sanli Tarih: 23.09.2009 18:20
saoL
SiprintisT Tarih: 04.09.2009 19:17
Gercektende Cok Kısa Değilmi
EfsaneTR Tarih: 01.04.2009 17:02
ammada Uzunmuş Uff Ben Bunu 2 Günde Anca Yaparım

Ya ben Son Aşamayı Yapamadım
deliop Tarih: 12.11.2008 06:22
teşekkürler
FreddyKrueger Tarih: 28.10.2008 18:36
[QUOTE=haylazteam;3010449]Unknown column 'b.thank_you_automatic' in 'field list'

hatası var nerden aldığınıda bildir...

[url]http://www.main-board.com/2874061-post16.html[/url]
haylazteam Tarih: 26.10.2008 19:13
Unknown column 'b.thank_you_automatic' in 'field list'

hatası var nerden aldığınıda bildir...
nastenka Tarih: 10.10.2008 17:44
tesekkür ederim
HKNRB Tarih: 26.09.2008 15:05
saolasın