BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24990

    Hi Micah,
    The page you are referring to is our directory page and It has no role in gallery creation.
    When you click submit button a gallery is created and in normal case you should be redirected to its add media page but it seems the returned url is incorrect. It should never use mpp-gallery in the url( That is the post type slug) for members gallery.

    Can you please provide me the code that you have used to define the MPP_GALLERY_SLUG

  • Keymaster
    (BuddyDev Team)
    Posts: 24990

    Hi Micah,
    I am sorry for the trouble.
    Most probably one of the plugin you are using is filtering post_type_permalink incorrectly.
    Also, If you have set MPP_GALLERY_SLUG, what is the value.

    There is no harm in setting the MPP_GALLERY_SLUG slug, the message is for the post type slug. MPP_GALLERY_SLUG is different and only changes the ‘mediapress’ part of your url and I strongly recommend changing it to something like gallery or album etc to make it better.

  • Keymaster
    (BuddyDev Team)
    Posts: 24990

    Hi Jan,
    Thank you. I appreciate the help 🙂
    There is no need to worry about the change as that will be overwritten and is included in the updates.

    I will post back here after pushing the changes.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24990

    Hi Jan,
    I had another look and there is a mistake on the current github version that uses bp_include hook for loading functions causing this issue. Please give me 2-3 hours and I will push my working copy on github that fixes it. It will be a little bit premature for my working copy to be there, but I don’t see any harm in doing so.

    My apology for all the inconveniences.

  • Keymaster
    (BuddyDev Team)
    Posts: 24990

    Hi Jan,
    sorry, That was late here too.

    Can you please visit a group( front end of site) and see if you see Gallery tab on that group? If not, go to that group->Admin->Settings page and enable the Gallery. Try creating a gallery/uploading there and see if it is behaving correctly or not?

    I believe, you are trying to upload from sitewide activity page and selecting a group. In that case, media is being added to user wall gallery instead? Is that correct?

  • Keymaster
    (BuddyDev Team)
    Posts: 24990
    Brajesh Singh on in reply to: Browse media? #601

    Hi Achim,
    Thank you for using MediaPress.

    The prev/next is available in activity if you have enabled the Lightbox. Also, if you are on single Media page, you can see two links at the bottom, those are for previous/next media. You may need some css to replace the link text with arrow image instead.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 24990

    Hi Jan,
    This plugin has no external dependencies and you are right that it replaces them.

    About group upload, please make sure that groups is enabled from MediaPress->settings page. Also, please do check that the group has gallery enabled. It can be enabled/disabled for individual groups from group settings page.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 24990

    Hi Jan,
    Thank you for trying MediaPress and my apologies for the inconvenience.
    It seems you have groups disabled at the moment. The current code is mistakenly checking for the function(It should not have).

    For the time being, can you please edit that file and replace the line with this

    this line( no. 21 )

    
    
        if( function_exists( 'bp_is_group' ) && bp_is_group() && ( ! mpp_is_active_component( 'groups' ) || ! mpp_group_is_gallery_enabled() ) )
            return;
    
    

    to

    
    
     //if we are on group page and either the group component is not enabled or gallery is not enabled for current group, do not show the icons
        if( function_exists( 'bp_is_group' ) && bp_is_group() && ( ! mpp_is_active_component( 'groups' ) || ! ( function_exists( 'mpp_group_is_gallery_enabled') && mpp_group_is_gallery_enabled() ) ) )
            return;
    
    

    I should have pushed the changes as it is minor but my working copy is around 90 commits above the current MediaPress trunk on github, so I need you to do it. Other solution is enable groups for now.

    I will be pushing a change in 1-2 days that fixes it(Already on my working copy) and adds a lot of other new features.

    Thank you
    Brajesh

    • This reply was modified 9 years, 8 months ago by Brajesh Singh.
    • This reply was modified 9 years, 8 months ago by Brajesh Singh. Reason: Updating code
    • This reply was modified 9 years, 8 months ago by Brajesh Singh. Reason: My bad kept copying the same code
  • Keymaster
    (BuddyDev Team)
    Posts: 24990
    Brajesh Singh on in reply to: BP Magic Sidebar login #585

    Hi Jay,
    did that work for you or not? will appreciate your feedback.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24990
    Brajesh Singh on in reply to: [Resolved] Anonymous Plugin with rtMedia (conflict) #583

    Closing this as It is related to 3rd party plugin and hoping that they should have dealt with it by now.