Replies
Hi Alex,
Thank you.
Here is an example filter implementation to show you show to remove the buttonfunction 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
BrajeshIn 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
BrajeshHi 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
BrajeshHi,
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?
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- Brajesh Singh on March 27, 2016 at 9:13 pm in reply to: [Resolved] Empty screen after compose message to non-friend user #3175This reply has been marked as private.
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
BrajeshHi 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
BrajeshPS: The time example with the most Favorited is not suitable to be implemented as per the current specification.
- Brajesh Singh on March 24, 2016 at 8:28 pm 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 - Brajesh Singh on March 24, 2016 at 8:26 pm in reply to: [Resolved] Searching and re-ordering within a gallery. #3163
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.