Replies
- This reply has been marked as private.
Yep, that did it. Thank you Brajesh! 🙂
- Axel on June 28, 2019 at 11:00 am in reply to: [Resolved] BuddyPress Extended Friendship Request #23704
Ok thanks Ravi
I figured out what I was trying to achieve but can you suggest a function to put in bp-custom.php`
I edited mediapress/mpp-core-component.php and changed the default Edit nav to point to settings.
I changed the below code
if ( mpp_user_can_edit_gallery( mpp_get_current_gallery_id() ) ) { $url = mpp_get_gallery_edit_media_url( mpp_get_current_gallery() ); // bulk edit media url. $links .= sprintf( '<li><a href="%1$s" title ="%2$s"> %3$s</a></li>', $url, _x( 'Edit Gallery', 'Profile context menu rel attribute', 'mediapress' ), _x( 'Edit', 'Profile contextual edit gallery menu label', 'mediapress' ) );
to
if ( mpp_user_can_edit_gallery( mpp_get_current_gallery_id() ) ) { $url = mpp_get_gallery_settings_url( mpp_get_current_gallery() ); // bulk edit media url. $links .= sprintf( '<li><a href="%1$s" title ="%2$s"> %3$s</a></li>', $url, _x( 'Edit Settings', 'Profile context menu rel attribute', 'mediapress' ), _x( 'Edit', 'Profile contextual edit gallery menu label', 'mediapress' ) );
Thanks again 🙂
Sorry Ravi, I will try again. I would like to have the Edit Details subnav on the same level as the Edit subnav.
ie current default is
1. Gallery
2. My Gallery, Edit, etc
3. View, Edit Media, Reorder, Edit DetailsI would like to move Edit Details to the number 2 position if it is possible.
Thanks again for your time 🙂
- Axel on May 21, 2018 at 6:37 am in reply to: Mediapress and Mediapress Featured Content Status Integration #15212
Thanks Brajesh 🙂
That worked. Thanks Brajesh. 🙂
Thank you RAvi, that worked! 🙂
I want to be able to visit user pages as super admin and set featured/remove featured media and not allow users access to this button.