Eklentiyi yazan: Bu Linki Görmeniz İçin SupersatForuma Uye Olmanız Gerekmektedir.
vB Versiyonu 3.6.0
Mod Versiyonu: 2.7.0-LMTD
vBulletin.org ' ta ki adresi: Bu Linki Görmeniz İçin SupersatForuma Uye Olmanız Gerekmektedir.
Eklentin Amacı: Eklenti sayesinde belli bir mesaj sayısına ulaşmamış kişilere ve belli kullanıcı gruplarına linkleri, resimleri yada dökümanları gizlemeye yarar.
Eklentiyi yayınlamak için eklenti yazarı Bu Linki Görmeniz İçin SupersatForuma Uye Olmanız Gerekmektedir. ' dan izin alınmıştır.
Ek bilgiler:
Kurulum süresi: Yaklaşık 2 dakika
Upload edilecek dosya sayısı: 4
Düzenlenecek dosya sayısı: 8
Template değişikliği sayısı: 2
Ürün yükleme sayısı: 1
Kurulumu:
Öncelikle dosyayı indirip rar ' dan kurtarınız.
Dosyaları yükleme:
Upload klasörünün içindeki dosyaları FTP ' nizdeki gerekli yerlere upload ediniz.
Dosya değişiklikleri:
FTP ' ye girip aşağıdaki dosya değişikliklerini yapınız.
/search.php dosyasını açın
Şu kodu bulunHemen altına şu kodu ekleyin.PHP- Kodu:$post['pagetext'] = preg_replace('#\[quote(=("|"|\'|)??.*\\2)?\](((?>[^\[]*?|(?R)|.))*)\[/quote\]#siUe', "process_quote_removal('\\3', \$display['highlight'])", $post['pagetext']);
/archive/ dosyasını açın Şu kodu bulunPHP- Kodu:$post['pagetext'] = $hhr->parse_bbcode($post['pagetext'], $post['forumid'], $post['threadid'], $post['postid'], $post['userid']);
Bu kod ile değiştirinPHP- Kodu:AS username, dateline
Yine aynı dosya içinde bu kodu bulunPHP- Kodu:AS username, dateline, post.userid
Bununla değiştirinPHP- Kodu:$post['pagetext_simp'] = strip_bbcode($post['pagetext']);
/includes/functions_digest.php dosyasını açınPHP- Kodu:// ========================================================================================
// ORIGINAL CODE:
// $post['pagetext_simp'] = strip_bbcode($post['pagetext']);
// ========================================================================================
$post['pagetext_simp'] = $post['pagetext_simp'] = $hhr->parse_bbcode($post['pagetext'], $foruminfo['forumid'], $threadinfo['threadid'], $post['postid'], $post['userid']);
$post['pagetext_simp'] = strip_bbcode($post['pagetext_simp']);
// ========================================================================================
Şu kodu bulunHemen üstüne şu kodu ekleyin.PHP- Kodu:$post['pagetext'] = $plaintext_parser->parse($post['pagetext'], $thread['forumid']);
/includes/functions_forumdisplay.php dosyasını açınPHP- Kodu:$post['pagetext'] = $GLOBALS['hhr']->strip_bbcode($post['pagetext'], 'email');
Şu kodu bulunAltına şu kodu ekleyinPHP- Kodu:$thread['preview'] = strip_quotes($thread['preview']);
/includes/functions_newpost.php dosyasını açınPHP- Kodu:$thread['preview'] = $GLOBALS['hhr']->parse_bbcode($thread['preview'], $foruminfo['forumid'], $thread['threadid'], $thread['firstpostid'], $thread['postuserid']);
Şu kodu bulunBu kod ile değiştirinPHP- Kodu:$pagetext_cache["$touser[languageid]"] = $plaintext_parser->parse($pagetext_orig, $foruminfo['forumid']);
Yine aynı dosyada şu kodu bulunPHP- Kodu:// ========================================================================================
// ORIGINAL CODE:
// $pagetext_cache["$touser[languageid]"] = $plaintext_parser->parse($pagetext_orig, $foruminfo['forumid']);
// ========================================================================================
$pagetext_cache["$touser[languageid]"] = $GLOBALS['hhr']->strip_bbcode($pagetext_orig, 'email');
$pagetext_cache["$touser[languageid]"] = $plaintext_parser->parse($pagetext_cache["$touser[languageid]"], $foruminfo['forumid']);
// ========================================================================================
Altına şu kodu ekleyinPHP- Kodu:$pagetext = trim(strip_quotes($pagetext));
/clientscript/vbulletin_textedit.js dosyasını açınPHP- Kodu:$pagetext = $GLOBALS['hhr']->strip_bbcode($pagetext, 'editor');
Şu kodu bulunAltına şu kodu ekleyinPHP- Kodu:case 'PHP':
{
this.apply_format('removeformat');
}
break;
Template Düzenlemeleri:PHP- Kodu:case 'HIDE':
case 'SHOWTOGROUPS':
{
useoption = true;
}
break;
editor_toolbar_on templatesinde şu kodu bulunÜstüne şu kodu ekleyinPHP- Kodu:$vBeditTemplate[extrabuttons]
showthread_quickreply, postbit_quickedit templatelerinde şu kodu bulun ( 2 template editlemesi vardır burada )PHP- Kodu:$vBeditTemplate[hidetag_toolbar_buttons]
Hemen altına şu kodu ekleyinPHP- Kodu:<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
Ürün Yüklemesi:PHP- Kodu:$vBeditTemplate[hidetag_toolbar_buttons]
Admincp >>> Plugin Sistemi >>> Ürün Yöneticisi >>> Ürün Ekle/Kaldır >>> Gözat kısmından indirdiğiniz klasör içindeki product-psionic_hide.xml adlı xml dosyasını gösterin ve yükleyin.
Bu Linki Görmeniz İçin SupersatForuma Uye Olmanız Gerekmektedir.
NOT: Eklenti vBulletin 3.6.3 versiyonunda denenmiştir ve çalışmaktadır.
Kolay Gelsin...


Teşekkur:
Beğeni:


Yer imleri