Replies
- Tosin on April 14, 2017 at 4:48 pm in reply to: [Resolved] Remove add friend button for member type on members page/members loop #8597
Ok this will work, all I have to do is create a new custom user role and automatically assign the role with the necessary member types. So when a new user registers as either a brand or business his role will automatically be registered as the custom role. You can paste the code.
Thank you very much for your help I really appreciate your effort.
- Tosin on April 11, 2017 at 12:58 pm in reply to: [Resolved] Remove add friend button for member type on members page/members loop #8565
Ok thanks
Alternatively, what about removeing the friend tab in the navigation menu and drop down menu for one or more specific member types. This should solve the problem
- Tosin on April 10, 2017 at 8:03 pm in reply to: [Resolved] Remove add friend button for member type on members page/members loop #8556
This worked perfectly.
After applying the code I just came to the realization that the problem is solved half way because the button does not show up but the friend tab in the navigation bar still shows. I should have realized this from the begining.
So what do you think about disableing the actual buddypress friendship component for one or more specific member types.
Also thank you for tremendous support!!!
- Tosin on April 7, 2017 at 4:14 pm in reply to: [Resolved] Remove add friend button for member type on members page/members loop #8418
Is it possible to add more than one member type like business, brand, organization?
- Tosin on April 7, 2017 at 4:01 pm in reply to: [Resolved] Remove add friend button for member type on members page/members loop #8417
Thank very very much you are a life saver.
It worked perfectly, I am indebted to you, you are God sent.
I would really appreciate it if you can share this code to others on your blog. There might be other people having similar problems.