hi!

Please add option to insert buddy into various categories (co-workers, friends, family...)
great thing will be that when user is inserted to some category (e.g. "trusted friend"), he/she got new user role (there will be settings in admin zone for user relationships module)

I am sure that something like this (combination with auto assign various roles) is really needed and useful.

thanks
Igor
http://www.somvprahe.sk

Comments

sprsquish’s picture

Status: Active » Postponed (maintainer needs more info)

I understand the first part of this (adding more than one relationship at a time), but I'm unclear about the second.

How would user relationships affect changing someone's role? I don't see the connection or reason for this.

igorik’s picture

Hi!

My idea is when user with role e.g. "trusted" will add relationship e.g. "I am sure about this person" with someone, then the added user will give new role e.g. "trusted" too.

It depends on real live - when someone - "trusted" tell you about that someone e.g. John, is his good friend, you will start thinking about Joyhn that he is trusted person too.

My idea is that user relatuionships will be used to network trusted persons and when you will be want to get role "trusted", you will have to find someone who knows you and he will add you into his trusted friends.
(Usable e.g. for autostop(free place in car/hitchhiking) - you will be have to option choose if you want to show all nodes or nodes from trusted persons only) what can be very important e.g. for women

My opinion is that realtionship module is really great for something like this because all of this is about relatuinships between users/people.
(And users than don't need access for adding roles to someone, everything will be done adding someone into some category)

Other idea is when some person will loose role "trusted user" (someone remove this user from his trusted friends) all his friends can get mail/private messages about it...

I think that scope of this idea is large, but usability of worked something like this will be really huge.

What is your opinion about it?
Thanks
Igorik
http://www.somvprahe.sk

sprsquish’s picture

Title: option to insert buddy into various categories (co-workers, friends, family... » Integration with roles
Version: 5.x-1.x-dev » 5.x-2.x-dev

I'm gonna break this issue in to two parts keeping this one for the discussion on roles.

New issue here: http://drupal.org/node/203054

I understand the idea now.

I have a couple preliminary ideas for how I could implement this. Do you ever go into the #drupal irc channel? If so what's your nick? (mine's sprsquish)

igorik’s picture

Hi

I thought about it and I think that can be done (relative simply) by workflow-ng module http://drupal.org/project/workflow_ng
I looked at it a little bit and I think that it can be right thing for similar ideas. Question is if you want to integrate/depends your module on workflow-ng. (In future there will be probably more and more modules using workflow-ng).

It can looks like this
(example)
- workflow action: added specified relationship - >
created depended actions:
- added specified role
- sending mail
- sending private message

What you think about it?
I have no irc account for now, sorry, but I will try to look at it.

Thanks
Igor
http://www.somvprahe.sk

igorik’s picture

I found that module user_statistics http://drupal.org/project/user_stats has implemented something similar using workflow-ng

Cite from module desc.:
Another compelling reason for using this module is its integration with Workflow-ng. Using both modules, roles can be added/removed from a user according to their statistics. For example: a member could be promoted from 'Member' to 'Member Level 2' when they reach 10 posts and have been a member for 30 days. Roles can allow access to extra areas of a site, add user badges, or give users extra functionality.

igor
http://www.somvprahe.sk

alex.k’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing this old issue