Does anyone know how to go about making a block that displays the users current pending and incoming friend requests?

I'm sure it is a very simple concept since this code is already written for profile view. Anyone, please let me know, it would be much appreciated. Thanks!

Comments

Popboard’s picture

This is very important for those who want to use template.php to override their profiles. There is currently no code that displays pending/incoming friend requests.

bluecobalt’s picture

What pending friend requests?

The current version of buddylist doesn't offer friend requests. You simply add someone as your friend and they get notified when they login. And, the relationships are one-sided until they add you as their friend.

There are a few alternate versions of the module listed in the issues queue that offer friend requests, but no one has come up with working patches to apply to the official version yet.

peace,
blue

Popboard’s picture

the one that robertDouglass made works wonderfully--That's the one I'm using.

The whole one sided friend request and 'buddies of' is impractical and no new member what find it appealing.

Hmm, where is RD when you need him

bluecobalt’s picture

Can you post a link to the download for the version you are talking about?

thanks,
blue

robertdouglass’s picture

RD is on vacation in Japan =) I'm going to ping the other maintainers of this module and alert them to this and the other outstanding issues, though.

rkn-dupe’s picture

Yeah popboard - post a link to that patch pls - or is it implemented in the 5 version?

Popboard’s picture

Hmm, RD posted it somewhere. It seems to have been removed since the new version of buddylist.module, however, the accept/reject has not been implimented in either version...

fago’s picture

Title: Pending/Incoming Friend Request Block » Pending/Incoming Friend Request views integration
Priority: Critical » Normal

yep, that would really be a nice feature. I suggest to make a views integration for the pending_requests table. Combined with the usernode module one would be able to make this block by using views.

rkn-dupe’s picture

has this made it into the latest version?

rkn-dupe’s picture

I'm going to take that as a no :(

rkn-dupe’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev

Just changing status to 5.x where there is no buddy request confirmation either...