YARIM EZGİ

Member Login

Hızlı Arama


Yeni Konu aç  Cevapla
Alt 10.11.08, 20:12   #1 (permalink)
 
Apollon - ait Kullanıcı Resmi (Avatar)
 
Status: Yönetici
Üyelik tarihi: Aug 2008
Bulunduğu yer: ANKARA
Mesajlar: 1,107
Tecrübe Puanı: 10
Apollon will become famous soon enoughApollon will become famous soon enough


Kişisel Konu Sabitleme-Türkçe

Kişisel Konu Sabitleme-Türkçe



Bu eklenti ile üyeler kendi istedikleri konuları sabitleyebilirler.Her üye sabitlediği konuyu sabit olarak sadece kendisi görebilir.



Öncelikle product-personalsticky.xml dosyasını Ürün Yöneticisi'nden yükleyin.

images klasöründeki imajları yerlerine gönderin.

Daha sonra FTP'den forumdisplay.php dosyasını çekin.

BUL:

PHP- Kodu:
$stickies $db->query_read_slave("
            SELECT thread.threadid, lastpost, open
            FROM " 
TABLE_PREFIX "thread AS thread
            WHERE forumid = $foruminfo[forumid]
                AND sticky = 1
                $prefix_filter
                $visiblethreads
                $limitothers
                $globalignore 
AŞAĞIDAKİ İLE DEĞİŞTİR:

PHP- Kodu:
$stickies $db->query_read_slave("
            SELECT thread.threadid, lastpost, open
            FROM " 
TABLE_PREFIX "thread AS thread
            WHERE forumid = $foruminfo[forumid]
                AND (sticky = 1
                OR threadid IN ($personalstickysq))
                $prefix_filter
                $visiblethreads
                $limitothers
                $globalignore 
BUL:

PHP- Kodu:
$getthreadids $db->query_read_slave("
        SELECT " 
iif($sortfield == 'voteavg'$votequery) . " thread.threadid,
            $tachy_columns
            $hook_query_fields
        FROM " 
TABLE_PREFIX "thread AS thread
        $tachyjoin
        $hook_query_joins
        WHERE forumid = $foruminfo[forumid]
            AND sticky = 0
            $prefix_filter
            $visiblethreads
            $globalignore
            $limitothers
            $datecut
            $hook_query_where 

AŞAĞIDAKİ İLE DEĞİŞTİR:


PHP- Kodu:
$getthreadids $db->query_read_slave("
        SELECT " 
iif($sortfield == 'voteavg'$votequery) . " thread.threadid,
            $tachy_columns
            $hook_query_fields
        FROM " 
TABLE_PREFIX "thread AS thread
        $tachyjoin
        $hook_query_joins
        WHERE forumid = $foruminfo[forumid]
            AND sticky = 0
            AND threadid NOT IN ($personalstickysq)
            $prefix_filter
            $visiblethreads
            $globalignore
            $limitothers
            $datecut
            $hook_query_where 
FORUMDISPLAY template'inde BUL:

Kod:
$threadbits
ÜSTÜNE EKLE:

Kod:
$threadbits_personalsticky
SHOWTHREAD template'inde BUL:

Kod:
<if condition="$show['member']">
    <tr>
        <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
        <if condition="$show['subscribed']">
            <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
        <else />
            <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
        </if>
        </td>
    </tr>
ALTINA EKLE:

Kod:
<tr>
        <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mysticky.gif" />
        <if condition="in_array($thread['threadid'], $personalstickys)">
            <a href="showthread.php?$session[sessionurl]do=unpersonalsticky&amp;t=$threadid">$vbphrase[personal_unsticky]</a>
        <else />
            <a href="showthread.php?$session[sessionurl]do=personalsticky&amp;t=$threadid">$vbphrase[personal_sticky]</a>
        </if>
        </td>
    </tr>

threadbit template'inde BUL:


Kod:
<if condition="$show['taglist'] OR $show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires']">
DEĞİŞTİR:

Kod:
<if condition="$show['taglist'] OR $show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires'] OR $personalsticky">
BUL:

Kod:
<if condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /> </if>
ÜSTÜNE EKLE:

Kod:
<if condition="$personalsticky"> <img class="inlineimg" src="$stylevar[imgdir_misc]/mystickypin.gif" alt="$vbphrase[personal_sticky_thread]" /> </if>









Eklenmiş Dosya
Dosya tipi: zip Kişisel sabit konu.zip (5.8 KB (Kilobyte), 2x kez indirilmiştir)

Apollon isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
 
 
Cevapla

Etiketler
als, alt, button, den, ekle, eklenti, field, ftp, gif, ile, kendi, kişisel, konu, konuları, kurulum, php, sabitlemetürkçe, sadece, sonra, sor, template, türkçe, xml, yarimezgi, yarimezgi.com, İle

Seçenekler
Stil

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık





Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 Yarım Ezgi Group
Cracker Tracker tarafından korunmaktadır.

Video İzle