Ich wundere mich das ich seit Woche keine Kommentare mehr lese und nun musste ich feststellen das Gäste, also Besucher die keinen festen Account haben keine Kommentare abgeben können.
Ich weiß nicht ob es an einem Update der wordpress Version lag, aber Gäste haben zwar das Recht Kommentare abzugeben und das Eingabefeld ist auch vorhanden, aber wenn man etwas einträgt und auf Senden klickt läd die Seite neu als wenn der Kommentar angenommen worden wäre aber es erscheint nix. Kein Kommentar, auch nichts zum Freischalten ... :?
Normale Benutzer und auch der Admin können noch ganz normal Kommentare abgeben.
Ich benutze das deutsche Blix Theme und die neuste Wordpress DE Version. Plugins die die Kommentarfunktion betreffen: Edit Comments XT 1.0
Mein Blog: NEME.animeblogger.net » Dein Blog über Anime im TV, auf DVD und im Kino!
Meine comments.php Datei:
<!-- comments ................................. -->
<div id="comments">
<?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 class="nocomments"><?php _e("Zur Ansicht der Kommentare brauchen Sie ein Passwort."); ?><p>
<?php
return;
}
}
$commentalt = '';
$commentcount = 1;
?>
<?php if ($comments) : ?>
<h2><?php comments_number('jetzt kommentieren?', 'bisher 1 Kommentar', 'bisher % Kommentare' ); if($post->comment_status == "open") { ?> <a href="#commentform" class="more">Eigenen Kommentar schreiben</a><?php } ?></h2>
<ul>
<?php foreach ($comments as $comment) : ?>
<li id="comment-<?php echo comment_ID() ?>" class="<?php comment_type('comment','trackback','pingback'); ?>">
<?php
global $comment;
if ( ($comment->comment_author_email == get_the_author_email()) && ($comment->user_id != 0) ) {
echo "<p class='hneme'>";
} else {
echo "<p class='header'>";
}
?>
<strong><?php echo $commentcount ?>.</strong>
<?php if (function_exists("gravatar")) { ?><img src="<?php gravatar("R", 23); ?>" alt="" class="gravatar" /><?php } ?>
<?php if ($comment->comment_type == "comment") comment_author_link();
else {
strlen($comment->comment_author)?$author=substr($comment->comment_author,0,25)."&hellip":$author=substr($comment->comment_author,0,25);
echo '<a href="'.$comment->comment_author_url.'" target="_blank">'.$author.'</a>';
}
?> | <?php comment_date('d.F Y') ?> um <?php comment_time() ?> <?php if (function_exists('edit_comments_xt_link')) { edit_comments_xt_link(); } else { edit_comment_link('edit',' ',''); } ?></p>
<?php if ($comment->comment_approved == '0') : ?><p><em>Ihr Kommentar wartet auf die Freigabe.</em></p><?php endif; ?>
<?php comment_text() ?>
<?php edit_comment_link('Edit Comment','<span class="editlink">','</span>'); ?>
</li>
<?php
($commentalt == " alt")?$commentalt="":$commentalt=" alt";
$commentcount++;
?>
<?php endforeach; /* end for each comment */ ?>
</ul>
<?php endif; ?>
<?php if ($post->comment_status == "open") : ?>
<h2><?php echo (isset($_GET['edit_comments_xt'])) ? "Bearbeite diesen Kommentar" : "Ihr Kommentar"; ?></h2>
<?php if (get_option('comment_registration') && !$user_ID) : ?>
<p>Sie müssen sich <a rel="nofollow" href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">anmelden</a> um Kommentare zu schreiben.</p>
<?php else : ?>
<div id="respond">
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<fieldset>
<?php
if ( isset($_GET['edit_comments_xt']) ) :
$edit_comment_xt = edit_comments_xt_init();
if (!$edit_comment_xt) : return; endif;
elseif ( $user_ID ) :
?>
<p class="info">Angemeldet als <a rel="nofollow" href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a rel="nofollow" href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>">Abmelden</a>.</p>
<?php else : ?>
<p><label for="author">Name</label> <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" tabindex="1" /> <?php if ($req) echo "<em>Pflichtfeld</em>"; ?></p>
<p><label for="email">Email</label> <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" tabindex="2" /> <em><?php if ($req) echo "Pflichtfeld, "; ?>anonym</em></p>
<p><label for="url">Url</label> <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" tabindex="3" /></p>
<?php endif; ?>
<p><label for="comment">Kommentar</label> <textarea name="comment" id="comment" cols="45" rows="10" tabindex="4"><?php if (function_exists('edit_comments_xt_content')) edit_comments_xt_content($edit_comment_xt); ?></textarea></p>
<p><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
<input type="submit" name="submit" value="Senden" class="button" tabindex="5" /></p>
</fieldset>
<?php do_action('comment_form', $post->ID); ?>
</form>
</div>
<p><strong>Folgende HTML-Tags sind erlaubt:</strong><br/><?php echo allowed_tags(); ?></p>
<?php endif; // If registration required and not logged in ?>
<?php endif; // if you delete this the sky will fall on your head ?>
<?php if ($post-> comment_status == "open" && $post->ping_status == "open") { ?>
<p><a rel="nofollow" href="<?php trackback_url(display); ?>">Trackback diesen Artikel</a> | <?php comments_rss_link('Kommentare als RSS Feed abonnieren'); ?></p>
<?php } elseif ($post-> comment_status == "open") {?>
<p><?php comments_rss_link('Kommentare als RSS Feed abonnieren'); ?></p>
<?php } elseif ($post->ping_status == "open") {?>
<p><a rel="nofollow" href="<?php trackback_url(display); ?>">Trackback diesen Artikel</a></p>
<?php } ?>
</div> <!-- /comments -->
Alles anzeigen