Arkadaşlar 3.6.x Ekletinleri Buldukca Vercem .
Yapımcı:Psionic Vision
website:http://www.visionscripts.com/
vb.org link:http://www.vbulletin.org/forum/showthread.php?t=123527
AÇIKLAMA
Hepimizin bildiği hide hack (gizli mesaj) eklentisinin 3.6.0 e uyarlanmış versiyonu.
KURULUM
NOT:MUTLAKA DOSYA YEDEKLERİNİ ALIN
Ekteki upload klasöründeki herşeyi yerlerine uplaod edin.
search.php aç ve bul;
Code:
[PHP]$post['pagetext'] = preg_replace('#\[quote(=("|"|\'|)??.*\\2)?\](((?>[^\[]*?|(?R)|.))*)\[/quote\]#siUe', "process_quote_removal('\\3', \$display['highlight'])", $post['pagetext']);[/PHP]
altına ekle;
Code:
[PHP]$post['pagetext'] = parseHide($post['pagetext']);[/PHP]
./archive/index.php aç ve bul;
Code:
[PHP]$post['pagetext_simp'] = strip_bbcode($post['pagetext']);[/PHP]
alttakiyle dğeiştir;
Code:
[PHP]
// ================================================== ====================================== // ORIGINAL CODE: // $post['pagetext_simp'] = strip_bbcode($post['pagetext']); // ================================================== ====================================== $post['pagetext_simp'] = parseHide($post['pagetext']); $post['pagetext_simp'] = strip_bbcode($post['pagetext_simp']); // ================================================== ======================================
[/PHP]
./includes/functions_digest.php aç ve bul;
Code:
[PHP]$post['pagetext'] = $plaintext_parser->parse($post['pagetext'], $thread['forumid']);[/PHP]
üstüne ekle;
Code:
[PHP]$post['pagetext'] = stripHide($post['pagetext'], 'email');[/PHP]
./includes/functions_forumdisplay.php aç ve bul;
Code:
[PHP]
$thread['preview'] = strip_quotes($thread['preview']);
[/PHP]
altına ekle;
Code:
[PHP]
$thread['preview'] = parseHide($thread['preview']);
[/PHP]
includes/functions_newpost.php aç ve bul;
Code:
[PHP]
$pagetext_cache["$touser[languageid]"] = $plaintext_parser->parse($pagetext_cache["$touser[languageid]"], $foruminfo['forumid']);
[/PHP]
alttakiyle değiştir;
Code:
[PHP]// ================================================== ====================================== // ORIGINAL CODE: // $pagetext_cache["$touser[languageid]"] = $plaintext_parser->parse($pagetext_orig, $foruminfo['forumid']); // ================================================== ====================================== $pagetext_cache["$touser[languageid]"] = stripHide($pagetext_orig, 'email'); $pagetext_cache["$touser[languageid]"] = $plaintext_parser->parse($pagetext_cache["$touser[languageid]"], $foruminfo['forumid']); // ================================================== ======================================[/PHP]
clientscript/vbulletin_textedit.js aç ve bul;
Code:
case 'PHP': { this.apply_format('removeformat'); } break;
altına ekle;
Code:
[PHP]
case 'HIDE': case 'SHOWTOGROUPS': { useoption = true; } break;
[/PHP]
editor_toolbar_on templatesinde bul;
Code:
[PHP]
$vBeditTemplate[extrabuttons]
[/PHP]
üstüne ekle;
Code:
[PHP]$vBeditTemplate[hidetag_toolbar_buttons][/PHP]
showthread_quickreply, postbit_quickedit templatelerinde her biri için ayrı ayrı bulun;
Code:
[PHP]
<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>
[/PHP]
altına ekle;
Code:
[PHP]$vBeditTemplate[hidetag_toolbar_buttons][/PHP]
son olarakta product-psionic_hide.xml dosyasını import edin.
İNDİR




Alıntı ile Cevapla
Bu Konuyu Paylaşın !