Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I just like to share this Friendship-Auto-Follow-Script with you. #131

Open
sturmfink opened this issue Feb 2, 2025 · 0 comments
Open

Comments

@sturmfink
Copy link

This file will enable automatic following for friendships (excluding Administrators).
Just put it somewhere and include it in your functions.php or your plugin
i.e. include('YOUR_FILE_PATH/bp-followers-auto-follow-friends.php');
(or copy and paste the code directly into your functions.php)

There are three Variations in here (A and B currently active):

A Automatically follow user when requesting a friendship with them
B Automatically follow user when accepting a friendship with them
C Automatically follow in both directions after a friendship is accepted

Varitions A and B obviously go well together :)
Variation C (currently commented out) should only be used singular

I hope this helps anyone:

-> Script

Have a beautiful day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant