Açılan Konu adedini Göstermek

Son güncelleme: 25.06.2007 17:47
  • sDeğişiklik Yapılacak Dosyalar:
    thread.php
    thread_postbit.tpl
    profile.php
    profile.tpl



    Kurulum İşlemleri :
    -----------
    1- Dil Paketinde Yeni Bir Kategori Oluşturun:

    Dil kategorisi olustur (Sprachvariable erstellen):
    Kategori : thread
    Name: LANG_THREAD_USERTHREADS
    İcerik: Konu

    (Konu yazan yeri konu sayısı veya ne isterseniz yapabilirsiniz)



    2- editlenecek dosyalar :

    thread.php:
    ARA ve BUL ....

    [php]<?php if ($showuserpostsinthread == 1 && $posts['userposts'] >= 1000) $posts['userposts'] = number_format($posts['userposts'], 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
    } ?>
    [/php]

    <?php # start threadanzahl
    global $db,$n;
    $anz_thread = $db->query_first("SELECT COUNT(*) AS thread_anzahl FROM bb".$n."_threads where starterid='$posts[userid]'");
    if ($anz_thread['thread_anzahl'] >= 1000) $anz_thread['thread_anzahl'] = number_format($anz_thread['thread_anzahl'], 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
    $thread_anz= $anz_thread['thread_anzahl'];
    # ende threadanzahl ?>


    <?php <if($showuserpostsinthread==1)><then>{$lang->items['LANG_THREAD_USERPOSTS']} $posts[userposts]<br /></then></if> ?>




    <?php {$lang->items['LANG_THREAD_USERTHREADS']} $thread_anz<br /> ?>
#25.06.2007 17:47 0 0 0