Groups has voting on it now, which begins some more qualitative metrics that the site can collect and that can be exposed on user profiles to get a sense of a user's interaction with groups.
What can and should we expose on user profiles on Groups?
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | groupsorg-user-activity-7.patch | 1.82 KB | coltrane |
| #9 | groupsorg-user-activity-7.patch | 1.84 KB | coltrane |
| #7 | groupsorg-user-activity-7.patch | 1.24 KB | coltrane |
| #1 | groupsorg-user-activity.patch | 2.43 KB | coltrane |
Comments
Comment #1
coltraneHere's a patch which exposes even information and some of that voting data.
Comment #2
gregglesWorks great for me.
Thanks, Ben!
http://drupal.org/node/1063992
Comment #3
avpadernoThe
$groupsvariable is set to an empty array; the successiveifcontrol statement will never be executed, then.Comment #4
christefano commentedThat's pretty cool.
It would be interesting to see "number of upvotes" and "number of downvotes" rather than "number of times voted", which counts both upvotes and downvotes.
Comment #5
coltrane@kiamlaluno definitely, I meant to remove that or finish before it get committed. Putting this back to work.
Comment #6
greggles@christefano - I mostly like that idea, but I'm hesitant. I'm currently 80% of the way through Building Web Reputation Systems and before we expose too much I want to see what it has to say. We need to be careful about how much detail we expose and number of votes is just surface enough that it feels OK to me for now :)
Comment #7
coltraneAnd here is a count of the groups the user is an admin of. That's the same as a manager, right?
Comment #8
christefano commentedMy understanding is that groups.drupal.org no longer has "managers" or "admins" and lists "group organizers" instead.
Comment #9
coltraneI was calling db_rewrite_sql() on the voting table query which I think is unnecessary.
Comment #10
coltraneoh, cross-post, good point christefano! But is it right that the internal is_admin defines organizers?
Comment #11
gregglesColtrane, yes that is the correct place to query.
One was the node author, the other is the "admin" from og's perspective. We now only expose "admin from og's perspective" to make the group of managers appear more equal.
Comment #12
coltraneGreat, here that is fixed.
Comment #13
gregglesThanks coltrane - now committed - http://drupal.org/cvs?commit=501364
Marked "needs work" for any more work, otherwise...send this to fixed.
Comment #14
gregglesGood for now - thanks again.