The flag module allows flags to be defined per user. For example, User 1 can flag Node A and B, and User 2 can flag Node A but not Node B.

In this situation, a flag is either on or off per user. However, is there a way to allow a single user to flag the same piece of content multiple times?

Use case: I have created two content types, Message and Reply. I want to limit the number of times that users can reply to a message (say, to 3). To do this, I was going to use Rules to automatically flag the original message each time a user writes a reply. However, since content is either flagged or unflagged, I don't see any way to allow a user to flag the content multiple times.

Any ideas on how to approach this use case are welcome, including using modules other than the flag module.

1 Answer 1


How about using the Five Star module and incrementing the rating each time? Eg, first reply, rate the message 1. Next reply, re-rate the message 2. When you get to 3 (or 4 or 5) don't allow more. You could implement this directly with the Voting API if you wanted to, too, I'd imagine, if you needed higher than 5.

  • I see in another question you are having potential issues with this. Could using the node reference count module help out in a different solution? drupal.org/project/nodereference_count for more info.
    – Jimajamma
    Commented May 1, 2013 at 13:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.