Replies
- Brajesh Singh on March 28, 2016 at 4:38 pm in reply to: [Resolved] Empty screen after compose message to non-friend user #3202This reply has been marked as private.
- Brajesh Singh on March 28, 2016 at 3:24 pm in reply to: [Resolved] Empty screen after compose message to non-friend user #3197This reply has been marked as private.
Hi Alex,
Thank you for the details.
1. It seems he did it in the admin and was facing issue with a BuddyPress function(he was looking for ways to stop notification) but he did not share the original code. So, unless the code is available, It will be a complete new plugin.If you are not familiar with code, you will need someone to implement it. It will need a couple of hours for anyone to implement.
That will need a custom implementation as far as I can think the UI.
I thought you had a solution for that. It can be a good candidate for a custom plugin itself.
It is a little complex as it will need to handle:-
1. Providing UI to select 2 users or Another when doing from some user’s profile
2. Automatic adding as friends(easy)
3. having UI to delete the connections.If you have some type of implementation and need any assistance with a particular thing, please do let me know.
Thank you Andy. Will certainly let you know.
- Brajesh Singh on March 28, 2016 at 12:36 am in reply to: [Resolved] Social Login – link account #3189
Hi Joshua,
Allowing unlinking is easy(as it will include deleting a few meta keys ). Allowing linking will depend on the plugin.
Does this plugin allows users to use their existing WordPress account? If yes, That can be done too.Please do let me know an we can add some snippet.
Thank you
Brajesh Thank you.
It was the Custom 404 Pro plugin causing issue. I have disabled it and the pages are working.
Can you please check it now?Thank you
BrajeshHi 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
Brajesh