|
|||||||
| ||
![]() |
|
|
Seçenekler | Arama | Stil |
![]() Vbulletin Ziyaretçiler mesajları göremesin | ||||||||||
|
(#1)
|
||||||||||
|
Mesaj Sayısı: n/a
Açtığı Konu: 5365
Level: -INF [ ]Paylaşım: NAN / -INF |
BAŞLAMADAN ÖNCE YEDEK ALMAYI UNUTMAYINIZ
asagidaki dosyalarda degisiklik yapmaniz gerekecek: 1.includes/init.php 2.includes/adminfunctions_forums.php 3.admincp/resources.php 4.admincp/usergroup.php 5.showthread.php 6.archive/index.php 7.archive/global.php 8.printthread.php 9.showpost.php Ve izinlere iki yeni bolum eklenecek. bunun icinde bul includes/init.php Kod: 'canthreadrate' => 65536, 'isalwaysmoderated' => 131072, 'canseedelnotice' => 262144 ); Bunula değiştir: PHP Kodu: 'canthreadrate' => 65536, 'isalwaysmoderated' => 131072, 'canseedelnotice' => 262144 // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] ,'gtpcanreadcontent' => 524288 // VIEW THREAD // == [ 00-00-2004 - GTP END ] // ================================================= \\ ); işlem bitmiştir kaydedin Burada Bul includes/adminfunctions_forums.php; PHP Kodu: print_yes_no_row($vbphrase['always_moderate_posts'], 'forumpermission[isalwaysmoderated]', $forumpermission['isalwaysmoderated'], $extra); print_yes_no_row($vbphrase['can_upload_attachments'], 'forumpermission[canpostattachment]', $forumpermission['canpostattachment'], $extra); print_yes_no_row($vbphrase['can_rate_threads'], 'forumpermission[canthreadrate]', $forumpermission['canthreadrate'], $extra); Bununla Değiştir : PHP Kodu: print_yes_no_row($vbphrase['always_moderate_posts'], 'forumpermission[isalwaysmoderated]', $forumpermission['isalwaysmoderated'], $extra); print_yes_no_row($vbphrase['can_upload_attachments'], 'forumpermission[canpostattachment]', $forumpermission['canpostattachment'], $extra); print_yes_no_row($vbphrase['can_rate_threads'], 'forumpermission[canthreadrate]', $forumpermission['canthreadrate'], $extra); // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] print_yes_no_row($vbphrase['gtp_can_read_content'], 'forumpermission[gtpcanreadcontent]', $forumpermission['gtpcanreadcontent'], $extra); // == [ 00-00-2004 - GTP END ] // ================================================= \\ işlem bitmiştir kaydedin... Burada Bul admincp/resources.php: PHP Kodu: 'canthreadrate' => $vbphrase['can_rate_threads'], 'canseedelnotice' => $vbphrase['can_see_deletion_notices'], 'isalwaysmoderated' => $vbphrase['always_moderate_posts'] Bunula değiştir... PHP Kodu: 'canthreadrate' => $vbphrase['can_rate_threads'], 'canseedelnotice' => $vbphrase['can_see_deletion_notices'], 'isalwaysmoderated' => $vbphrase['always_moderate_posts'], // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] 'gtpcanreadcontent' => $vbphrase['gtp_can_read_content'] // == [ 00-00-2004 - GTP END ] // ================================================= işlem bitmiştir KAYDET Burada Bul admincp/usergroup.php: PHP Kodu: 'canusesignature' => 1, 'cannegativerep' => 1, 'canuserep' => 1, Bunula değiştir: PHP Kodu: 'canusesignature' => 1, 'cannegativerep' => 1, 'canuserep' => 1, // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] 'gtpcanreadcontent' => 1 // == [ 00-00-2004 - GTP END ] // ================================================= \\ Bul: PHP Kodu: print_yes_no_row($vbphrase['can_rate_threads'], 'usergroup[canthreadrate]', $ug_bitfield['canthreadrate']); print_table_break(); Bunula değiştir: PHP Kodu: print_yes_no_row($vbphrase['can_rate_threads'], 'usergroup[canthreadrate]', $ug_bitfield['canthreadrate']); // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] print_yes_no_row($vbphrase['gtp_can_read_content'], 'usergroup[gtpcanreadcontent]', $ug_bitfield['gtpcanreadcontent']); // == [ 00-00-2004 - GTP END ] // ================================================= \\ print_table_break(); İşlem bitti.. Kaydet Burada Bul showthread.php PHP Kodu: if ($threadedmode == 0) { Bunula değiştir: PHP Kodu: // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] if (!($forumperms & GTPCANREADCONTENT)) { eval(print_standard_error('gtp_cannot_read')); } // == [ 00-00-2004 - GTP END ] // ================================================= \\ if ($threadedmode == 0) { işlem bitmiştir...kaydet.. Arşiv içeriğine ulaşılamaması için : Burada Bul archive/index.php PHP Kodu: $forumperms = $bbuserinfo['forumpermissions'][$foruminfo['forumid']]; if (!($forumperms & CANVIEW) OR !($forumperms & CANVIEWOTHERS) OR in_coventry($threadinfo['postuserid']) OR $threadinfo['isdeleted']) { exit; } Bunula değiştir: PHP Kodu: $forumperms = $bbuserinfo['forumpermissions'][$foruminfo['forumid']]; // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] //if (!($forumperms & CANVIEW) OR !($forumperms & CANVIEWOTHERS) OR in_coventry($threadinfo['postuserid']) OR $threadinfo['isdeleted']) if (!($forumperms & CANVIEW) OR !($forumperms & CANVIEWOTHERS) OR !($forumperms & GTPCANREADCONTENT) OR in_coventry($threadinfo['postuserid']) OR $threadinfo['isdeleted']) // == [ 00-00-2004 - GTP END ] // ================================================= \\ { exit; } Bul: PHP Kodu: $forumperms = $bbuserinfo['forumpermissions'][$f]; if (!($forumperms & CANVIEW) OR !($forumperms & CANVIEWOTHERS)) { exit; } Bunula değiştir.... PHP Kodu: $forumperms = $bbuserinfo['forumpermissions'][$f]; // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] //if (!($forumperms & CANVIEW) OR !($forumperms & CANVIEWOTHERS)) if (!($forumperms & CANVIEW) OR !($forumperms & CANVIEWOTHERS) OR !($forumperms & GTPCANREADCONTENT)) // == [ 00-00-2004 - GTP END ] // ================================================= \\ { exit; } işlem bitmiştir kaydet... BURADA BUL archive/global.php PHP Kodu: if (!($bbuserinfo['forumpermissions']["$forumid"] & CANVIEW) AND $vboptions['hideprivateforums']) Bunula değiştir: PHP Kodu: // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] //if (!($bbuserinfo['forumpermissions']["$forumid"] & CANVIEW) AND $vboptions['hideprivateforums']) if (!($bbuserinfo['forumpermissions']["$forumid"] & CANVIEW) OR !($bbuserinfo['forumpermissions']["$forumid"] & GTPCANREADCONTENT) AND $vboptions['hideprivateforums']) // == [ 00-00-2004 - GTP END ] // ================================================= \\ işlem bitmiştir kaydet.. printthread bolumun erişim olmaması için : BURADA BUL printthread.php PHP Kodu: $forumperms = fetch_permissions($threadinfo['forumid']); if (!($forumperms & CANVIEW)) { print_no_permission(); } Aşağıya Ekle: PHP Kodu: // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] if (!($forumperms & GTPCANREADCONTENT) ) { eval(print_standard_error('gtp_cannot_read')); } // == [ 00-00-2004 - GTP END ] // ================================================= \\ işlem bitti...kaydet... showpost içeriğine erişilemeyecek BURADA BUL showpost.php PHP Kodu: $forumperms = fetch_permissions($threadinfo['forumid']); if (!($forumperms & CANVIEW)) { print_no_permission(); } Aşağıya Ekle... PHP Kodu: // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] if (!($forumperms & GTPCANREADCONTENT) ) { eval(print_standard_error('gtp_cannot_read')); } // == [ 00-00-2004 - GTP END ] // ================================================= \\ işlem bitmiştir KAYDET ----------------------------------------------------------------- hepsini yerlereine atıyoruz unutmayınız yedek alın aşağıda herşeyi admin kontrol panelinde yapacağız Diller & Cümleler de yeni birtane cümle ekliyeceğiz cümle tipini : Permissions seç Varname : gtp_can_read_content Yazı :Group can read content? not : gtp_can_read_content = Group can read content? ( bu yazının türkçesini yazabilirsiniz.. şimdi arkadaşlar Kullanıcı Grubları ->Kullanıcı Grup Yönetimi->Registered Users->edit user grup deyin ve şu ayarları yapın Gönderi / Konu İzinleri bölümünde Group can read content? i bulun ve o seçeneği "evet" yapın Forum İzin Görüntüleyicisi forumuı görebilir ve diğer konuları görebilir seçeneği zaten evet kalacak şimdi ise Unregistered / Not Logged In kullanıcı gurubuna giriyoruz Gönderi / Konu İzinleri bölümünde "Group can read content?" burayı "hayır" seçiyoruz ve Forum İzin Görüntüleyicisi bölümünde Forumu Görebilir "evet" Diğer Konuları Görebilir "evet" seçiyoruz. |
|||||||||
|
||||||||||
|
|
![]() | ||||||||||
|
(#2)
|
||||||||||
|
S.H.T Onursal Üye
![]() Mesaj Sayısı: 2,629
Açtığı Konu: 487
Level: 40 [ ![]() ![]() ![]() ![]() ]Paylaşım: 399 / 999 Üyelik tarihi: Apr 2007
Kullanıcı No: 241330
Nerden: FBI'dan
Tecrübe Puanı: 130
REP Puanı : 2907
REP Seviyesi :
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
güzel paylaşım sağol.
|
|||||||||
|
||||||||||
![]() |
| Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| Seçenekler | Arama |
| Stil | |
|
|