Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Duplicates are only an issue for the original activity entry. It does this on purpose because menu access to the original activity entry is not available in an insert. That means the owner or admins wouldn't be able to edit, delete, or report the original activity. Facebook does the exact same thing, but the assumption here is that activity on the site isn't so slow that it poses a problem. It's possible in code for me to suppress duplication of the original but for the reasons listed it will continue to display.What you proposed kind works but not really. For example, user 1 makes post 1, user comments on post 1. Then you have inside the stream directly next to each other "post 1" and then "replica-post 1" That doubles the content and superbly confuses the user. I have done the test already (although quite some time ago).
There is no way to do that without scanning the comments table when querying for activity, which for reasons listed in my previous reply is not going to happen.Regarding the posting, I was thinking along those lines. Activity gets a timestamp directly from post IF there are no comments. If there are comments (which have all already been found by CB activity), THEN it disregards the timestamp of the post BUT only uses the timestamp of the most recent comment.
That's not how the streams work. The activity query has no clue comments even exist. It's a fast lookup query after activity has already been loaded to see if comments exist (it's not a join or subquery in the activity query as that would hurt performance). So the activity query has no access to that information.That would not necessitate anymore SQL queries since it has already loaded all the data. It only looks in the comments that it has found to be anyway associated with the activity post....
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You'll probably need to use a Code action since you need to load by a specific activity entry, which the CB Activity action can't do. Example as follows.Agreed the auto action would solve it the best, however I have absolutely no idea how to make it. Any help?
The date output can be modified using the display triggers. Display trigger for activity entries is as follows.Also, there would be a really "easy" way to have all of the required stuff. If the timestamp for the activity posts (like in the picture below) where to be taken from another column than the timestamp of the ordering (ordering timestamp could be influenced by the Auto action you mentioned) then everything would work just perfectly.
I've no plans to implement activity bumping, but you can by all means do so using CB Auto Actions. This behavior will be available to Discussion streams when implemented (basically Forums).IMPORTANT: Facebook uses the "XYZ commented on ACTIVITY-abc" way ONLY on the Newsfeed (where they have selective algorithms). Inside Groups for example (where you see all the posts one after the other as is the case with the stream, ie it is chronological), they use the timestamping method you described with the auto action and another column for the original activity timestamp.
Please Log in or Create an account to join the conversation.