Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
5.x-1.x-dev
Component:
userreference.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2007 at 21:21 UTC
Updated:
15 Dec 2007 at 17:08 UTC
Comments
Comment #1
jmarkantes commentedI've run into this also, and was surprised to find this issue still opened with no reply.
With the lastest 1.5-1 installed, userreference was still not noticing blocked or active status. In line 278 of userreference.module I added u.status=1 in the SQL query. So line 278 goes from :
to:
This raises a couple questions:
1) Should there be an option in the widget setup to differentiate active and/or blocked users? My guess is that sticking with just active users will suffice.
2) How might this affect other content types that rely on userreference, with a user is switched from active to blocked? I haven't dug through the code enough to see. There might be a case where a module has a user reference to a blocked user..
Anyways, hope this code might help.
Jason
Comment #2
rubenk commentedsubscribing.
this seems fairly important
Comment #3
karens commentedFixed in a different way for 5.x in latest commit by adding an option to select whether blocked or active users, or both, should be included in referenced user lists. Also added to HEAD.
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.