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.

Commenting is not available in this channel entry.

February 02, 2011 12:29pm

Subscribe [4]
  • #1 / Feb 02, 2011 12:29pm

    jamestowers

    53 posts

    I’m having issues with comments…

    I have commenting allowed for the channel in the admin panel - admin > Channel prefs > channel >Edit prefs > Comment posting prefs.

    But any new entries have commenting disallowed, if I go into the admin panel and tick “Update all existing entries with this setting?” all entries can be commented on again but any new ones i add after that can’t…

    Any idea why this might be?

    Here’s my code, it is outside the channel entries loop.

    <div id="commentlist">
    <h3>Comments</h3>
    <p>    {exp:comment:entries sort="asc"}<br />
            {if no_results}<br />
                There are no comments yet<br />
            {/if}<br />
            {if avatar}<br />
                <div class="commentavatar"><br />
                    <a href="http://{url}">{avatar_url}</a><br />
                </div><br />
            {if:else}<br />
                <div class="commentavatar">{images}avatars/avatar_blank.gif</div><br />
            {/if}<br />
            <div class="commentname"><br />
                <a href="http://{url}">{name}</a><br />
            </div><br />
            <div class="commenttime"><br />
                {comment_date format="%d %M %Y"}<br />
            </div><br />
            <div class="commenttext"><br />
                {comment}<br />
            </div><br />
        {/exp:comment:entries}<br />
    </div></p>
    
    <p><div id="commentform"></p><h3>Add a Comment</h3>
    
    <p>{exp:comment:form} <br />
        <div class="commentavatar"><br />
        {exp:member:custom_profile_data}<br />
            {if avatar}<br />
                   {avatar_url}<br />
            {if:else}<br />
                   {site_url}/images/avatars/no-logo.gif<br />
            {/if}<br />
        {/exp:member:custom_profile_data} <br />
        </div></p>
    
    <p>    {if logged_in}<br />
        <div class="commentname"><br />
                <a href="http://{url}">{name}</a></p>
    
    <p>        </div><br />
        <textarea name="comment" rows="8" cols="53" id="comment" >{comment}</textarea></p> <br />
        <input type="checkbox" name="notify_me" value="yes" {notify_me} /> Notify me of follow-up comments? <br />
        <input class="btn" type="submit" name="submit" value="Post" /></p> <br />
        <div class="clear"></div><br />
        {if:else}<br />
            Please sign up or login to comment<br />
            <a href="#%22class=%22overlay" rel="ajax/signup" class="overlay btn">Sign up</a><a href="#%22class=%22overlay" rel="ajax/login" class="overlay btn">Login</a><br />
        {/if}<br />
        <div class="clear"></div><br />
    {/exp:comment:form}<br />
    </div>

  • #2 / Feb 02, 2011 5:57pm

    Ingmar

    29245 posts

    Have you turned on both commenting in general and in particular for the channel you’re posting to? What version and build of EE are you using?

  • #3 / Feb 02, 2011 6:00pm

    jamestowers

    53 posts

    EE2, commenting is turned on for the channel but where do you turn commenting on in general from? I looked for something like that but couldn’t find it.

    Thanks

  • #4 / Feb 03, 2011 8:43am

    Sue Crocker

    26054 posts

    While you may have commenting turned on for the channel, you may have set the channel to not have Select ‘Allow Comments’ button in Publish page by default? turned on. See the attached screen shot.

  • #5 / Feb 03, 2011 9:11am

    jamestowers

    53 posts

    Ah yes, thanks Sue but I’m afraid I did have that set to yes. I should probably mention i’m using Safecracker so users never actually use the control panel publish window, not sure if that makes a difference

  • #6 / Feb 04, 2011 4:11am

    John Henry Donovan

    12339 posts

    jamestowers,

    Just to confirm. Any entry you add via SafeCracker doesn’t respect comment rules set in CP?

    If so then this is something you will have to follow up with in the SafeCracker support area or there may be a parameter to set this somewhere in their docs

  • #7 / Apr 08, 2011 12:57pm

    jamestowers

    53 posts

    Hi John, I’ve just realised this issue never got sorted, and of course now Barrett Newton will direct me back to you guys. Any new insight into why this might be happening?

  • #8 / Apr 08, 2011 4:09pm

    Sue Crocker

    26054 posts

    Hi, jamestowers. Are you using EE’s version of SC, or 1.03?

  • #9 / Apr 08, 2011 4:50pm

    jamestowers

    53 posts

    Ah, still using 1.03, I take it I should change? Is this a sI
    Ole process or is there some docs I should follow?

  • #10 / Apr 08, 2011 7:10pm

    Sue Crocker

    26054 posts

    Please do change to 2.0, so we’re both using the same version. Should be painless.

  • #11 / Apr 11, 2011 7:13pm

    jamestowers

    53 posts

    Hi Sue, all changed, what should i do next?

  • #12 / Apr 11, 2011 7:23pm

    Sue Crocker

    26054 posts

    Let’s have you post your SafeCracker form..

  • #13 / Apr 11, 2011 7:31pm

    jamestowers

    53 posts

    Here’s a simplified version of it as it’s pretty big

    
    									
  • #14 / Apr 11, 2011 9:32pm

    Sue Crocker

    26054 posts

    When I was reading through the Feature Requests area, I found something related to this, and it might be a bug. I’m going to test on EE2.1.3 build 20110411, which was just released a few minutes ago. Will be back in a bit..

  • #15 / Apr 20, 2011 5:11am

    jamestowers

    53 posts

    Hi Sue,
    Did you find anything?

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

ExpressionEngine News!

#eecms, #events, #releases