wpsharks / comment-mail

A WordPress plugin enabling email subscriptions for comments.
http://comment-mail.com
GNU General Public License v3.0
8 stars 3 forks source link

Comments order in notifications #269

Open IvanRF opened 8 years ago

IvanRF commented 8 years ago

I moderate comments. I just used the option "Approve and Reply" and the comments in the notification mail are in the opposite order. In other words, the reply appears first and then the original comment:

For example, for a comment->reply->reply the mail content is:

In response to this comment posted by Colin: 
....
This reply was posted 19 hours ago by Ivan: (Comment 2 - Reply to Comment 1)
...
------------
This comment was posted 1 day ago by Colin. (Comment 1)
....
------------
In response to this comment posted by Ivan: 
....
This reply was posted 13 hours ago by Colin: (Comment 3 - Reply to Comment 2)
....

So, the comment which originated the thread is in the middle and it should be the first one.

raamdev commented 8 years ago

@IvanRF It's not clear from your example which comment is a top-level comment and which comment is a sub-comment. Could you label them with "Level 1", "Level 1 Reply 1", etc?

IvanRF commented 8 years ago

@raamdev I edited the example

IvanRF commented 8 years ago

@raamdev it is the first time I use the WordPress option "Approve and Reply", maybe that caused those 2 comments to be in reverse order.

I checked the comments ids and the numbers are in sequential order, and so are the dates. So, I don't know why they have that final order in the email.

raamdev commented 8 years ago

@IvanRF I agree, something seems off there. I'm going to mark this as something that needs testing so that we can take a closer look. Is there another way of approving and replying to comments that doesn't seem to cause the out-of-order behavior?

IvanRF commented 8 years ago

@raamdev I normally use the quick links for each comment. First, click "Approve" and then I use the "Reply" link. This time, I used the Reply link without previously approving, and that's when the option "Approve and Reply" appears as the button.

renzms commented 7 years ago

@raamdev

Tested this using Approve and Reply, WordPress 4.6.1 running Twenty Sixteen theme with Comment Mail Pro Version 160818 installed. Using only default email templates.

Was unable to replicate thread seen above.

In response to your comment:

4th

   This reply was posted 1 minute ago by tester:

     5th

         Continue reading | Reply to tester

The top most comment was the oldest comment, and the lowest comment was the latest approved and replied to comment. A reply to a reply/approve and reply only showed the previous parent comment and the current child comment.

raamdev commented 7 years ago

@renzms Thanks for testing. @IvanRF Do you see anything off about how Renz is trying to reproduce the issue you were seeing? Are you still seeing this issue on your end?

IvanRF commented 7 years ago

@raamdev I don't normally use Approve and Reply, but I will try it next time.