WordPress.org

Ready to get started?Download WordPress

Forums

Ajax Comments-Reply
[resolved] AJAX on moderated comments? (2 posts)

  1. jayenashar
    Member
    Posted 3 years ago #

    Seems to work pretty well, except on moderated comments. The comments shows up for the commenter, and they don't know that their comment has been held for moderation.

    http://wordpress.org/extend/plugins/ajaxcomment/

  2. jayenashar
    Member
    Posted 3 years ago #

    Was able to fix it by adding a few lines in comments.php:

    <div class="body">
    			<?php if(function_exists('get_avatar'))echo get_avatar($c->comment_author_email, '80'); ?>
    			<?php comment_text();?>
    			<?php if ($c->comment_approved == '0') : ?>
    					<em><?php _e('Your comment is awaiting moderation.') ?></em>
    					<br />
    			<?php endif; ?>
    		</div>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic