User Rating Other users

Events happening in the community are now at Drupal community events on www.drupal.org.
Energyblazar's picture

Hey guys am trying to create a simple rating system wherein user can rate other users.

To rate or vote other user the user must

1) Be an authenticated user

2) Be part of the group.

Here is an example for better understanding.

In my site i have these users who are authenticated, TIM, JIMMY, SAM, TOM, NICKKY, EMMA, PHIL, ALEXA.

TIM has created a group called ABCD [ i am using organic groups and have provided access to authenticated users to create groups ]

SAM, EMMA and PHIL have joined the group.

So now SAM can vote rate these users EMMA PHIL and TIM, while he cannot rate others i.e. JIMMY, TOM, NICKKY, ALEXA who are not part of this group ABCD.

So is the same for others they can only rate members who are part of their group, which they may have created or joined.

Any suggestions as to how can i achieve this.... ?????

Comments

Flag Friend module

cjwest's picture

Have you considered flags? There's the Flag Friend module:

"Flag Friend aims to be a lightweight friending module utilizing the excellent Flag module's API.

Flag Friend 1.x implements a default "friend" flag and is limited to one type of relationship."

http://drupal.org/project/flag_friend

reply....

Energyblazar's picture

Thank u cjwest

I have considered the module but what the module does is that it only creates a relationship, which i can do using user relationships too.

The problem that i am facing is to create a rating system wherein users can rate other users who r part of the group. For creating these groups i use organic groups module.

So i guess using flag friend module would do no good or would it ??. Am i missing something here you trying to tell me ??

Drupal 7 Relation Module

kolier's picture

How about use http://drupal.org/project/relation to create an new relation entity?

reply....

Energyblazar's picture

Thank u kolier.... but my goal is to enable group members to vote other group members......

Now i have discovered that using organic groups users can create their own groups and add in other users or other users can subscribe to the group and become a member....and is equipped with many such other features.

So now my only problem is to create a system wherein members within a group can vote for each other....any suggestions...on this ??

Proposal.

kolier's picture

Yes. I know what you need.
Though still may overlook somethings like if the user in one group voted is the same meaning voted in other groups.

Solution Proposal:
1, og
2, profile2(profile would be "user"), has profile2_og_access module for you to start.
3, relation (Vote can be a relation)

then...

thanks...

Energyblazar's picture

Thanks.....that provided me with more confidence that my think is on the right track.....being new 2 drupal i dono much but here is what i was thinking......a possible solution using entity reference or user reference along with fivestar voting modules.....

the node will be comment:node which belongs to "specific" group (content type) and will be referenced to the user via entity reference or user reference....and then work on these lines ....... http://drupal.org/node/1308114 ....

What are your views about this ???

And one more thing do u have any idea weather fiverstar will work the same way if i add the field to Users default profile directly instead of profile 2 ? cause i heard that a users profile is a view, while profile 2 is a node like any other content or content type.....so if fivestar works with default then i will have no need to add profile 2 ....

Social Networking Sites

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: