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: 25267
    Brajesh Singh on in reply to: Force friend connections – admin #3187

    Hi Alex,
    Thank you.
    Here is an example filter implementation to show you show to remove the button

    
    
    function buddydev_custom_disable_friends_button( $btn ) {
    
    	//$btn is an associative array
            //two keys are of our interest
    	//'id'                => 'not_friends'/ 'is_friend' / 'awaiting_response' / 'pending',
    	//Other important field is 'link_id'=> 'friendship-button-' . $potential_friend_id
    
    	//you can get the other user id from the link_id and current user id using get_current_user_id()
    	//and decide to change the args as needed
    	//if you return empty array or unset the 'id' key from the array, It will not generate any button
    	return array();
    }
    add_filter( 'bp_get_add_friend_button', 'buddydev_custom_disable_friends_button' );
    
    

    Please try going through it and see if it helps or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25267
    Brajesh Singh on in reply to: [Resolved] Cannot Create New Gallery #3184

    In that case MediaPress should work too.
    Can you please provide me temporary admin access to your site? Also, is the site live or in development mode ?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25267
    Brajesh Singh on in reply to: Force friend connections – admin #3183

    Hi Alex,
    Welcome to BuddyDev.

    1. To change “friends” to connections please use a translation tool(like poedit) and you can translate the text.

    For your other question, I will need a few details first:-

    1. How does the admin connects two user? I mean how are you adding two users as friend?
    2. DO you want to remove the add friend/remove friend completely or just add friend?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25267
    Brajesh Singh on in reply to: [Resolved] Cannot Create New Gallery #3180

    Hi,
    Your settings seem perfect to me. There is no issue using MediaPress with Boss theme. The only thing that I can not say for sure if the webserver. Haven’t tested MediaPress with IIS.

    Are other plugin like(followers& BuddyDrive) working correctly or do their sub page is giving 404 too?

  • Keymaster
    (BuddyDev Team)
    Posts: 25267
    Brajesh Singh on in reply to: [Resolved] Cannot Create New Gallery #3177

    Hi Olumuyiwa,
    Thank you for the prompt response.

    I am not sure what is causing as you seem to have it enabled properly. Can you please tell me which theme you are using ? Is it a BuddyPress specific theme?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25267
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25267
    Brajesh Singh on in reply to: [Resolved] Cannot Create New Gallery #3174

    Hi Olumuyiwa,
    Thank you for using MediaPress and my apologies for the inconvenience.

    Are you using any custom code too for MediaPress? Is it happening for user gallery(from profile?) Also, Can you please visit MediaPress->settings->Members and let me know what types have you enabled for the users?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25267
    Brajesh Singh on in reply to: Plugin feature request #3166

    Hi Andy,
    Thank you for posting.
    These are doable but we don’t have enough time at the moment to work on these. We will be taking another look in next two weeks when the work load will be a little lower and will let you know.

    Thank you
    Brajesh

    PS: The time example with the most Favorited is not suitable to be implemented as per the current specification.

  • Keymaster
    (BuddyDev Team)
    Posts: 25267
    Brajesh Singh on in reply to: Media Upload to a Group from User Activity Stream #3164

    Hi Leo,
    I am sorry about that. I could not add it in our last update. Another update is due early next week and I am planning to add it.

    It involves moving media between galleries and on the disk as well. I will be working on it this weekend.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25267

    Hi Paul,
    Thank you.
    I am glad the search is working. Indeed, It was ‘search_terms’ and not ‘search-terms’.

    About reordering, I will advise storing the numeric data in the media meta(post meta) using mpp_update_media_meta or update_post_meta and then doing it by keys. Media is just an attachment in WordPress, so everything that applies to attachment can be applied here.

    Hope that helps.