- Brajesh Singh on May 29, 2019 at 8:18 pm #23247
You are welcome.
For now, Please use the change from the github.
My plan is to release next version with a bit better lightbox(already implemented, needs minor tweak) and remote only media upload in addition to a few other improvements.
Due to prior commitments I haven’t been able to spend much time on MediaPress. Hoping to add these features by the 2nd week of June and then push a release.
- Richard Foley on May 30, 2019 at 4:41 pm #23257
Many thanks again!
- Brajesh Singh on June 12, 2019 at 5:36 pm #23491
There was a slight change in 1.4.5. This is not enabled by default as it had a side effect when one media is uploaded with any comment(it showed the activity xyz added a media in the lightbox).
To renable it, Please use
add_filter('mpp_use_single_media_upload_as_media_activity', '__return_true' );
- Richard Foley on June 13, 2019 at 5:57 pm #23499
ok, thanks very much for the information. Is this the permanent solution, or might you use a config/settings option to control this behaviour in the future? Just a thought.
Also, I notice that I the activity-media-comments-to-media is only *sometimes* carried over!
I haven’t identified when it works and when it doesn’t work, yet, currently it just appears to be random. Sometimes the media displays the activity comment, and sometimes it doesn’t. :\
I’m using both MP v1.4.5 and your suggested filter above.
- This reply was modified 3 years, 11 months ago by Richard Foley.
- Brajesh Singh on June 13, 2019 at 6:55 pm #23501
1. Once you add the above code, if a user uploads single media in activity, it will treat any comment on that media as media’s activity.
2. If there are more than 1 media attached to same activity, It will be treated as gallery activity.
Hope that clarifies.
This is a work around for now. For last few days, I have been rethinking our approach for comments and there are better ways to handle it. Since we will need to migrate user’s old activities to our system, I am keeping it in our future major milestone.
MediaPress is going to be our major priority in future. I plan to restart the active development of MediaPress around end of August and we will have the comments as well as a lot major updates after that.
- Richard Foley on June 13, 2019 at 7:29 pm #23502
ok, I see the missing media comments in the gallery. This is not very intuitive, as nobody is going to look at the gallery and say “aha, there is my comment I made on that media”. On the plus side, at least the comments *are* stored with the relevant media gallery. I’m also really pleased to hear you are going to focus on mediapress again soon!
However, I still don’t think this is behaving quite like you think it is. For example, there is a user who has uploaded a single media. This generates a “user added 1 photo” into the activity feed, including a thumbnail. When I comment on this thumbnail activity, the comment does NOT get attached to the media.
- Brajesh Singh on June 13, 2019 at 8:19 pm #23503
Once you have added the code for filter in your bp-custom.php, It will behave like I explained earlier.
It will show on as gallery comments only if you did not use the code or the number of media was greater than 1.
It applies to new uploads and not retrospectively.
Please give it a try.
- Richard Foley on June 14, 2019 at 6:14 am #23506
I stand happily corrected 🙂
The behaviour I was seeing was because the single-media-upload I tested against was an existing (old) media upload. I hadn’t appreciated that part of your description. Against new single media uploads, the behaviour is exactly as expected.
- Brajesh Singh on June 14, 2019 at 9:13 pm #23520
Thank you for confirming. I am glad it is working 🙂
The topic ‘ [Resolved] Mediapress comments and Activity Feed comments’ is closed to new replies.