Add user roles as a viewable field within views

marcingy - May 20, 2008 - 20:09
Project:Usernode
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Currently the roles a user belong to can be used as a filter but can't be displayed this adds this ability to usernode.

AttachmentSize
usernode_roles.patch1.63 KB

#1

marcingy - May 20, 2008 - 20:11
Status:active» needs review

#2

askibinski - November 26, 2008 - 10:09

I did a manual patch on the latest 5.x dev and it works!

#3

lelizondob - January 15, 2009 - 13:49
Status:needs review» reviewed & tested by the community

This works with 5.x-dev but I had to uninstall usernode 5.x-1.4 first. It would be great if this could be ported.

#4

fago - April 30, 2009 - 12:22
Status:reviewed & tested by the community» needs work

There is a small code style issue, there should be spaces around "=>". Then theme_user_roles() does violate the namespace of the module. Isn't there a core function that we could reuse here anyway?

 
 

Drupal is a registered trademark of Dries Buytaert.