Hello community, greetings from a Rules newbie.
I am trying to set up a contest inside drupal, where registered users can post one entry each. Someone suggested this should be done using Rules, perhaps I can get some feedback from more experienced Rules users out there to see if I'm on the right track.
The idea is to have a custom CCK content, say "ContestEntry". I want to make it so that whenever a user submits a new ContestEntry, if there is already one entry from this user, the earlier entry is erased as the new one is published (only one entry per participant). Is this possible using Rules? How would I state the "if there is already a published ContestEntry by this user", using the Rules UI?
Thanks in advance for any replies!
Comments
Comment #1
fago"if there is already a published ContestEntry by this user"
That's currently not possible without coding. However, what about making a contest to a "content profile" - this module would ensure for you it's unique.
Comment #2
skourak commentedThank you for the tip fago - and by the way, congratulations for an excellent module!
Content profile seems promising, I'll try to see how I can manipulate it to do what I want :) Cheers!
Comment #3
mitchell commentedA simple route would be to use the Create quota module.
Marking as postponed because a quota somewhat takes care of this, however I'd like to see about doing this as originally described.
Comment #4
mitchell commentedCreate Quota description now says: