BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25083

    Hi Ricardo,
    I am sorry for the trouble.
    Please allow me 24 hours to push an update.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25083
    Brajesh Singh on in reply to: Pragmatically create mediapress Gallery! #49704

    Here is even easier suggestion.

    1. Use WordPress api to add file as an attachment
    2. Use the attachment id and import it to your gallery using the above solution

    You do not need to worry about upload locations etc as the plugin will take care of that.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25083
    Brajesh Singh on in reply to: Pragmatically create mediapress Gallery! #49703

    Hi Karamveer,
    Since you are able to successfully create an attachment, why not import it to gallery using

    
    mpp_import_attachment( $attachment_id, $gallery_id, $override = array() );
    

    This function calls import attachment internally whose implementation you can see here.
    https://github.com/buddydev/mediapress/blob/1.5-dev/core/media/class-mpp-media-importer.php#L44

    This should be straight forward solution for you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25083

    Hi Michael,
    I am sorry, I am having issues adding it to the core as it could break for existing user. Will it work if I add a filter and provide you couple of lines of code to make the ids stable/predictable.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25083
    Brajesh Singh on in reply to: BuddyBlog not functioning correctly #49699

    Hi Paul,
    Thank you.

    Please use any free service(such as https://imgbb.com/ or https://prnt.sc/) to link.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25083

    Hi Karl,
    Thank you for purchasing from us.

    Can you please provide us the details of BuddyBoss platform and themeversions?

    Also, when a user tries to connect/send request from profile, do the succeed or do they still get restricted(I understand that the message is not showing)?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25083
    Brajesh Singh on in reply to: Pragmatically create mediapress Gallery! #49697
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25083

    Hi Tim,
    Thank you for using the plugin.
    I am sorry I am not able to understand this.

    It works great except that all optional fields that are only visible when on other selections are made are counted in the Complete your Profile Details Counter (ie 10/21) in BuddyBoss

    What is profile details counter? Is it something supplied by BuddyBoss?
    The Conditional field plugin was written for BuddyPress and we it does not have any idea about the new things introduced in BuddyBoss.

    I don’t see any straight forward way to handle it. I will rather suggest configuring your Profile completion widget to avoid all fields from conditional field if that is possible.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25083
    Brajesh Singh on in reply to: Pragmatically create mediapress Gallery! #49682

    Hi Karamveer,
    Thank you.
    the gallery is a post type as you might have guessed already.
    Can you please check if the gallery exists on the site in context? Also, the media from a specific site ca be added to gallery on that site(gallery is set as parent post of the media internally in MediaPress).

    Please let me know if these conditions have met? If yes, please share your complete code using pastebin to allow me try the same.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25083
    Brajesh Singh on in reply to: Pragmatically create mediapress Gallery! #49677

    Hi Karamveer,
    MediaPress is compatible with multisite. It does not support network activation or BuddyPress Multi Network mode.
    As a comparison, consider the use case of WooCommerce on multisite, MediaPress behaves in similar way.

    You can activate it on individual sites but not use in network activation mode.

    Regards
    Brajesh