How to Make a Global Friend on BuddyPress

Written by on

I was recently working on a BuddyPress site where the site owner wanted everyone who signed up to be a friend of a "support" user. He wanted people to be able to direct message this account, and in this case, he had Comet Chat installed. This meant that if "support" were online, then anyone could chat with support. I dug into the BuddyPress DB to see how friends were enabled and wrote this function that you can put into your themes functions.php to enable.

Real Time Web Analytics ^