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: 25265

    Hi Mark,
    Welcome to BuddyDev forums.

    I specifically added that filter for your requirement. I am sorry, I was not able to help there in time.

    Can you please put this code in your bp-custom.php and see if it works

    
    add_filter( 'ac_notifier_skip_notification', 'bp_ac_custom_exclude_rtmedia_activity', 10, 2 );
    
    function bp_ac_custom_exclude_rtmedia_activity( $exclude, $activity ) {
    	
    	if ( ! empty( $activity ) && $activity->type =='bp_album_picture' ) {
    		return true;
    	}
    	
    	return $exclude;
    }
    

    I am not familiar with what activity type RTMedia uses but a quick looks shows ‘bp_album_picture’. So, That code should work.

    Please try and let me know.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25265

    Thank You. Marking it as resolved. Please feel free to reopen a new topic if you find any issues.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25265
    Brajesh Singh on in reply to: Cannot upload a JPEG file larger than 2 MB AGAIN #2232
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25265
    Brajesh Singh on in reply to: Cannot upload a JPEG file larger than 2 MB AGAIN #2230

    Oops, It could be the extension. What is the file extension. Can you please post the complete filename/extension?

  • Keymaster
    (BuddyDev Team)
    Posts: 25265
    Brajesh Singh on in reply to: Cannot upload a JPEG file larger than 2 MB AGAIN #2228

    Strange but I am able to upload files without any issue. I tried one png and jpg and both worked. Can you please check my profile. I was uploading from activity screen. Is the issue happening on single gallery screen?

  • Keymaster
    (BuddyDev Team)
    Posts: 25265

    Hi Jamie,
    Can you please delete the plugin and reinstall it.

    I have made sure that the notifications are only deleted when activity or comment is deleted or marked unfavorite.

    I have tested it WordPress 4.4 + BuddyPress 2.4.3 (non multisite). If that does not fixes it, Please do let me know if you are using other plugin related to notification(like live notification etc)

  • Keymaster
    (BuddyDev Team)
    Posts: 25265
    Brajesh Singh on in reply to: Cannot upload a JPEG file larger than 2 MB AGAIN #2225

    Hi Leo,
    Please PM me the site details. The only reason that error is shown because the server generated invalid json response. I can quickly check and let you know what caused it.

    Or you can check it in the browser console if you are using firebug.

  • Keymaster
    (BuddyDev Team)
    Posts: 25265
    Brajesh Singh on in reply to: Cannot upload a JPEG file larger than 2 MB AGAIN #2222

    Do you see any error or message generated by MediaPress while uploading?

  • Keymaster
    (BuddyDev Team)
    Posts: 25265
    Brajesh Singh on in reply to: Cannot upload a JPEG file larger than 2 MB AGAIN #2220

    Hi Leo,
    I am sorry for the trouble.

    Is it happening for all user types or just for subscribers. Your settings are fine, so Those can not cause the issue. Also, I don’t see any suspect plugin here. Just need some more clue. Are you able to upload the same file with WordPress media uploader?

  • Keymaster
    (BuddyDev Team)
    Posts: 25265
    Brajesh Singh on in reply to: Whats the action for photo upload #2219

    Hi Israel,
    Please use the action “mpp_media_upload” for MediaPress uploads.

    Does that work for you?