Closed (won't fix)
Project:
Members
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
9 May 2005 at 14:30 UTC
Updated:
7 Jan 2008 at 21:16 UTC
Jump to comment: Most recent file
I've added the ability to show the roles a user has on the user's profile page. Only roles specified by the admin will be shown.
This patch is for 4.6, but should also work for HEAD.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | contrib-head.members.profile.junyor.patch | 976 bytes | junyor |
| #2 | members.module.patch | 1.1 KB | junyor |
| #1 | roles_in_profile.patch | 1.04 KB | menesis |
| members_2.module | 6.1 KB | junyor |
Comments
Comment #1
menesis commentedYour module didn't work at all... Please look at my patch, which shows roles in user's profile. Without any database queries.
Comment #2
junyor commentedYeah, I totally attached the wrong thing. Here's what I meant to attach. The only real difference from your patch is the way the roles are themed.
Comment #3
junyor commentedUpdated to HEAD for 4.7.
Comment #4
junyor commentedIf you're using the patch in http://drupal.org/node/114466, you'll want to change the patch so the following line:
$data[] = array('value' => l($role, 'members/'.$rid));
reads:
$data[] = array('value' => l($role, 'members/roles/'.$rid));
Comment #5
wmostrey commentedFixed for 4.7 and 5.0
Comment #6
junyor commentedWas this actually included? I can't find it in the code and I don't see anything in the CVS log indicating that it was.
Comment #7
junyor commentedActually, I'm not sure this is appropriate for the members module anymore since it's become less focused on roles and more focused on different ways of listing users.