Cool – think you could turn it into a plugin?
I think for this to be successful, you’re going to want to make this with a bit of AI to compare profiles and build an array of individuals that each user may actually have a relationship with, or some commonality.
The best example is Facebook. It does a horrible job of recommending people I know, mostly because I’m friends with so many people that know each other that it recommends 50 people I’ve never met everyday.
If there was a action added, then yes it could be a plugin. But for now hacked code is good enough. I guess I could have written it with a hook, and added the hook myself, but either way it requires having a version not match the svn checkout, so I just hard coded values in for now.
@JJJ, due to the simplicity of profiles at this point, and the niche of my site, I don’t really have way to draw connections between users. The idea of showing people in the group, was just to attract attention to the groups and to member profiles. Our site is about showing off hot profiles, and the more places on the site where profile pictures are, the more page views the site can generate.
Brad
As long as you make a template function, then people can include it in their theme. I will add some hooks to the directories though.