I need to do the following and i was wondering if it can be achieved simple and clean with flags :-)
If this isn't the right place to ask this, my apologies.
I have a pure administrative site, for a board committee of an organization. Users are therefor hidden and can not log them selves in. So they cannot flag themselves as 'attended' for a 'meeting'. Meeting is a content type.
The idea is that the administrator opens a 'meeting node' during the actual meeting and a list of all users is displayed beneath. Next to a user there should be a button 'Attended'. Clicking it should flag that user for this particular meeting node.
When the meeting is over (the next day) opening the meeting node should just list the attendees and non-attendees in a separate list beneath the node without the buttons.
I know of the signup module, but D7 work is still on its way, and i thought flags would be a good and simpler alternative. I just need to figure out a good way of getting the list of users beneath the node and flag them ...
Comments
Comment #1
yesct commentedI'm not sure about flag, but maybe using user reference (like a node reference) would work.
Comment #2
quicksketchThe Flag API support this, though building the form that contains the list of users and the button that flags on behalf of those users would need to be custom coding. The flag function itself takes an $account parameter which can be used to flag on behalf of another user: http://api.lullabot.com/flag
Comment #3
yesct commentedThanks, I'll try it.
Comment #4
quicksketchThere's also a feature request (unlikely to be added) at #755840: Administrator Role to Change other User's Flags or Flag on behalf another user.
Comment #5
quicksketch