• 07-08-2012, 02:40:48
    #1
    Arkadaşlar wp sitemde yorum yapan kişilerin otomatik olarak belirlediğim url yi girme imsakı varmıdır.
  • 07-08-2012, 13:47:34
    #2
    değişken mi olacak yoksa sabit bir link mi?
  • 07-08-2012, 17:15:31
    #3
    Her kişiye özel web sitesi farklı ve otomatik olsun diyorsanız imkansız.
  • 08-08-2012, 02:01:43
    #4
    Misafir adlı üyeden alıntı: mesajı görüntüle
    değişken mi olacak yoksa sabit bir link mi?
    sabit bir link yeterlidir.
  • 08-08-2012, 10:28:50
    #5
    comments.php dosyasını buraya ekler misin?
    • SaLeh
    SaLeh bunu beğendi.
    1 kişi bunu beğendi.
  • 08-08-2012, 18:45:41
    #6
    <?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
    			?>
    
    			<p>Yorumları görebilmek için, parolayı girin.</p>
    
    			<?php
    			return;
    		}
    	}
    
    	/* This variable is for alternating comment background */
    	$oddcomment = ' alt';
    ?>
    <!-- You can start editing here. -->
    
    
    
    
    
    <?php if ('open' == $post->comment_status) : ?>
    <div class="yorum-formu">
    <h3 id="respond">Yorum Yap:</h3>
    <form id="comment-form" action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post">
    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    <p>Yorum yapmak için<a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">giriş</a> yapmalısınız.</p>
    <?php else : ?>
    								
    <?php if ( $user_ID ) : ?>
    <p> Giriş yapan kullanıcı: <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a></p><br />
    
    <?php else : ?>
    <p class="formbg"><input id="comment-name" value="<?php echo $comment_author; ?>" name="author"  type="text" class="formid" /> <label for="comment-name">İsim</label></p>
    <p class="formbg"><input id="comment-email" name="email" value="<?php echo $comment_author_email; ?>" type="text" class="formemail" /> <label for="comment-name">E-Mail</label></p>
    <?php endif; ?>								
    <p class="formtxt"><textarea id="comment" name="comment" cols="55" rows="4" style="width: 410px; height: 81px;"></textarea></p>
    <p><input name="submit" type="submit" id="submit" tabindex="5" class="button" value="yollaaaa!" />
    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    <?php endif; ?>
    </form>
    </div>
    <?php endif; ?>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    <div id="comments" class="yorumlar">
    <?php if ($comments) : ?>
    <br /><br />
    <h2><?php comments_number('Yorum Yapılmamaış.', '1 Yorum:', '% Yorum:' ); ?> </h2>
           
    <?php foreach ($comments as $comment) : ?>
     <div class="entry <?php echo $oddcomment; ?>" id="comment-<?php comment_ID(); ?>">
     <p class="avt"><img src="<?php gravatar("R", 32); ?>" alt="Avatar" /></p>
     <p class="name"><?php comment_author_link(); ?>: <p class="date">demiş ki</p></p>
     <p class="date"><a href="#comment-<?php comment_ID() ?>">Tarih: <?php comment_date('F jS, Y') ?> | Saat: <?php comment_time() ?></a>  <?php edit_comment_link('düzenle','|&nbsp;',''); ?> </p>
    <?php if ($comment->comment_approved == '0') : ?>
     <p><em style=" font-style: normal; color:#FF0000;">Yorum onaylanınca herkes tarafından görülebilecek.</em></p>
     <?php endif; ?>
     <div class="con"><?php comment_text() ?></div>
     <?php comment_reply_link( $args, $comment, $post ) ?> 
    </div>
    
    <?php
    /* Changes every other comment to a different class */
    $oddcomment = ( empty( $oddcomment ) ) ? ' alt ' : '';
    ?>
    <?php endforeach; ?>
    							
    <?php elseif ('open' != $post->comment_status) : ?>
    <?php endif; ?>
    </div>
    <?php if(function_exists('wp_paginate_comments')) {
        wp_paginate_comments();
    } ?>

    Buyrun Yardımınız için teşekkür ederim...
  • 08-08-2012, 18:54:20
    #7
    <?php comment_author_link(); ?>
    yazan yeri örn
    <a href="http://www.sefakilic.com.tr" target="_blank"><?php print get_comment_author(); ?></a>
    şeklinde kendinize uyarlayarak dener misiniz?
    Not: Dosyanızın yedeğini kesinlikle alınız.
  • 08-08-2012, 19:07:54
    #8
     <?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
                ?>
    
                <p>Yorumları görebilmek için, parolayı girin.</p>
    
                <?php
                return;
            }
        }
    
        /* This variable is for alternating comment background */
        $oddcomment = ' alt';
        $site = "http://www.siteadi.com";
    ?>
    <!-- You can start editing here. -->
    
    
    
    
    
    <?php if ('open' == $post->comment_status) : ?>
    <div class="yorum-formu">
    <h3 id="respond">Yorum Yap:</h3>
    <form id="comment-form" action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post">
    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    <p>Yorum yapmak için<a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">giriş</a> yapmalısınız.</p>
    <?php else : ?>
                                    
    <?php if ( $user_ID ) : ?>
    <p> Giriş yapan kullanıcı: <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a></p><br />
    
    <?php else : ?>
    <p class="formbg"><input id="comment-name" value="<?php echo $comment_author; ?>" name="author"  type="text" class="formid" /> <label for="comment-name">İsim</label></p>
    <p class="formbg"><input id="comment-email" name="email" value="<?php echo $comment_author_email; ?>" type="text" class="formemail" /> <label for="comment-name">E-Mail</label></p>
    <p class="formbg"><input id="comment-email" name="email" value="<?php echo $comment_author_email; ?>" type="text" class="formemail" /> <label for="comment-name">E-Mail</label></p>
    <p style="display:none;"><input name="url" value="<?php echo $site;?>" type="text" />
    <?php endif; ?>                                
    <p class="formtxt"><textarea id="comment" name="comment" cols="55" rows="4" style="width: 410px; height: 81px;"></textarea></p>
    <p><input name="submit" type="submit" id="submit" tabindex="5" class="button" value="yollaaaa!" />
    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    <?php endif; ?>
    </form>
    </div>
    <?php endif; ?>
    
    
    <div id="comments" class="yorumlar">
    <?php if ($comments) : ?>
    <br /><br />
    <h2><?php comments_number('Yorum Yapılmamaış.', '1 Yorum:', '% Yorum:' ); ?> </h2>
           
    <?php foreach ($comments as $comment) : ?>
     <div class="entry <?php echo $oddcomment; ?>" id="comment-<?php comment_ID(); ?>">
     <p class="avt"><img src="<?php gravatar("R", 32); ?>" alt="Avatar" /></p>
     <p class="name"><?php comment_author_link(); ?>: <p class="date">demiş ki</p></p>
     <p class="date"><a href="#comment-<?php comment_ID() ?>">Tarih: <?php comment_date('F jS, Y') ?> | Saat: <?php comment_time() ?></a>  <?php edit_comment_link('düzenle','|&nbsp;',''); ?> </p>
    <?php if ($comment->comment_approved == '0') : ?>
     <p><em style=" font-style: normal; color:#FF0000;">Yorum onaylanınca herkes tarafından görülebilecek.</em></p>
     <?php endif; ?>
     <div class="con"><?php comment_text() ?></div>
     <?php comment_reply_link( $args, $comment, $post ) ?> 
    </div>
    
    <?php
    /* Changes every other comment to a different class */
    $oddcomment = ( empty( $oddcomment ) ) ? ' alt ' : '';
    ?>
    <?php endforeach; ?>
                                
    <?php elseif ('open' != $post->comment_status) : ?>
    <?php endif; ?>
    </div>
    <?php if(function_exists('wp_paginate_comments')) {
        wp_paginate_comments();
    } ?>
        $site = "http://www.siteadi.com";
    burayı kendinize göre değiştirmeniz yeterli.

    Şu şekilde dener misiniz? Ayrıca daha hızlı sonuca ulaşmak için site adresini buradan veya özel mesaj yoluyla gönderir misin?
    • SaLeh
    SaLeh bunu beğendi.
    1 kişi bunu beğendi.