WBB Toplist Top 10

Son güncelleme:
  • wbb toplist - top 10 - top 5 - wbb için topliste

    Kurulum:

    1.: "index_topfive.tpl" dosyasını FTP ile "templates/" içine yollayın!
    2.: FTP den "index.php" açın!
    3.: Arayın:


    /* ############## USERONLINE ############## */


    Üzerine Ekleyin:

    /* ############## Top 5 Statistik Mainpage Start ############## */

    // Start Top 5 Poster
    $posts5 = $db->query("SELECT userid,username,userposts FROM bb".$n."_users ORDER BY userposts DESC LIMIT 5";);
    while ($posts5top = $db->fetch_array($posts5)){

    $posts5name .= "» <a href=profile.php?userid=$posts5top[userid]&sid=$session[hash]>$posts5top[username]</a><br>";
    $posts5post .= "$posts5top[userposts] <br>";
    }
    // Ende Top 5 Poster

    // Start Letzte 5 Mitglieder
    $user = $db->query("SELECT userid,userposts,username,regdate FROM bb".$n."_users WHERE activation='1' ORDER BY regdate DESC LIMIT 5";);
    while ($usertop = $db->fetch_array($user)){

    $username .= "» <a href=\"profile.php?userid=$usertop[userid]&sid=$session[hash]\">$usertop[username]</a><br>";
    $userposts .= "$usertop[userposts] <br>";
    }
    // Ende Letzte 5 Mitglieder

    // Start Letzte 5 Beiträge
    $pop = $db->query("SELECT
    bb".$n."_threads.topic,
    bb".$n."_threads.threadid,
    bb".$n."_threads.lastposttime,
    bb".$n."_threads.views,
    bb".$n."_users.userid,
    bb".$n."_threads.boardid as parentid,
    bb".$n."_users.username,
    bb".$n."_boards.invisible
    FROM bb".$n."_threads
    LEFT JOIN bb".$n."_users ON (bb".$n."_users.userid=bb".$n."_threads.lastposterid)
    LEFT JOIN bb".$n."_boards ON (bb".$n."_boards.boardid=bb".$n."_threads.boardid)
    WHERE bb".$n."_boards.invisible=0
    ORDER BY bb".$n."_threads.lastposttime DESC LIMIT 5";);
    while ($poptop = $db->fetch_array($pop)){

    if(strlen($poptop[topic]) > '37';) $poptop[topic] = "".substr($poptop[topic], 0, 34)."...";
    $popthread .= "» <a href=\"thread.php?goto=lastpost&threadid=$poptop[threadid]&sid=$session[hash]\">$poptop[topic]</a><br>";
    $lastposter .= "<a href=\"profile.php?userid=$poptop[userid]&sid=$session[hash]\">$poptop[username]</a><br>";
    $popviews .= "$poptop[views] <br>";
    }
    // Ende Letzte 5 Beiträge

    // Start Top Themen
    $pop1 = $db->query("SELECT bb".$n."_threads.topic,
    bb".$n."_threads.threadid,
    bb".$n."_threads.views,
    bb".$n."_threads.boardid,
    bb".$n."_boards.invisible
    FROM bb".$n."_threads
    LEFT JOIN bb".$n."_boards ON (bb".$n."_boards.boardid=bb".$n."_threads.boardid)
    WHERE bb".$n."_boards.invisible=0
    ORDER BY bb".$n."_threads.views DESC LIMIT 1";);
    while ($pop1top = $db->fetch_array($pop1)){

    $pop1title = "<a href=\"thread.php?threadid=$pop1top[threadid]&boardid=$pop1top[boardid]&sid=$session[hash]\">$pop1top[topic]</a>";
    $pop1views = "$pop1top[views]";
    }
    // Ende Top Themen
    // Start Top Bewertung
    $voted = $db->query("SELECT bb".$n."_threads.topic,
    bb".$n."_threads.threadid,
    bb".$n."_threads.voted,
    bb".$n."_threads.votepoints,
    bb".$n."_threads.boardid,
    bb".$n."_boards.invisible
    FROM bb".$n."_threads
    LEFT JOIN bb".$n."_boards ON (bb".$n."_boards.boardid=bb".$n."_threads.boardid)
    WHERE bb".$n."_boards.invisible=0
    ORDER BY bb".$n."_threads.voted DESC LIMIT 1";);
    while ($votedtop = $db->fetch_array($voted)){

    $votedthread = "<a href=\"thread.php?threadid=$votedtop[threadid]&boardid=$votedtop[boardid]&sid=$session[hash]\">$votedtop[topic]</a>";
    $votedrating = "$votedtop[votepoints]";
    }
    // Ende Top Bewertung
    // Start des template aufrufs
    eval ("\$top5threadstats = \"".$tpl->get("index_topfive";)."\";";);
    // Ende templates aufruf

    4.:ACP girin!
    5.:Templates editle!
    6.:"index.tpl" seçin!

    Arayın:

    $header

    Altına Ekleyin:

    $top5threadstats


    9.:Tıkla "Templates cachen"
    10.: "sadece yeni templates cachen"
    12.:Bitti!
0 0 0
  • SQL-DATABASE ERROR

    Database error in WoltLab Burning Board (2.3.6): Invalid SQL: SELECT bb1_threads.topic, bb1_threads.threadid, bb1_threads.lastposttime, bb1_threads.views, bb1_users.userid, bb1_threads.boardid as parentid, bb1_users.username, bb1_boards.invisible FROM bb1_threads LEFT JOIN bb1_users ON (bb1_users.userid=bb1_threads.lastposter id) LEFT JOIN bb1_boards ON (bb1_boards.boardid=bb1_threads.boardid ) WHERE bb1_boards.invisible=0 ORDER BY bb1_threads.lastposttime DESC LIMIT 5
    mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'id) LEFT JOIN bb1_boards ON (bb1_boards.boardid=bb1_threads.boardid ) ' at line 11
    mysql error number: 1064
    mysql version: 5.1.38-log
    php version: 5.2.14
    Date: 10.01.2011 @ 19:13
    Script: /wbb2/index.php
    Referer: http://thedevrekboy67.redio.de/wbb2/index.php

    sorunum var acil ltf
0 0 0
  • Yukarıdaki işlemle ilgili alıyorsan orjinal dosyayı at ftp ye düzelsin. Bu kadar basit bir kurulumu yapamıyorsan önce HTML öğrenmelisin...
0 0 0
  • 1.abicim ben acp>templades editieren>index.tpl yok
    2.bu indirdigimi hangi templades ordnersina aticam
    3.Team üyelerini rengli yapmam icin girmem gereken seyde yok
0 0 0
  • @yapmadedim adlı üyeden alıntı:
    1.abicim ben acp>templades editieren>index.tpl yok
    2.bu indirdigimi hangi templades ordnersina aticam
    3.Team üyelerini rengli yapmam icin girmem gereken seyde yok
    Orijinali Göster...
    1.abicim ben acp>templades editieren>index.tpl yok
    2.bu indirdigimi hangi templades ordnersina aticam
    3.Team üyelerini rengli yapmam icin girmem gereken seyde yok

    index.tpl olmadan ana sayfanda açılmaz. Standart templatesler içerisinde yoksa kullandığın temaya ait paket içerisindedir.

    İndirdiğini FTP den templates isimli klasöre atmalısın.

    Burada team üyelerinin renklerinden bahsetmiyoruz.
0 0 0
  • ya ben salagim yada bu index.tpl benimle oyun oyniyor yok abi yok her klasörü alt üst ettim yok
0 0 0
  • Templates editle dediğinde sol üstte açılır kapanır bir menü yok mu? Standart templates değilde blackline olanın templateslerini editlemen lazım.
0 0 0
  • hayir abi yok bak söyle bisey yapalim ben burdan msnimi verim sana yada pmle gönderim olmazmi?
0 0 0
  • Hayır o şekilde yardımcı olmuyorum.
0 0 0
  • neyapmam gerek abi
0 0 0
  • sorun kalktii hersey yüklendi yerli yerinde abi
0 0 0
  • bende hata veriyor

    SQL-DATABASE ERROR

    Database error in WoltLab Burning Board (2.3.6): Invalid SQL: SELECT bb1_threads.topic, bb1_threads.threadid, bb1_threads.lastposttime, bb1_threads.views, bb1_users.userid, bb1_threads.boardid as parentid, bb1_users.username, bb1_boards.invisible FROM bb1_threads LEFT JOIN bb1_users ON (bb1_users.userid=bb1_threads.lastposter id) LEFT JOIN bb1_boards ON (bb1_boards.boardid=bb1_threads.boardid ) WHERE bb1_boards.invisible=0 ORDER BY bb1_threads.lastposttime DESC LIMIT 5
    mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'id) LEFT JOIN bb1_boards ON (bb1_boards.boardid=bb1_threads.boardid ) WHERE bb1_' at line 11
    mysql error number: 1064
    mysql version: 5.0.51a-3ubuntu5.8
    php version: 5.2.4-2ubuntu5.14
    Date: 16.03.2011 @ 13:13
    Script: /index.php
    Referer: http://firtinaboard.de/acp/misc.php?action=top&sid=805eae4a5b4aabd817633ef9f8180016
0 0 0
  • "index_topfive.tpl" dosyasındaki kodları acp de add template den yeni template tanımlayarak kodları yapıştırın adını index_topfive yapın ve kaydedin çalışacaktır download link aşağıda
0 0 0
  • top_five.tpl your-wbb.de/database.php?action=view&entryid=1499
0 0 0
  • template "index_topfive" doesnt exist hatası 236 da templates dizini yok acp deki dosyalar html formatında
0 0 0