ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Comment form doesn’t work for guests

June 01, 2011 11:12am

Subscribe [1]
  • #1 / Jun 01, 2011 11:12am

    restos

    54 posts

    I´ve a problem with comment form. In Channel preferences allow guest to post comments but channel entry doesn´t display comments form for guest but for members works fine.

    My code:

    {exp:comment:form preview="channel/preview" url_title="{segment_3}" channel="blog" rating:enabled="yes"}
    
    {if rating:not_rated}
        <label>Rate:</label>
        <select name="rating[default]">
            <option value="1">1</option>
            <option value="2">2</option>
            <option value="3">3</option>
            <option value="4">4</option>
            <option value="5">5</option>
        </select>
            
    {/if}  
    
    
    {if logged_out}
    Name: <input type="text" name="name" value="{name}" size="50" /></p>
    Email: <input type="text" name="email" value="{email}" size="50" /></p>
    Location: <input type="text" name="location" value="{location}" size="50" /></p>
    URL: <input type="text" name="url" value="{url}" size="50" /></p>
    {/if}
    
    <textarea name="comment" cols="70" rows="10">{comment}</textarea></p>
    <input type="checkbox" name="save_info" value="yes" {save_info} /> Remember my personal information
    <input type="checkbox" name="notify_me" value="yes" {notify_me} /> Notify me of follow-up comments?
    <input type="submit" name="submit" value="Submit" />
    
    {/exp:comment:form}

    Any Help?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases