Hi,

I would like to use Flags for a simple booking system where people can choose events to take part in by flagging them (each event is a node). So to avoid that events taking place in the same time are booked by the same person I thought of creating a vocabular "event times" with terms like "Saturday morning", "Saturday evening" and so on. I wondered if it is possible to check (maybe by Rules?) if any node with the same term is already flagged or not?! Or maybe someone has another idea how this could be solved using flags?

Greez,Tobias

Comments

mooffie’s picture

Issue tags: +flag queue

Tagging.

mooffie’s picture

Status: Active » Closed (duplicate)

- If you really want to avoid flagging, there's the #952114: Have hook_flag_validate() feature request (there's also a mention of "Rules" there). I'm marking this issue a duplicate of it.

- If, on the other hand, you want to flag the node and unflag the previous one, see a similar question: implement hook_flag() and in it unflag the other node. In that hook you can also motify the text that will be shown to the user (e.g., you'll inform him that the previous event was unflagged).

- Check the NodeQueue module: it has "taxonomy queues". Perhaps you could use it instead of Flag.

- On the long run, perhaps the #475366: Flag queue feature could help. (So I'm marking this a dup of that one as well.)