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
    Brajesh Singh on in reply to: [Resolved] MediaPress Audio #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

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: [Resolved] MediaPress Audio #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

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: [Resolved] MediaPress Audio #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

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Chris,
    Hope you are doing well.
    I am sorry, I posted in wrong topic about the solution.

    Please upgrade to 1.2.2 and add the following code

    
    // add extra country to the country field dropdown.
    add_filter( 'bpxcftr_countries_list', function ( $countries ) {
    
    	$countries['XK'] = __( 'Kosovo', 'bp-xprofile-custom-field-types' );
    	// sort alphabetically by keys.
    	ksort( $countries );
    
    	return $countries;
    } );
    

    That will add the country.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi scoob ,
    I am very sorry, my previous reply was not intended for this topic.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: [Resolved] MediaPress Audio #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

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi,
    Thank you for your patience and I am sorry for the delayed reply.

    Please upgrade to 1.2.2 and add the following code

    
    // add extra country to the country field dropdown.
    add_filter( 'bpxcftr_countries_list', function ( $countries ) {
    
    	$countries['XK'] = __( 'Kosovo', 'bp-xprofile-custom-field-types' );
    	// sort alphabetically by keys.
    	ksort( $countries );
    
    	return $countries;
    } );
    

    That will add the country.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: [Resolved] Edit profile tab #44453
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Ethan,
    Welcome to BuddyDev support forums.
    I am very sorry for the delayed reply.

    I have checked your registration page(from the top right on your site as the linked page did not show the form).

    I don’t see the conditional javascript file being loaded there. Have you enabled it from Dashboard->Settings-> Member Types?

    If not, Please enable it and check again.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Naou,
    Welcome to BuddyDev support forums.

    I am sorry about the issue. The plugin creates a notification when an activity is published. It seems the media upload is creating individual activities for each.

    Can you please tell me which media plugin/solution are you using? I can put couple of line of code to avoid creating notification for that specific activity type.

    Regards
    Brajesh