ZenphotoCMS Forum
Moderated Comments Not Working - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Moderated Comments Not Working (/thread-1768.html)



Moderated Comments Not Working - birgi - 2007-11-07

I just upgraded from 1.0.8

I was hoping to use comment moderation to ensure I can approve comments BEFORE they are visible to the world.

When I turn on "Mark all comments for moderation", the user gets an error message.

Try it here: http://www.reakelly.com/gallery

Any idea how I can fix this?

Thanks




Moderated Comments Not Working - sbillard - 2007-11-07

In your theme image.php the code for checking for an error should be:
` if (isset($error)) {

          echo "";

            echo "";

              echo '';

              if ($error == 1) {

                echo "There was an error submitting your comment. Name, a valid e-mail address, and a spam-free comment are required.";

              } else {

                echo "Your comment has been marked for moderation.";

              }

              echo "";

            echo "";

          echo  "";

        }`