• Is there a way to let people know when their comments have been submitted for moderation? It would be nice if, when this happens, they were redirected to a page that said something like “Your comment has been submitted for moderation and will be posted soon, please don’t resubmit your comment”.

    Since you can elect be emailed when a comment needs to be moderated, there must be some way to do this, but I have not idea how to go about it. Any ideas?

Viewing 10 replies - 1 through 10 (of 10 total)
  • I have this inside <head> and I know it did work, but as what I write doesn’t get moderated, and Spam-Karma takes care of the rest of business ……

    <?php if ($_GET['moderated'] === 'true') { ?>
    <script type="text/javascript"><!--
    window.onload= function(){
    alert ("You comment was successfully processed!nnHowever, it has been placed into moderation.nnPlease be patient and do not resubmit your comment.");
    }
    //--></script>
    <?php } ?>

    That has processed incorrectly.

    https://www.tamba2.org.uk/downloads/mod.txt

    Thread Starter hesed2

    (@hesed2)

    Thanks for the response…So just putting that javascript in the header of my index.php file (or is it the comments-popup.php) should do the trick?

    Thread Starter hesed2

    (@hesed2)

    bump

    I used that bit of javascript with my 1.2 – I seem to remember you also had to edit wp-comments-post.php so that moderated=true was added to the url though…

    anyway, with 1.5 I now have this bit of code in the comments.php file:

    <?php if ($comment->comment_approved == '0') : ?>
    <em>Your comment is awaiting moderation.</em>
    <?php endif; ?>

    pinched straight from the default Kubrick comments.php file ??

    Thread Starter hesed2

    (@hesed2)

    Hmmm, that didn’t quite work. I just put the comment.php file from Kubrick 1.5 into my theme, the posted a comment using a bugus email address so it would get moderated, this is what I got:

    test Says: Your comment is awaiting moderation.
    March 3rd, 2005 at 11:53 pm

    test again

    It posted the comment and the warning!

    Thread Starter hesed2

    (@hesed2)

    If you post a two comments too quickly (like within 15 seconds) you get a message telling you to wait a couple seconds, can anyone tell me where that is, maybe I could adabt something from that.

    Moderator James Huff

    (@macmanx)

    Hesed, sorry I didn’t get here sooner. This is what you’re looking for:

    https://txfx.net/2004/10/29/wordpress-hack-notify-users-of-moderation/

    (FYI, v1.3 = v1.5 for this hack)

    Thread Starter hesed2

    (@hesed2)

    Thanks for the link macmanx…

    I’m using popup comments and have just figured out how to get it to reload the comment page when a comment is posted, but to do that I had to replace $location = get_permalink($comment_post_ID); with something else. So I’m not sure how to make both of these hacks work together. Any ideas?

    Thread Starter hesed2

    (@hesed2)

    Anyone have any idea?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Comment Moderation Notification’ is closed to new replies.