Hello, I really like this module. It allows me put a lot of website design ideas to work.

I have a node type named: players with comments driven. I allowed a CCK field called Character to be mapped by comments. How do I limit the user/anonymous user submission to only once. Each anonymous user can only submit this information once. Kind of like a voting poll. Let me know if there is any way of doing this.

Thanks

Comments

arhak’s picture

what kind of CCK field is "players" ?
is every user adding a value to a multiple value field?

I would recommend you to review the driven_acp module, it is very simple
afterwards, the more elaborated driven_cck_producer_consumer (some obscure due to AJAX handling, which is already obscure in CCK)

in comment_driven.alter.inc you can find where policies are applied around line 38

if you're in doubt, you can start by modifying driven_acp until you get the behavior you want, and afterwards I would help you to convert it to a new policy module

you'll find that function _driven_acp_eval takes care of evaluating whether the current user should or should not have access to the driven property

I hope this tips help you get started