Replies
- Brajesh Singh on May 11, 2018 at 5:53 pm in reply to: Issue/Bug with plugin BuddyPress Profile Visibility Manager #15025
Hi Thorsten,
It is very strange that removing timestamp from a user can cause this. Still, I am going to test it this weekend with all of these and will update you.Regards
Brajesh - Brajesh Singh on May 10, 2018 at 9:09 pm in reply to: URGENT ! Can't logout, my client complain #15017
Please disable this plugin and check again.
It seems to me you are redirecting to a page which might not be accessible for the normal users.Is there any restriction plugin? if yes, Please do check the permission for the Logout page.
- Brajesh Singh on May 10, 2018 at 7:04 pm in reply to: URGENT ! Can't logout, my client complain #15014
Hi Julia,
Can you please tell me if the logout button from the adminbar is working or not?Please visit Dashboard and from the adminbar select logout, is it working?
Regards
Brajesh - Brajesh Singh on May 9, 2018 at 9:04 pm in reply to: Issue/Bug with plugin BuddyPress Profile Visibility Manager #15008
Hi Thorsten,
Thank you for the screenshot.
It seems to me when we remove the time something is throwing fatal error and causing rest of the items to go blank.’I will suggest enabling WP_DEBUG and post me the fatal error.
I can hopefully make sense of that and find a reason.
Regards
Brajesh - Brajesh Singh on May 9, 2018 at 5:40 pm in reply to: Issue/Bug with plugin BuddyPress Profile Visibility Manager #15005
hi Thorsten,
Welcome back.It seems some other plugin is doing it. I checked by hiding the last active time and it worked fine for me.
Is there any chance that you are using stealth mode for siteadmin plugin? That might cause this issue though.
Please checka nd let me know.
Regards
Brajesh Hi Nik,
Thank you.I certainly believe that you sharing code was very helpful. I haven’t checked RT Media’s code/architecture in recent past, so I was not aware.
It will help us when I or my team writ a migrator and when we do, if we ever get into trouble with there architecture, I will be getting in touch with you for the guidance.
Thank you again.
Brajesh
- Brajesh Singh on May 8, 2018 at 7:12 pm in reply to: Implementing Instagram Photos into MediaPress ? #14997
Hi Daniel,
No problem.Thank you for the patience.
Regards
Brajesh HI Daniel,
Please allow me to look into it. I will need 24-48 hours to investigate and assist.Thank you
BrajeshHi Nik,
Thank you.
The page is Gallery directory which is available when you use it with BuddyPress. It lists galleries with public/logged in visibility.
1. For templateting:L- If you want to control the whole page layout etc, please create a page template and set it as the template for Gallery Directory page from Pages edit screen.
To modify the loop/content, Please copy the
plugins/mediapress/templates/mediapress/default/buddypress/gallery/directory/index.phpto
Your theme or childtheme/mediapress/default/buddypress/gallery/directory/index.phpand please feel free to modify it.
I will work on documentation a lot more after we get 3 more features/enhancements(remote media, transcoding, and moving to another storage architecture). We will have these by 1.5 and then documentation will be my focus.
For the activity comment part, Please use the following snippet.
/** * Disable commenting on MediaPress activity. * * @param bool $can_comment can comment? * @param string $activity_type activity type. * * @return bool */ function mpp_custom_disable_activity_comment( $can_comment, $activity_type ) { if ( 'mpp_media_upload' == $activity_type ) { $can_comment = false; } return $can_comment; } add_filter( 'bp_activity_can_comment', 'mpp_custom_disable_activity_comment', 10, 2 ); /** * Disable comment reply. * * @param bool $can_comment con comment? * @param BP_Activity_Activity $comment comment object. * * @return bool */ function mpp_custom_disable_activity_comment_reply( $can_comment, $comment ) { $activity = new BP_Activity_Activity( bp_get_activity_id() ); if ( $activity->id && 'mpp_media_upload' === $activity->type ) { $can_comment = false; } return $can_comment; } add_filter( 'bp_activity_can_comment_reply', 'mpp_custom_disable_activity_comment_reply', 10, 2 );Regards
Brajesh- Brajesh Singh on May 8, 2018 at 5:15 pm in reply to: [Resolved] Auto delete "already red" buddypress notification #14990
Hi Julia,
My code deletes all read notifications when you are on notifications page(unread). It does not do anything else.