Closed (won't fix)
Project:
Members
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
31 Jan 2007 at 04:51 UTC
Updated:
20 Sep 2010 at 08:50 UTC
Jump to comment: Most recent file
Currently, it's possible to click on a role in the members list and see only users with that role. Well, I've taken that a step further. With this patch, there's a new tab at the top of the members list, enabling the user to get a nice display of all available roles and choose which one to see members of.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | contrib-head.members.by-role-and-status.junyor_0.patch | 1.94 KB | junyor |
| #4 | contrib-head.members.by-role-and-status.junyor.patch | 2.03 KB | junyor |
| contrib-head.members.by-role.junyor.patch | 5.31 KB | junyor |
Comments
Comment #1
junyor commentedNote: This patch relies on the Drupal 4.7 patch in http://drupal.org/node/47829#comment-188270.
Comment #2
junyor commentedComment #3
junyor commentedComment #4
junyor commentedIf you want to use this patch along with http://drupal.org/node/114441, you'll also want to have the attached patch.
Comment #5
junyor commentedMake that, this patch.
Comment #6
Stephan_M commentedHi junyor,
this patch doesn't work anymore. In order to apply your patch you needed to take members.module (1.38), which was head at that time, and patch it with your members6.patch
Then you had to apply contrib-head.members.by-role.junyor.patch
Right?
Currently there is no way to get members.module (1.38)
Version 4.7.x is 1.39 at the moment
HEAD is 1.40 at the moment
I'd really like to have these user-role tabs you got. Care to help?
Stephan
Comment #7
junyor commentedAre you using 4.7 or 5.x?
Comment #8
Stephan_M commentedUsing 4.7.x - It's version 1.39 2007/02/01
Patch members6.patch won't apply correctly.
Comment #9
junyor commentedmembers6.patch has already been applied to the 4.7 branch, so you don't need to apply it anymore. Just apply the original patch for this issue, contrib-head.members.by-role.junyor.patch. It applied cleanly to the 4.7 branch here.
Comment #10
Stephan_M commentedWorks. Thank you very much.
Comment #11
junyor commentedYou're welcome! Do you like it?
Comment #12
Stephan_M commentedPerfect. Should be a feature in head.
Just a minor issue:
I wanted to have a menu item that links to "/members/roles/2", so that a certain role would be selected directly, but then unfortunatly the tabs are gone.
Comment #13
Stephan_M commentedFixed. Need to include full path "http://www.name.org/members/roles/2". Then the tabs are still there and the second role is selected directly.
Strange. Perhaps something to do with clean-urls?
Comment #14
junyor commentedOdd. It sounds more like a bug in the menu system.
Comment #15
wmostrey commentedWill take it one step further and allow for multiple members pages
http://drupal.org/node/126924
Comment #16
junyor commentedUnfortunately, this is still quite difficult with the Drupal-5 branch of members.module. If you have a lot of roles, you'll need to create a new members page for each role. The views way of handling this would be arguments, but the members.module doesn't support arguments. Any plans for that?
Comment #17
wmostrey commented