Forums

check_comment in CVS (11 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    Thanks for the moderation check, comments now appear when not moderated - excellent.
    (1) Now is the fact I am not getting e-mails when comments are posted a problem on my end?
    (2) When set to "moderated" is there not supposed to be a message informing the poster of that fact?
    I will have to look into this some more, but just wanted to say thanks!

  2. Matt Mullenweg
    Troublemaker
    Posted 9 years ago #

    There should be some sort of message, working on this.

  3. Beel
    Member
    Posted 9 years ago #

    Well it is easy to assume I broke it, that's why I asked ;-) ... Now to figure out where the damage was done and get them both working...

  4. Beel
    Member
    Posted 9 years ago #

    Well, shoot I've done about all I can think of, including downloading the appropriate parts of the comment posting to see if I could get the April 1st nightly working. I can turn off and on comments just fine, but I am not notified by e-mail if someone posts a comment. Also there is no message that comment moderation is enabled so the poster has no idea what the status is of his/her post (and I have no idea when there are comments to be approved).
    Any suggestions or comments would be appreciated - including if others running the nightly have it working properly (so I know it is just me and should continue on my quest with renewed vigor!).

  5. pogi
    Member
    Posted 9 years ago #

    Hi Beel, try putting this in wp-comments.php where you'd like the comment moderation notice to be displayed. This portion of code was in the older code (i.e. miles and blakey afaik), but it has been taken out of wp-comments.php in the more recent nightlies. I have no idea why the devs took it out though. Perhaps they're cooking up a new way to announce comment moderation? Oh well, here's the code...

    <?php
    if ('none' != get_settings("comment_moderation")) {
    ?>

    Please note: Comment moderation is currently enabled so there may be a delay between when you post your comment and when it shows up. Patience is a virtue; there’s no need to resubmit your comment.

    <?php
    } // comment_moderation != 'none'
    ?>

  6. Beel
    Member
    Posted 9 years ago #

    Excellent - put the code back in and it is working properly. Now to figure out why I am not being emailed when a comment is posted...
    Thanks.

  7. pogi
    Member
    Posted 9 years ago #

    You're welcome. As for the e-mail notification deal, I have no idea what's going on with that since I haven't installed anything past the March 31st nightly. Perhaps the latest nightly (April 8) will resolve your problem, or else it could lead to even more bugs, hehe.

  8. Beel
    Member
    Posted 9 years ago #

    Nope, still didn't work. I wish I could recall when it stopped working on my W2K system but I can't. I even tried going back to 1.0.2 on a whim but got the "Sorry, you can only post ..." message. Didn't think it would work since all the database changes, but thought it was worth a shot.
    I am back to the foolish nightly. Hopefully one day, after a future upgrade, I will be pleasantly surprised.

  9. Beel
    Member
    Posted 9 years ago #

    Thanks again to pogi for setting me straight with my second question. As for the first, though I could find no code changes that would account for it, the first question has resolved after updating from the CVS. Go figger.

  10. pogi
    Member
    Posted 9 years ago #

    I'm glad it works for you now. ^_^

  11. ala_747
    Member
    Posted 9 years ago #

    I'm using the nightly 2004-05-14 and the code for the message must change to:

    <?php
    if (get_settings("comment_moderation")!=0) {
    ?>

    Please note: Comment moderation is currently enabled so there may be a delay between when you post your comment and when it shows up. Patience is a virtue; there’s no need to resubmit your comment.

    <?php
    } // comment_moderation != 'none'
    ?>

    If you not change it, it won't work because "comment_moderation" is now "0" or "1" on the db.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.