Page 1 of 1

comment limit

Posted: Thu Apr 09, 2009 6:51 am
by rj
Just as I began getting comments they complain that they can only comment or reply once per article. To make another reply they have to reload the page. They are fighting! Which is good! But they want to reply to each other over and over again and are not allowed.
I suppose the 1 comment (reply) limit is about spam protection but I need to take the chance and turn it off if possible... I need to let users comment as much as they want under each article without reloading which they tell me they find ULTIMATELY ANNOYING!! :)
thanx
RJ

Re: comment limit

Posted: Thu Apr 09, 2009 9:47 am
by garvinhicking
Hi!

You need to edit your entries.tpl file. There you can see severl checks like {if $is_comment_added}. If you add this code just below the $CONST.COMMENT_ADDED} output, you should get the commentform on that page:

Code: Select all

                {if $is_comment_added}

                <br />
                <div class="serendipity_center serendipity_msg_notice">{$CONST.COMMENT_ADDED}</div>

                <br />
                <div class="serendipity_section_commentform">
                        <div class="serendipity_commentsTitle">{$CONST.ADD_COMMENT}</div>
                        {$COMMENTFORM}
                                </div>
(You could also adjust the if/else-logic, but since that is more to explain, I told you the easier way [which has duplicate code].

Regards,
Garvin

Re: comment limit

Posted: Thu Apr 09, 2009 4:55 pm
by rj
Ah!!

That did it! Boy oh boy... thanks a bunch Garvin!