Hi guys,
1. On my website, on the BP activity there is for each post stated “time-since” of the posting in green color. Normally, when somebody clicks the “time since” link in green color, he gets redirected to the activity.
However, since I am using media press and somebody posts a photo and clicks on the “since time” he gets redirected to mediapress albums, means that mediapress has overwritten that link.
Could you please help me to get this fixed in order that when clicking on the link always the user gets redirected to the activity and not to mediapress albums?
2. When opening a picture in lightbox, then I see the whole history of the user wall on the right and I can scroll down, but I only would like to see that particular activity. Is there a way to only show this particular activity without wall history?
Thank you for your assistance.
Regards
DanielHi Daniel,
Thank you for the question.1. This is by design.
Currently, you can disable it by using the following code.
// disable MediaPress activity filtering. add_action( 'mpp_init', function () { remove_filter( 'bp_activity_get_permalink', 'mpp_filter_activity_permalink', 10 ); } );
2. It is not history. It is the comment on that specific media. Currently, there is no way top disable that portion only. You can completely disable the light box from the settings though.
Regards
BrajeshHi Brajesh,
I recognized that when I post a Youtube link and I write something in the activity above the Youtube link, I can edit the activity card at anytime, but when I post pictures throug MediaPress, then I cannot edit the card later because the “Edit” button doesn’t show.
Might you know how I can enable editing when posting Mediapress pictures?
Thanks for your info.
Regards
DanielHi Daniel,
1. You can put the code in your them,e(or child themes) functions.php
2. You are most probably using a plugin for editing the activity(ours or others). None of the plugin support editing MediaPress activities.Regards
BrajeshHi Daniel,
Thank you for the confirmation.Happy New Year 🙂
Regards
Brajesh
The topic ‘ [Resolved] Mediapress has overwritten theme's link of BP activity posts’ is closed to new replies.