BuddyDev

Search

[Resolved] MediaPress Audio

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #44468

    Hi Dale,
    Thank you for your patience.

    I am sorry, It took me a lot longer to test. I do see that the experience for Audio gallery that opens in lightbox is bad.

    The problem is BuddyX heavily customizes css for the Magnific popup plugin that we are using for lightbox.
    Their css is causing hidden previous/next button and makes the size of the lightbox large(and uncomfortable for the audio).

    A temporary fix for now is to use the following code to disable opening of the audio in lightbox when the gallery cover is clicked.

    
    // disable lightbox on audo gallery cover click.
    add_filter( 'mpp_gallery_html_attributes_pre', function ( $args ) {
    
    	$gallery = mpp_get_gallery( $args['gallery'] );
    	if ( $gallery && 'audio' === $gallery->type ) {
    		$args['class'] .= ' mpp-no-lightbox';
    	}
    
    	return $args;
    } );
    
    

    Also, to be clear here, we don’t have an album view for audio in the lightbox. What we did earlier(we will change it in future and use an album view) was to open the audio in light box where you can move between the media items using prev/next in the lightbox. This prev/next is getting hidden in the buddyx currently.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 22
    Dale on #44469

    Also I am experiencing a problem when uploading a music or photo when I get the following error but the upload actually has worked and the file is available to view on the site.

    20220305_163341.jpg(1.9 mb)x An error occurred in the upload. Please try again later.

  • Participant
    Level: Enlightened
    Posts: 22
    Dale on #44470

    Is there a way to make a private photo album and then invite specific people to be able to view that album to view and optionally add to that album? Example would be a group of people that would be on a trip and want to share photos with each other and no one else.
    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #44473

    Hi Dale,
    1. The error is very generic and use by pluploader to show when something goes wrong and It can not identify the cause(If you are using our development version from github, Please do let me know, In that case, we have dropped the old style uploader and will need to look through the newer implementation).

    Is normal uploader from WordPress media upload (Dashboard->Add Media) screen working?
    Can you also provide me last few lines of your error log to identify it.

    2. We do have a plugin for allowing collaboration. It is in beta. The plugin will probably be a pro plugin, so I can not share a direct download link here.

    Do you want to give it a try? If yes, I can share a copy via google drive.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 22
    Dale on #44476

    Yes the backend Media upload works fine without errors.
    I enabled debugging and then only upload a image to one of my albums, the error log created a large number of lines with errors shown below…

    [19-Apr-2022 06:19:03 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:03 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:04 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:04 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:05 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:05 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:06 UTC] PHP Deprecated: _register_skins is deprecated since version 3.1.0! Use Elementor\Widget_Base::register_skins() instead. in /home/famlingo/public_html/wp-includes/functions.php on line 5323
    [19-Apr-2022 06:19:06 UTC] PHP Notice: Undefined variable: unsubscribe_dialog_text in /home/famlingo/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/pnfpb_push_notification.php on line 439
    [19-Apr-2022 06:19:06 UTC] PHP Notice: Undefined variable: subscribe_dialog_text in /home/famlingo/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/pnfpb_push_notification.php on line 439
    [19-Apr-2022 06:19:07 UTC] PHP Notice: Trying to get property ‘user_login’ of non-object in /home/famlingo/public_html/wp-content/plugins/activity-reactions-for-buddypress/class/class.php on line 1082
    [19-Apr-2022 06:19:07 UTC] PHP Notice: Undefined variable: unsubscribe_dialog_text in /home/famlingo/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/pnfpb_push_notification.php on line 439
    [19-Apr-2022 06:19:07 UTC] PHP Notice: Undefined variable: subscribe_dialog_text in /home/famlingo/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/pnfpb_push_notification.php on line 439
    [19-Apr-2022 06:19:09 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:09 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:11 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:11 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:11 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:11 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:12 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:12 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:14 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:14 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:16 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:16 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:16 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:16 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:29 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:29 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:31 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:31 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:44 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:44 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:52 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:52 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:53 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/2328 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:53 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/2268 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:53 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3260 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:53 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3259 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3285 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3328 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3363 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3368 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3367 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3505 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3514 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3559 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/2232 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3696 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3775 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: Undefined index: /home/famlingo/public_html/wp-content/uploads/mediapress/members/27/3814 in /home/famlingo/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1200
    [19-Apr-2022 06:19:54 UTC] PHP Notice: compact(): Undefined variable: in /home/famlingo/public_html/wp-content/plugins/mediapress/core/media/mpp-media-functions.php on line 1118
    [19-Apr-2022 06:19:54 UTC] PHP Notice: compact(): Undefined variable: in /home/famlingo/public_html/wp-content/plugins/mediapress/core/media/mpp-media-functions.php on line 1118
    [19-Apr-2022 06:19:59 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775
    [19-Apr-2022 06:19:59 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-dialog handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/famlingo/public_html/wp-includes/functions.php on line 5775

  • Participant
    Level: Enlightened
    Posts: 22
    Dale on #44477

    I should add that the upload to a user gallery is where I have the upload error, not at the activity page.
    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #44478

    Hi Dale,
    Thank you for the log.

    I don’t see any of the notices above causing it.

    There are 2 notices from MediaPress( undefined index and compact). Both of these notices are fixed in ur development version available on github. It is awaiting a release pending some comprehensive test.

    Rest of the noticxe is thrown due to one of your plugins incorrectly enqueing script.

    From your log, It seems the push notification and activity relations for bp are responsible for other notices.

    Please disable the debug and link me to your site. I will register a guest account and check the upload to assist you further.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 22
    Dale on #44481

    Yes I see a lot of errors from other plugins, I am going to have to find someone to help with that.

    I have the site closed to registration only by email invitation…I can send you a invite.
    http://www.famlingo.com

    Thanks

  • Participant
    Level: Enlightened
    Posts: 22
    Dale on #44493

    I need your email address you would use to sign in as a guest…so I can send you a site invite.
    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #44495

    Hi Dale,
    I was planning to use a disposable email for testing.

    I had a look and I do see that registration is disabled. Please provide me a temporary guest account in that case.

    Thank you
    Brajesh

The topic ‘ [Resolved] MediaPress Audio’ is closed to new replies.

This topic is: resolved