Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorkroli86
    • CommentTimeJan 2nd 2008
     
    at Post a comment, how can i disable E-mail,image verification?

    PLZ i hate that
    • CommentAuthorphAn
    • CommentTimeJan 9th 2008
     
    Me too. You need to edit the comments.php in your themes/yourtheme/ directory. I myself use the 'softer' theme (can be found on the forums or google). Look for this code:

    <form action="' . $config["gallery_url"] . 'plog-comment.php" method="post" id="commentform">
    <p>
    <input type="text" name="author" id="author" class="textarea" value="" size="28" tabindex="1" />
    <label for="author">Name</label> (required) <input type="hidden" name="comment_post_ID" value="40" />
    <input type="hidden" name="parent" value="'.plogger_get_picture_id().'" />
    </p>
    <p>
    <input type="text" name="email" id="email" value="" size="28" tabindex="2" />
    <label for="email">E-mail</label> (required, but not publicly displayed)
    </p>
    <p>
    <input type="text" name="url" id="url" value="" size="28" tabindex="3" />
    <label for="url">Your Website (optional)</label>
    </p>
    <p>
    <label for="comment">Your Comment</label>
    <br /><textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
    </p>
    <p class="inputbuttonp">
    <input class="submit" name="submit" type="submit" tabindex="5" value="Post Comment" />
    </p>
    </form>';

    And start hacking away. I changed it into

    <form action="' . $config["gallery_url"] . 'plog-comment.php" method="post" id="commentform">
    <p>
    <input type="text" name="author" id="author" class="textarea" value="" size="28" tabindex="1" />
    <label for="author">Je naam</label> (verplicht) <input type="hidden" name="comment_post_ID" value="40" />
    <input type="hidden" name="parent" value="'.plogger_get_picture_id().'" />

    <input type="hidden" name="email" id="email" value="anonymous@user.com" size="28" tabindex="2" />
    <p>
    <label for="comment">Je reactie</label>
    <br /><textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
    </p>
    <p class="inputbuttonp">
    <input class="submit2" name="submit" type="submit" tabindex="5" value="Plaats reactie" />
    </p>
    </form>';

    So now the form only requires a name and the comment. Note the hidden input for the e-mail adress, which is required by plogger, and now defaults to 'anonymous@user.com' for every comment.