Searched but did not find any solution...
I have a content type that Anonymous user needs to submit. This node type uses tokenized 36-characters URL alias, that only Anonymous submitter who actually created it can have access to it by this URL. There is no direct (node/#id) access to this content for Anonymous user (limited through template files).
I need to authenticate Anonymous somehow. What I thought about is that when this content type is submitted a confirmation email with unique activation link is sent to specified address (specified as one of the compulsory CCK fields in the node type) and it is not accessible (not published will be enough as a restriction) stored in DB until that link is followed.
When the link is followed, a "Thank you for submission" message appears and the node gets published.
That link should have some time-to-live (say 5 days) after which it is no longer active and error message is displayed if followed as well as unpublished content gets deleted.
I know that it is possible to utilize Rules module to actually trigger publishing/unpublishing of content, but I'm struggling with that email confirmation.
Any ideas how to achieve what I have described?
Comments
I can think of slightly
I can think of slightly different logic.
Use normal actions and triggers to send an email "after saving new content".
The link at the email will direct the user to the URL to actually publish the content instead.
You can use triggers to create a personal msg like Hi, %user_name. Please confirm this content is worth the money by clicking Publish.
You obviously need to grant user permissions to publish own content
Don't know if this works for you
Subscribe
Subscribe
TheodorosPloumis.com - Drupal developer @ eworx.gr.
Tutorial
I just posted a tutorial that describes how to create an e-mail confirmation, maybe that can help you out?
http://www.druplicity.com/content/email-confirmation-anonymous-content-t...