BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24733
    Brajesh Singh on in reply to: Error with user dasboad Gallery view #892

    Can you please try disabling other plugins( I believe it is a test site as per our previous discussions) except BuddyPress and MediaPress. Does that fixes it. Some plugin/code is most probably trying to redirect after load-edit.php action, they should instead do it on admin_init .

    We just need to find out which one and can suggest a patch to the author if that is the case.

  • Keymaster
    (BuddyDev Team)
    Posts: 24733

    Hi,
    Apologies for delayed follow up.
    I will post some code later today that will allow you do it.
    Just to be sure
    1. Field should be only admin editable
    2. field should be visible to all.

    Is that correct?

  • Keymaster
    (BuddyDev Team)
    Posts: 24733
    Brajesh Singh on in reply to: [Resolved] Mediapress Activity notifications #888

    Good closing it now 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 24733

    Hi george,
    Marking it resolved then. Please do open new topic if you find some.

    PS: Thank you for all your feedback. You have helped in a huge way and I appreciate that.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24733

    You are right. If the sitewide galleries are not enabled, It will not work. I will disable the Add Gallery button in next update if the sitewide gallery is not enabled. From backend, you can edit/delete all type of the galleries but only sitewide galleries can be created.

    I went with tis route to make the first use of new gallery screen better. Otherwise, we need to provide choices for component( say groups, select group to attach etc) and that makes the whole experience bad.

    That’s why only sitewide gallery creation is allowed. At the moment, only admins are allowed but I have plans to allow it to editors/contributors/authors as well.

  • Keymaster
    (BuddyDev Team)
    Posts: 24733
    Brajesh Singh on in reply to: [Resolved] Mediapress – Adding new gallery #885

    Hi george,
    Can you pleas post a screenshot for the description. Is it showing the whole or just partial?

  • Keymaster
    (BuddyDev Team)
    Posts: 24733

    “media” is used internally and is reserved, please use “gallery”, “album” , “photos” etc.

    Please do note that following are reserved and might have side effects. reserved names
    1. media
    2. photo, audio,video,docs( Any media type should be considered reserved)
    3. ‘manage’, ‘edit’, ‘delete’, ‘change-cover’ these are action names and should be avoided too

    You can use photos(note the s) or videos etc or even gallery/album or anything except the above 5. In any case, do not use ‘media’ at all. It is registered as an end point and has very special meaning. The behaviour is unpredictable for media.
    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 24733

    Oops, I was replying while you already found the solution.

    You are fast 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 24733

    Hi Nauti,
    Currently you can do it via bp-custom.php

    
    if ( ! defined( 'MPP_GALLERY_SLUG' ) ) {
            define( 'MPP_GALLERY_SLUG', 'xyz' );
    	}
    

    It is there to avoid slug conflict if you are already using an existing gallery plugin. As mentioned above, you can change it from bp-custom.php and in future, I will provide a setting option to do the same.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 24733
    Brajesh Singh on in reply to: Error with user dasboad Gallery view #873

    Is there any chance you are using some type of access restriction/redirect plugin. I checked and we see that on load-edit.php action we are echoing some inline css. That should work fine unless some plugin is trying to do a redirect after that action.