SMF 1.1 RC3, SMF 1.1 ve SMF 1.1.1 içindir.
Modifikasyon Link'i -->http://www.smfturk.net/forum/index.php?topic=383.msg961#msg961İlk olarak
TAM YEDEK alınız.
Öncelikle modifikasyon dosyalarını yükleyin.
1- Gallery.php dosyasını
Sources/ içine
2- Gallery.template.php dosyasını
Themes/[Kullandığınız Tema Klasörü]/ içine yükleyin.
3- Gallery.turkish.php dosyasını
Themes/default/languages/ içine yükleyin.
4- gallery.gif dosyasını
Themes/[Kullandığınız Tema Klasörü]/images/ içine yükleyin.
5- galleryinstall.php dosyasını da forumun ana dizinine yükleyin ve bu dosyayı browser ile çalıştırın.
6- Forum ana dizinine "gallery" isimli klasör oluşturun
Modifications.turkish.php dosyanızda şunu bulun ve üstüne ekleyin
?>
//Begin SMF Gallery Text Strings
$txt['smfgallery_title'] = 'Resim Galerisi';
$txt['smfgallery_menu'] = 'Resimler';
$txt['smfgallery_version'] = '1.0 Lite';
$txt['smfgallery_admin'] = 'Galleri Ayarları';
//Permissions
$txt['permissiongroup_smfgallery'] = 'Resim Galerisi';
$txt['permissionname_smfgallery_view'] = 'Bütün Galeriyi Gör';
$txt['permissionhelp_smfgallery_view'] = 'Kullanıcı Galeri izni';
$txt['cannot_smfgallery_view'] = 'Galeriyi görme izniniz yok!';
$txt['permissionname_smfgallery_add'] = 'Resim Ekle';
$txt['permissionhelp_smfgallery_add'] = 'Kullanıcıya resim eklemesi için izin';
$txt['cannot_smfgallery_add'] = 'Resim eklemenize izin yok.';
$txt['permissionname_smfgallery_edit'] = 'Resmi deği?tir';
$txt['permissionhelp_smfgallery_edit'] = 'Kullanıcı resmini değiştirebilir';
$txt['cannot_smfgallery_edit'] = 'Resim düzeltmenize izin yok.';
$txt['permissionname_smfgallery_delete'] = 'Resmi sil';
$txt['permissionhelp_smfgallery_delete'] = 'Kullanıcı resim silebilir.';
$txt['cannot_smfgallery_delete'] = 'Resim silmeye izniniz yok.';
$txt['permissionname_smfgallery_comment'] = 'Yorum izni var';
$txt['permissionhelp_smfgallery_comment'] = 'Kullanıcı resme yorum yapabilir.';
$txt['cannot_smfgallery_comment'] = 'Resme yorum yapmanıza izin yok.';
$txt['permissionname_smfgallery_report'] = 'Rapor et Resim/Yorum';
$txt['permissionhelp_smfgallery_report'] = 'Rapor vermeye izin var';
$txt['cannot_smfgallery_report'] = 'Rapor etme izniniz yok.';
$txt['permissionname_smfgallery_autoapprove'] = 'Resimleri onaylanmadan yayınlansın';
$txt['permissionhelp_smfgallery_autoapprove'] = 'Resmin onaylanması lazım.';
$txt['permissionname_smfgallery_manage'] = 'Galeriyi Yönet';
$txt['permissionhelp_smfgallery_manage'] = 'İzin ver kullanıc?yanın eklediği, / sil, /, kategoriler boyunca düzelt. Sil yorumları, sil resimleri, onayla resimleri
';
$txt['cannot_smfgallery_manage'] = 'Galeriyi yönetme izniniz yok.';
//END SMF Gallery Text Strings
Who.turkish.php
?>
//Begin SMF Gallery
$txt['whoall_gallery'] = 'In the <a href="' . $scripturl . '?action=gallery">Resim Galerisinde</a>';
//END SMF Gallery Strings
index.php
'help' => array('Help.php', 'ShowHelp'),
'gallery' => array('Gallery.php', 'GalleryMain'),
index.template.php
$current_action = 'admin';
if (in_array($context['current_action'], array(
'gallery',
// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
</td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// the [SMF Gallery] button
if ($context['allow_smfgallery_view'])
echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'] , '</a>
</td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
Subs.php
'edit_settings' => '<a href="' . $scripturl . '?action=serversettings;sesc=' . $sc . '">' . $txt[222] . '</a>',
'gallery_settings' => '<a href="' . $scripturl . '?action=gallery;sa=adminset;sesc=' . $sc . '">' . $txt['smfgallery_admin'] . '</a>',
$context['allow_calendar'] = allowedTo('calendar_view') && !empty($modSettings['cal_enabled']);
$context['allow_smfgallery_view'] = allowedTo('smfgallery_view');
ManagePermissions.php
'pm' => array(
'pm_read' => false,
'pm_send' => false,
),
'smfgallery' => array(
'smfgallery_view' => false,
'smfgallery_add' => false,
'smfgallery_edit' => false,
'smfgallery_delete' => false,
'smfgallery_comment' => false,
'smfgallery_report' => false,
'smfgallery_autoapprove' => false,
'smfgallery_manage' => false,
),
Bitti.