I’m having multiple problems with comments. I’m not sure if this is new since updating to EE 2.1.3 or if it existed in previous builds.
Here’s the relevant code for the comment form:
<!-- START COMMENT FORM -->
{exp:channel:entries channel="{hasten}" limit="1"}
{if allow_comments}
<div id="respond">
<div id="form_wrap">
<h3>Leave a reply</h3>
<p>{exp:comment:form}<br />
<div class="form-left"><br />
{if logged_out}<br />
<input type="text" name="name" id="name" tabindex="1" value="Name (required)"><br />
<input type="text" name="email" id="email" tabindex="2" value="Email (required)"><br />
<input type="text" name="url" id="url" tabindex="3" value="Website (optional)"><br />
{/if}<br />
{if logged_in}<br />
<input type="text" name="name" id="name" tabindex="1" value="{name}" disabled="disabled" /><br />
<input type="text" name="email" id="email" tabindex="2" value="{email}" disabled="disabled" /><br />
<input type="text" name="url" id="url" tabindex="3" value="{url}" disabled="disabled" /><br />
{/if}<br />
</div><br />
<div class="form-right"><br />
<textarea rows="9" cols="10" name="comment" id="comment" tabindex="4">Type your comment here…</textarea><br />
{if logged_out}<br />
<input type="checkbox" name="save_info" value="yes" {save_info} /><br />
<label for="save_info"><small>Remember my personal information</small></label><br />
{/if}<br />
<input type="checkbox" name="notify_me" value="yes" {notify_me} /><br />
<label for="notify_me"><small>Notify me of follow-up comments?</small></label><br />
{if captcha}<br />
Submit the word you see below:</p>
<p>{captcha}</p>
<p>{/if}<br />
<input type="submit" name="submit" tabindex="5" value="Submit" class="sb" /><br />
</div><br />
<input type='hidden' name='comment_post_ID' value='6' id='comment_post_ID' /><br />
<input type='hidden' name='comment_parent' id='comment_parent' value='0' /><br />
{/exp:comment:form}Regardless of whether or not I have ExpressionEngine 2.1.3’s comment posting preferences set to require membership to post comments for the channel, non-members are not allowed to post comments.
When a non-member attempts to post a comment (with EE comment posting preferences for the channel set to *not* require membership to post comments), the user receives EE’s You are not allowed to post comments error.