• 18-12-2009, 22:57:01
    #19
    Üyeliği durduruldu
    <?php previous_comments_link('&larr; Eski yorumlar') ?>
    <?php next_comments_link('Yeni yorumlar &rarr;') ?>

    comments.php dosyasında bu iki kodu arayın. Bold yazdığım yerler farklı olabilir. Eğer bu iki kod yok ise sayfalama yapmaz.

    Daha sonra ise ayarlar kısmından kaç tane gösterilmesini istiyorsanız ayarlayınız.
  • 18-12-2009, 23:02:47
    #20
    Keyif adlı üyeden alıntı: mesajı görüntüle
    <?php previous_comments_link('&larr; Eski yorumlar') ?>
    <?php next_comments_link('Yeni yorumlar &rarr;') ?>

    comments.php dosyasında bu iki kodu arayın. Bold yazdığım yerler farklı olabilir. Eğer bu iki kod yok ise sayfalama yapmaz.

    Daha sonra ise ayarlar kısmından kaç tane gösterilmesini istiyorsanız ayarlayınız.
    Eski comments.php lerde bir işe yaramaz o kod
  • 18-12-2009, 23:07:30
    #21
    Üyeliği durduruldu
    anarschi adlı üyeden alıntı: mesajı görüntüle
    Eski comments.php lerde bir işe yaramaz o kod
    Eskileri hakkında bilgim yok. Sadece öneri sundum işe yarar belki diye.
  • 18-12-2009, 23:09:27
    #22
    Keyif adlı üyeden alıntı: mesajı görüntüle
    Eskileri hakkında bilgim yok. Sadece öneri sundum işe yarar belki diye.
    Sorun değil hocam da kafaları karıştırmayalım şimdi..

    Ayrıca bu eklenti de baya kullanışlı görünüyor.
  • 18-12-2009, 23:24:38
    #23
    burdada açıklamalı bir sekilde eklenti sunulmuş
  • 19-12-2009, 19:18:12
    #24
    arkadaşlar wp 2.8 bırazdan 2.9 yapacağım. o eklentiyi kullandım ama temada değişik oldu grafikler gitti sadece yazılar ve linkler kaldı..comment.php şu şekilde ve dediğiniz kodlar yok.;
    Alıntı
    <?php // Do not delete these lines
    if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    die ('Please do not load this page directly. Thanks!');
    if (!empty($post->post_password)) { // if there's a password
    if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
    ?>

    <div class="entry">Bu yazı parola korumalıdır. Lütfen parolayı giriniz.</div>

    <?php
    return;
    }
    }
    /* This variable is for alternating comment background */
    $oddcomment = 'alt';
    ?>

    <!-- Buradan itibaren duzenlenebilir. -->


    <?php if ($comments) : ?>

    <div class="yorumAlani">
    <div class="yorumBaslik1"><img src="<?php echo get_settings('home'); ?>/wp-content/themes/Bilgiliportal/images/spacer.gif" /></div>
    <div class="yorumBaslik">
    <div class="yBaslik">Yorumlar ve Geribildirimler</div>
    <div class="ySayisi"><?php comments_number('0', '1', '%' );?> adet</div>
    </div>
    <div class="yorumBaslik2"><img src="<?php echo get_settings('home'); ?>/wp-content/themes/Bilgiliportal/images/spacer.gif" /></div>

    <div id="comments">

    <?php foreach ($comments as $comment) : ?>
    <?php $comment_type = get_comment_type(); ?>
    <?php if($comment_type == 'comment') { ?>

    <div class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
    <div class="yorumTek">

    <div class="yorumBilgi">
    <div class="gravatar"><?php if(function_exists('get_avatar')) { echo get_avatar($comment, '30'); } ?></div>

    <div class="detay"><?php comment_author_link() ?> <a href="<?php comment_link(); ?>" style="text-decoration:none">#</a><br/>
    <bilgi><?php comment_date('j F Y') ?>, <?php comment_time() ?> <?php edit_comment_link('*','',''); ?>
    <?php if ($comment->comment_approved == '0') : ?>
    <em>(Yorumunuz Editör onayı beklemektedir. Anlayışınız için teşekkür ederiz.)</em>
    <?php endif; ?></bilgi>
    </div>

    </div>
    <div class="tekYorum"><?php comment_text() ?></div>
    <div class="yorumAyrac"><img src="<?php echo get_settings('home'); ?>/wp-content/themes/Bilgiliportal/images/y-ayrac.gif" width="600" height="5" /></div>

    </div>
    </div>

    <?php /* Changes every other comment to a different class */
    if ('alt' == $oddcomment) $oddcomment = '';
    else $oddcomment = 'alt';
    ?>
    <?php } else { $trackback = true; } /* End of is_comment statement */ ?>
    <?php endforeach; /* end for each comment */ ?>

    </div>

    <?php if ($trackback == true) { ?>

    <?php foreach ($comments as $comment) : ?>
    <?php $comment_type = get_comment_type(); ?>
    <?php if($comment_type != 'comment') { ?>
    <div class="yorumTek">
    <div class="tekYorum"><?php comment_author_link() ?></div>
    <div class="yorumAyrac"><img src="<?php echo get_settings('home'); ?>/wp-content/themes/Bilgiliportal/images/y-ayrac.gif" width="600" height="5" /></div>
    </div>
    <?php } ?>
    <?php endforeach; ?>

    <?php } ?>



    <div class="yaziAlt"><img src="<?php echo get_settings('home'); ?>/wp-content/themes/Bilgiliportal/images/spacer.gif" /></div>


    </div>

    <?php else : // this is displayed if there are no comments so far ?>

    <?php if ('open' == $post->comment_status) : ?>
    <!-- If comments are open, but there are no comments. -->
    <?php else : // comments are closed ?>

    <!-- If comments are closed. -->
    <div class="duzYazi">Bu yazı yoruma kapalıdır.</div>
    <?php endif; ?>
    <?php endif; ?>

    <?php if ('open' == $post->comment_status) : ?>

    <div class="yorumYapAlani">
    <div class="yorumBaslik1"><img src="<?php echo get_settings('home'); ?>/wp-content/themes/Bilgiliportal/images/spacer.gif" /></div>
    <div class="yorumBaslik">
    <div class="yBaslik">Sizin Yorumunuz</div>
    </div>
    <div class="yorumBaslik2"><img src="<?php echo get_settings('home'); ?>/wp-content/themes/Bilgiliportal/images/spacer.gif" /></div>
    <div id="respond"></div>

    <div class="yorumYapTek">
    <div class="tekYorumyap">

    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    <div class="duzYazi">Eğer blogda kaydınız varsa yorum yapmadan önce <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">giriş</a> yapmalısınız.</div>
    <?php else : ?>

    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    <?php if ( $user_ID ) : ?>
    <div class="tekYorumYapYazi">Daha önce bu isimle giriş yaptınız: <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a> (<a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Çıkış &raquo;</a>)
    </div>
    <?php else : ?>
    <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" tabindex="1" />
    <label for="author"><span class="tekYorumYapYazi">İsim (Gerekli)</span> <?php if ($req); ?></label></p>
    <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" tabindex="2" />
    <label for="email"><span class="tekYorumYapYazi">Mail (Gerekli, Gizli)</span> <?php if ($req); ?></label></p>
    <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" tabindex="3" />
    <label for="url"><span class="tekYorumYapYazi">Var ise Siteniz</span></label></p>
    <?php endif; ?>
    <textarea name="comment" id="comment" tabindex="4"></textarea><br/>
    <input name="submit" type="submit" id="submit" tabindex="5" value="Yorumu Gönder" />
    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /><br/>
    <?php do_action('comment_form', $post->ID); ?>
    </form>
    </div>
    </div>
    </div>
    <div class="yaziAlt"><img src="<?php echo get_settings('home'); ?>/wp-content/themes/Bilgiliportal/images/spacer.gif" /></div>
    </div>

    <?php endif; // If registration required and not logged in ?>
    <?php endif; // if you delete this the sky will fall on your head ?>
  • 19-12-2009, 19:39:39
    #25
    ASP
    Üyeliği durduruldu
    Eklenti kullanman şartmı kardeş ne gereği var eklentiye anlamadım gitti.Boşu boşuna yük bindireceksiniz.
  • 19-12-2009, 21:47:55
    #26
    ASP adlı üyeden alıntı: mesajı görüntüle
    Eklenti kullanman şartmı kardeş ne gereği var eklentiye anlamadım gitti.Boşu boşuna yük bindireceksiniz.
    bende eklenti kullanmak istemiyorum kodlarla yapmaya çalışıyorum olmuyor hocam 500-600 tane yorumlar var bir sayfada..acayip kasılıyor.Artık yapamazsam mecbur varzgeçeceğim
  • 19-12-2009, 22:38:31
    #27
    ASP
    Üyeliği durduruldu
    burakscan adlı üyeden alıntı: mesajı görüntüle
    bende eklenti kullanmak istemiyorum kodlarla yapmaya çalışıyorum olmuyor hocam 500-600 tane yorumlar var bir sayfada..acayip kasılıyor.Artık yapamazsam mecbur varzgeçeceğim
    Koda felan gerek yok yahu yeterki eklentisiz yapmak istiyorum de



    Admin panelden - tartışma - resimde işaretlediğim yerleri kendine göre ayarla.