• 24-05-2007, 19:22:27
    #10
    BySeCa adlı üyeden alıntı: mesajı görüntüle
    Dizin l Web Dizin sol menüdeki istatistikler gibi bişey arıyorsan..
    Directory Spy » phpLD Statistics Mod
    Alıntı
    "black carroty" 3.2 için var sanırım 2.0 kullanıyorum
    öbür koddada sayfaya yazdırıyorum
    bende ücretsiz sürümü kullanıyorum..
    yukardaki modu kurdum
  • 24-05-2007, 19:24:49
    #11
    Alıntı
    <!-- Add the following after {include file="top_bar.tpl"} -->
    <div id="site-statistics">
    <div id="site-statistics-header">Statistics</div>
    <div id="site-statistics-values">
    {$stat_pending}<br>
    {$stat_todays}<br><br>
    {$stat_active}<br>
    {$stat_featured}<br>
    {$stat_cats}<br>
    </div>
    <div id="site-statistics-labels">
    Pending Links: <br>
    Links Today: <br><br>
    Active Links:<br>
    Featured Links:<br>
    Categories:<br>
    </div>
    </div>
    bu kodu bu şekildemi yapıştırdın
    mainde olucak deniyor left e yababildinmi
    bi yardım et
  • 24-05-2007, 19:30:15
    #12
    aynen o şekilde

    benim temada sidebar.tpl var onun içine ekledim.
  • 24-05-2007, 19:43:04
    #13
    Alıntı
    1) Upload the statistics.php file to the same location as
    index.php. This is usually the root phpLinkDirectory
    installation directory.

    2) Update the CSS file with the code provided. For phpLD 2.0,
    update style.css in the root directory of phpLD (where
    index.php is). For phpLD 3.0.5+, update main.css of the
    template you are modifying.

    Code in "to go into main.css or style.css"

    3) Update main.tpl with the extra HTML to display the
    statistics. The main.tpl file can be found in the
    /templates/ folder of the phpLD installation.

    Code in "to go into main.tpl"

    4) Update index.php found in the root phpLD folder.
    Code in "to go into index.php"
    1- Statics.php yi root dizinine kopyaladım.

    2-
    /*
       Add the following at the end of:
         phpLD 2.0: style.css in the root directory of phpLD (where index.php is)
         phpLD 3.0.5+: main.css of the template you are modifying
    */
    #site-statistics {
            background-color:   #FFFFFF;
            border: 1px solid #416c93;
            width: 160px;
            margin: 0px 0px 10px 0px;
            padding: 3px;
            float: right;
    }
    #site-statistics-header {
            font-weight: bold;
            text-align: center;
    }
    #site-statistics-values {
            float: right;
            padding: 10px;
    }
    #site-statistics-labels {
            font-weight: bold;
            padding: 10px;
    }
    bu kodları main.css nin en altına kopyaladım.

    3-
    <!-- Add the following after {include file="top_bar.tpl"} -->
    <div id="site-statistics">
             <div id="site-statistics-header">Statistics</div>
                <div id="site-statistics-values">
                    {$stat_pending}<br>
                    {$stat_todays}<br><br>
                    {$stat_active}<br>
                    {$stat_featured}<br>
                    {$stat_cats}<br>
                </div>
                <div id="site-statistics-labels">
                    Pending Links: <br>
                    Links Today: <br><br>
                    Active Links:<br>
                    Featured Links:<br>
                    Categories:<br>
                </div>
        </div>
    bu kodları templates/main.tpl de
    {include file="footer.tpl"}
    {/strip}
    satırının üstüne kopyaladım

    4- index.php yi yükledim

    ama olmadı
  • 24-05-2007, 20:12:31
    #14
    index.php 'yi aç

    bunu bul..

    //Make output
    echo $tpl->fetch('main.tpl', $id);
    ?>
    hemen üstüne ekle..

    require_once 'statistics.php';
    yaptınmı bunu ?