I saw another module, relationships, that has a nice remove link on the actual friendslist so you dont have to visit the other persons profile.
is this a possible new feature?
I saw another module, relationships, that has a nice remove link on the actual friendslist so you dont have to visit the other persons profile.
is this a possible new feature?
Comments
Comment #1
crizhi, this would be no problem. just theme the friendslist-view and add a new column with the delete link:
/buddy/delete/UIDalternatively somebody could provide a buddy delete views field...
Comment #2
instantgeek commentedi've added both 'remove' and 'add' views fields, it's not too hard to do. i wonder if these will make it to the module?
Comment #3
liliplanet commentedHi,
That is of great interest to me.
Please would you be so kind to show the full code for 'friendslist-view and add a new column with the delete link: /buddy/delete/UID' ?
Would most appreciate your help and thank you.
Lilian
Comment #4
nodestroy commentedthis links are now included. the views field name is "Buddylist: Actionlink". On your buddylist it will show a delete link, on a userlist it will add a delete or an add link.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
liliplanet commentedHi,
Got it all beautifully work, but unfortunately the actionlink stays at 'Add to my buddylist' in the view buddy_api_buddylist.
Have cleared cache, uninstalled, re-installed, but still 'add to my buddylist' when the user is already a buddy.
Will this perhaps be corrected in the next version, or maybe a little fix please ..
Look forward to hearing from you.
Lilian
Comment #7
liliplanet commentedOops, was my mistake. I uninstalled Buddylist (not 2) and that obviously deleted some tables. All good now, and thanx!
Comment #8
telefunken commentedsorry, may be i'm stupid, but i don't get a add link....i just can invite people per mail...can someone give me advice
Comment #9
criz@ telefunken
You have a add/remove link on the userpages (user/UID). But you can also list users with views and display an add/remove link in it. See http://drupal.org/node/220959#comment-947483.
Comment #10
telefunken commentedthanks chriz! but i don't get a link. i tried other themes and so on. maybe because i use domainaccess!? can you give me the code? i can simply try to create a block...! i also tried to add a field called buddylist:actionlink to a block. nothing happens!?
Comment #11
telefunken commentedComment #12
telefunken commentedmaybe i'm using the wrong version!? 5.x-1.x-dev or 5.x-1.0-beta2 is working?
Comment #13
crizShould work both I think...
Comment #14
el_reverend commentedusing latest beta and actionlinks are not included. Is there a way to manually add them to a view (page)?
Comment #15
crizyes, there is a buddylist:actionlink viewsfield. just add it to your buddylist view.
see this view for example: