• nrsz

    (@nrsz)


    hi all!

    i realized that people get frustrated when they want to leave comments on my wordpressblog because no “awaiting moderation” message appears. shouldn’t there be one? how can i switch it on?

    thanks

Viewing 15 replies - 1 through 15 (of 20 total)
  • Beel

    (@beel)

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

    Thread Starter nrsz

    (@nrsz)

    thanks – but where do i have to put these lines?

    stchatterbox

    (@stchatterbox)

    on your comment.php inside admin’s console—presentation—…..

    Thread Starter nrsz

    (@nrsz)

    i pasted the lines direct under:
    <!– You can start editing here. –>

    so it looks like this now:
    <!– You can start editing here. –>

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

    <?php if ($comments) : ?>
    <h3 id=”comments”><?php comments_number(‘No Responses’, ‘One Response’, ‘% Responses’ );?> to “<?php the_title(); ?>”</h3>
    ….

    but still, if i post a comment, i’ll get to the post afterwards again, but no message

    moshu

    (@moshu)

    It seems you copied the code outside of the Loop.
    Could you, please, paste your comments.php to https://pastebin.com and post back the URI?

    Beel

    (@beel)

    The code has to be in the comment loop somewhere – can’t tell if it is awaiting moderation if the comment hasn’t been pulled yet.

    Thread Starter nrsz

    (@nrsz)

    Thread Starter nrsz

    (@nrsz)

    i edited lines 22 – 24.

    moshu

    (@moshu)

    You already have the code in line 35, so delete what you pasted in.
    If you are logged in you probably won’t see the message, but for anybody else it should be visible – provided you turned on the moderation.

    Thread Starter nrsz

    (@nrsz)

    it’s getting worse. i deleted the lines again, so it looks like this now:
    https://pastebin.com/416146

    + i get the message:
    Parse error: parse error in /home/n/nrsz.net/public_html/wordpress/wp-content/themes/nrsz-london/comments.php on line 50

    in my blog. see:
    https://london.nrsz.net/?p=67

    moshu

    (@moshu)

    You deleted too much ??
    I hope you have a backup of the original comments.php. Just upload that one and it should work.

    Thread Starter nrsz

    (@nrsz)

    ok. at least it’s working again. but still – and i also tried it from a computer where i never logged into my blog before – i don’t get the “awaiting moderation” message. not on a pc, not on a mac. the only thing i didn’t try is ie because it’s nowhere installed…

    moshu

    (@moshu)

    If you give us a link we can try to see it for ourselves ??

    Thread Starter nrsz

    (@nrsz)

    i did it before, but i love to do it again..

    https://london.nrsz.net/

    moshu

    (@moshu)

    Sorry, nwo I see it ??
    Well, the comment wnt through. Is the Options > Discussion > Before a comment appears:
    – An administrator must approve the comment (regardless of any matches below)
    CHECKED?

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘no “awaiting moderation” message’ is closed to new replies.