3.6.x - 3.7.x Hide Hack - Sorunsuz - Türkçe Anlatım
Toplam 1 Eklenti bulunuyor.
Öncelikle ftp adresimizde bazı dosyaları düzenlememiz gerekiyor; ancak ben bu dosyaların editlenmiş hâlini koydum dosyaya. Şimdi template editlemelerine geçelim.
Admincp > Biçimler & Şablonlar > Şablonu Değiştir >
editor_toolbar_on templatesinde ara:
PHP- Kodu:
$vBeditTemplate[extrabuttons]
Üstüne ekle:
PHP- Kodu:
<if condition="in_array(THIS_SCRIPT, array('newthread', 'newreply', 'editpost'))"> <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td> <if condition="$vboptions[enable_hide_tag]"><td><div class="imagebutton" id="{$editorid}_cmd_wrap0_hide"><img src="$stylevar[imgdir_editor]/hide.gif" width="41" height="20" alt="$vbphrase[wrap_hide_tags]" /></div></td></if> <if condition="$vboptions[enable_showtogroups_tag]"><td><div class="imagebutton" id="{$editorid}_cmd_wrap0_showtogroups"><img src="$stylevar[imgdir_editor]/showtogroups.gif" width="31" height="20" alt="$vbphrase[wrap_showtogroups_tags]" /></div></td></if> <if condition="$vboptions[enable_htnx_tag]"><td><div class="imagebutton" id="{$editorid}_cmd_wrap0_hide-thanks"><img src="$stylevar[imgdir_editor]/htnx.gif" width="41" height="20" alt="$vbphrase[wrap_htnx_tags]" /></div></td></if> <if condition="$vboptions[enable_hrply_tag]"><td><div class="imagebutton" id="{$editorid}_cmd_wrap0_hide-reply"><img src="$stylevar[imgdir_editor]/hrply.gif" width="41" height="20" alt="$vbphrase[wrap_hrply_tags]" /></div></td></if>
MEMBERINFO templatesinde ara:
PHP- Kodu:
<if condition="$show['usernotes']">
Üstüne Ekle:
PHP- Kodu:
<if condition="$vboptions['enable_htnx_tag']"> <div class="fieldset"> <div style="padding:$stylevar[formspacer]px"> <img src='$stylevar[imgdir_misc]/thanks.gif' alt="$vbphrase[total_thanks_received]" border="0" /> = $thanks_count </div> </div> </if>
postbit templatesinde ara:
PHP- Kodu:
<div> $vbphrase[posts]: $post[posts] </div>
Altına Ekle:
PHP- Kodu:
<if condition="$vboptions['enable_htnx_tag'] AND in_array(THIS_SCRIPT, array('showthread', 'showpost', 'editpost'))"> <div> <if condition="$bbuserinfo['userid'] == $post['userid'] OR in_array($post['postid'], $hidetag['said_thanks'])"> <img src='$stylevar[imgdir_misc]/thanks.gif' alt="" border="0" /> <else /> <a href="showthread.php?t=$post[threadid]&thanks=$post[postid]"><img src='$stylevar[imgdir_misc]/thanks.gif' alt="$vbphrase[say_thank_you]" border="0" /></a> </if> = $post_thanks_count $vbphrase[for_this_post] / $user_thanks_count $vbphrase[total] </div> </if>
postbit_legacy templatesinde ara:
PHP- Kodu:
<div> $vbphrase[posts]: $post[posts] </div>
Üstüne Ekle:
PHP- Kodu:
<if condition="$vboptions['enable_htnx_tag'] AND in_array(THIS_SCRIPT, array('showthread', 'showpost', 'editpost'))"> <div> <br /> <if condition="$bbuserinfo['userid'] == $post['userid'] OR in_array($post['postid'], $hidetag['said_thanks'])"> <img src='$stylevar[imgdir_misc]/thanks.gif' alt="" border="0" /> <else /> <a href="showthread.php?t=$post[threadid]&thanks=$post[postid]"><img src='$stylevar[imgdir_misc]/thanks.gif' alt="$vbphrase[say_thank_you]" border="0" /></a> </if> = <br /> <strong>$post_thanks_count</strong> $vbphrase[for_this_post],<br /> <strong>$user_thanks_count</strong> $vbphrase[total] </div> </if>
postbit_wrapper templatesinde ara:
PHP- Kodu:
<if condition="$show['spacer']"> </div> $spacer_close </if>
Üstüne Ekle:
PHP- Kodu:
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%"> <tr> <td class="alt1"><span class="smallfont">$thanks_bit</span></td> </tr> </table> </td> </tr> </table> </if>
SHOWTHREAD templatesinde ara:
PHP- Kodu:
return qr_prepare_submit(this, $vboptions[postminchars]);
Bunlarla Değiştir:
PHP- Kodu:
return qr_prepare_submit(this, $vboptions[postminchars], <if condition="!$vboptions[enable_hrply_tag]">1<else />0</if>);
showthread_quickreply ve postbit_quickedit templatelerinde ara:
PHP- 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>
Altına Ekle:
PHP- Kodu:
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td> <if condition="$vboptions[enable_hide_tag]"><td><div class="imagebutton" id="{$editorid}_cmd_wrap0_hide"><img src="$stylevar[imgdir_editor]/hide.gif" width="41" height="20" alt="$vbphrase[wrap_hide_tags]" /></div></td></if> <if condition="$vboptions[enable_showtogroups_tag]"><td><div class="imagebutton" id="{$editorid}_cmd_wrap0_showtogroups"><img src="$stylevar[imgdir_editor]/showtogroups.gif" width="31" height="20" alt="$vbphrase[wrap_showtogroups_tags]" /></div></td></if> <if condition="$vboptions[enable_htnx_tag]"><td><div class="imagebutton" id="{$editorid}_cmd_wrap0_hide-thanks"><img src="$stylevar[imgdir_editor]/htnx.gif" width="41" height="20" alt="$vbphrase[wrap_htnx_tags]" /></div></td></if> <if condition="$vboptions[enable_hrply_tag]"><td><div class="imagebutton" id="{$editorid}_cmd_wrap0_hide-reply"><img src="$stylevar[imgdir_editor]/hrply.gif" width="41" height="20" alt="$vbphrase[wrap_hrply_tags]" /></div></td></if>
Son olarak xml dosyasını ürün yöneticisinden import ediyoruz. ve upload klasörü içindeki dosyaları ftp mizdeki yerlerine atıyoruz.
Rar Şifresi: vb-destek.org
Sizlere bazı hide hack kodlarının kullanımı açıklayayım:
PHP- Kodu:
[HIDE] => Belli mesajı olan üyelerin gizli mesajı görmesini sağlar. [HIDE-REPLY] => Konuya cevap yazan üyelerin gizli mesajı görmesini sağlar. [HIDE-THANKS] => Konuya teşekkür eden üyelerin gizli mesajı görmesini sağlar.
Alıntıdır
|