BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25132

    That is very strange. Can you please check by disabling NGG for a moment that is it happening when NGG is installed or just with DJD Site Post?

    PS: If you have debug enabled in wp-config, MediaPress will have issues with these 2 plugin. I have checked DJD and it throws a lot of notice making any JSON response invalid.

    I strongly recommend enabling Debug on test sites but be aware that MediaPress expects valid json responses and any plugin thwoing notice can cause a lot of issue.

  • Keymaster
    (BuddyDev Team)
    Posts: 25132

    Hi George,
    I am sorry for the inconvenience.

    can you please post me the debug details from MediaPress->tools section. Most probably it has to do with file extension.

    Do you note any javascript error there on the upload pages by any chance?

  • Keymaster
    (BuddyDev Team)
    Posts: 25132
    Brajesh Singh on in reply to: [Resolved] Show number of pics in album list #1238

    Hi,
    here is the code

    
    add_filter( 'mpp_get_gallery_title', 'mpp_custom_inject_media_count_in_gallery_title', 10, 2 );
    function mpp_custom_inject_media_count_in_gallery_title( $title , $gallery = null ) {
    	
    	
    	
    	//only show it on gallery home
    	if( mpp_is_gallery_home() ) {
    		
    		$gallery = mpp_get_gallery( $gallery );
    		
    		$count = absint( $gallery->media_count );
    		
    		return "({$count}) {$title}";
    	}
    	
    	return $title;
    }
    

    Please put it in your bp-custom.php or your theme’s functions.php and on user gallery page it will show the count.

  • Keymaster
    (BuddyDev Team)
    Posts: 25132
    Brajesh Singh on in reply to: [Resolved] Show number of pics in album list #1233

    Hi Terjemk,
    Thank you for posting the topic.
    It is easily doable. Can you please post me a screenshot and point me where would you like to see the count. I will post the code that will enable it.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25132
    Brajesh Singh on in reply to: [Resolved] Incompatibility found: DJD Site Post #1229

    Thank you 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25132

    I hope that the other fix should automatically fix it too. Please do check with the update and let me know.

  • Keymaster
    (BuddyDev Team)
    Posts: 25132
    Brajesh Singh on in reply to: [Resolved] Incompatibility found: DJD Site Post #1223

    Have fixed and pushed. It was related to javascript dependency. The dependency I had declared was conflicting with the Media models, so I have moved to even better minimal dependency.

  • Keymaster
    (BuddyDev Team)
    Posts: 25132
    Brajesh Singh on in reply to: [Resolved] Incompatibility found: DJD Site Post #1222

    Hi George,
    Thank you. Just checked and can confirm it. Working on a solution.

  • Keymaster
    (BuddyDev Team)
    Posts: 25132
    Brajesh Singh on in reply to: Lightbox setting not having effect #1219

    Thank you George.
    More is coming soon. Have finished 4 addons for MediaPress and going to work on a few more in next couple of days. Then, we will have it all 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25132
    Brajesh Singh on in reply to: Description not showing in Activity feed #1217

    Hi George,
    Thank you for posting.

    1. Showing the image details in the activity, I will consider about that for sure and will let you know when we have it. I am not entirely in favor of showing it all the time but for single media uploads, that can be a good thing.

    2. Currently the image is cropped and not resized, that’s why. It is not about responsiveness, It is due to hard crop. I will add an option in the admin panel today to enable hard cropping vs resizing. I have been waiting on this as I wanted to have the options to allow admin decide the media sizes from admin but I will add the cropping/resizing for now without waiting anymore.