It is my pleasure to introduce the BuddyPress Limit Friendship plugin today. As a site owner, you can set the maximum no. of friends a user can have on your social network using this plugin.
After setting a limit, you can select one of the two criteria to limit the friendship.
The criteria are:-
- No. of Existing Friends
- No. of Existing Friends + No. of Pending Friendship Request Sent & Received
When you select the criteria as No. Of existing Friends + Friendship Requests, the plugin will check for both the users that they don't have crossed the limit(The sum of Friendship Requests sent, which is pending; The friendship requests received which is not approved and the total no. of exiting friends is less than the allowed limit for both the users).
This plugin is also compatible with our Extended Friendship request plugin.
Here is an example of what happens when a user tries to add new friend.
The best use case will be to use this plugin in a membership based site and ask users to upgrade account for more friends or to use it as a tool for spam control(Do not allow too many friends quickly).
For now, I have allowed users to accept any pending request they already have even if the limit is over. Please do let me know if you don't want that and I will include it.
Download & Installation:-
I hope that it helps some of you. More plugin are coming next, please do keep visiting