Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on 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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: [Resolved] rtMedia to Mediapress #14998

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Daniel,
    No problem.

    Thank you for the patience.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: [Resolved] Ajax Registration #14996

    HI Daniel,
    Please allow me to look into it. I will need 24-48 hours to investigate and assist.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: BuddyPress Activity Comment Notifier #14995

    Hi 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.php 
    

    to

    
    
    Your theme or childtheme/mediapress/default/buddypress/gallery/directory/index.php
    
    

    and 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Julia,
    My code deletes all read notifications when you are on notifications page(unread). It does not do anything else.