hi guys,

does activity work with buddylist2?

regards

Lausch

Comments

sirkitree’s picture

currently it is only for buddylist, but if you look at the buddylistactivity.module within the contrib directory, you can use this as a basis for buddylist2 and write buddylist2activity.module

i have plans to convert this in the near future as well, so it'd be a welcome contribution.

sharique’s picture

subscribing

jaydub’s picture

I started to take a look at buddylist2 as well. The UI portion of it
depends on Usernode which I am not using but the API portion
itself has no dependencies. I've patched up the buddylist2 API
install file for PostgreSQL support so I can start to check the
module out more.

The hook that activity can use for buddylist2 events looks to
be more in line with that of user relationships than the original
buddylist so any activity contrib module for BL2 will look like
a mix of the buddylist and UR activity contrib modules.

sylv3st3r’s picture

Component: Code » Activity Contrib
Status: Active » Needs review
StatusFileSize
new2.13 KB

I convert buddylistactivity.module into buddylist2activity.module. It's working as far as I know and I use it on my site. So far nothing goes wrong. Just put it along with other contribution module inside activity module directory. So you can switch between buddylist(1) or 2, the database are the same.

liliplanet’s picture

Category: feature » bug

Hi,

Thank you for your buddylist2activity module. I seem to be having a problem .. the activity shows when a user removed a user from their buddylist, but does not show when a user adds to their buddylist on activity page.

Have the following:

[user-link] is now in [buddy-link]'s Network

and for remove:

[user-link] is removed from [buddy-link]'s Network

Is this perhaps a bug, or wrong config on my side?

Look so forward to any assistance, and thank you.
Lilian

altparty’s picture

Hi,

It doesn't work with me either. Nothing is added to the activity-list when someone adds a buddy. On the configuration-page everything seems normal.

I'm using Drupal 5.10 and the latest dev of Activity.

Martin.

liliplanet’s picture

Hi,

Has there perhaps been an update to fix Buddylist2 with the above issue please ..?

Would love to make this work.

All the best,
Lilian

jaydub’s picture

Title: intigration with buddylist2 » integration with buddylist2
Category: bug » feature

If you are willing to try out the new 5.4 branch of activity - from a fresh install
as there is no upgrade path written, you can try out integration
with buddylist2.

I have not been able to test extensively as buddylist2 uses the usernode
module for the buddylist2 ui module and I haven't used usernode at all.

The 6.x version of the buddylist2 module is not far enough along to be used at
this point.

liliplanet’s picture

Version: 5.x-3.x-dev » 5.x-4.x-dev

Thank you for your quick response.

Yes, I've just downloaded and re-installed fresh the 5.4 branch, and unfortunately still the same with Buddylist 2.

'Remove' shows fine: [author] removed [buddy] from [possessive] [buddylist-link]

'Added' does not show at all: [author] added [buddy] to [possessive] [buddylist-link]

Look so forward to any resolution with this issue, and thank you.
Lilian

EgonO’s picture

+1 subscribe

would be nice if there will be a (fully working) buddylist2 integration. if possible also for the 3.x Branch...

alphaXp’s picture

I've tried the module in #4, and everything looks OK, both add and remove actions are being logged.
I'm using the 5.x-3.0-beta2 version of activity, and buddylist2 5.x-1.0-beta2

Oh and thanks for the module sylv3st3r :)


edit: No, I spoke to soon... It worked when by buddylist was configured to not demand approval for friend request. Now when I tried to switch it back to the normal state, it stopped working...

I'll see if I can do something about it

alphaXp’s picture

StatusFileSize
new2.79 KB

There, now it should work. (I've add 2 lines, on line 76 if someone interested in what was the problem)

jaydub’s picture

Ok I've updated the 5.4 branch version of buddylist2 activity.

Should handle the case above where buddy adds require approval and also now the following operations are all tracked:

Add
Remove
Add Request
Cancel Request
Deny Request
Accept Request (becomes an 'Add' operation)

EgonO’s picture

tried the last 5.x-4 Dev Release and it seems the problem with not showing added buddys isn't fixed...

jaydub’s picture

The new snapshot hasn't been generated from CVS yet. should be dated 10/24 when it's generated...

EgonO’s picture

ok. thanks. I'll check out the new dev release tomorrow...

EgonO’s picture

no change with the new dev release...

jaydub’s picture

Working for me. Do you have buddylist2 setup for automatic approval (1-way) or
requires approval (2-way)? What is the date of the buddylist2 release or dev
snapshot you are using?

EgonO’s picture

2 way. Buddylist2 5.x-1.0-beta2

jaydub’s picture

Ok I think I must have missed a CVS commit somewhere as the change I had made and tested on never got committed. The next snapshot should report 2-way buddy adds now.

EgonO’s picture

ok. thank you.

sirkitree’s picture

Status: Needs review » Closed (fixed)