hello,
i'm running drupal 6. i want that anonymous users have to confirm the nodes posted
following a generated 'secret' link returned to them via email.

i've read this can be done with cclink (shipped with the deprecated workflow-ng module),
what about the new rules module ?

anyway, what's the simplest way to do that ?
thanks in advance,
-d.

Comments

moshub’s picture

let me know

gunzip’s picture

i gave up.

there is a complex solution anyway: you can do this programatically
in a custom module binding a callback to a menu item
(like http://example.com/confirm/nid/C0D3), and publish the node
once the link is visited.

to send the email you can use hook_nodeapi intercepting
the insert operation then create the code to use and send it.

seanenroute’s picture

Could you post a link to the information about the work around, thanks.

gunzip’s picture

i did something like this (i lost the sources):

1. create a content type 'anonymous_post' with an email field 'anonymous_email'

2. send an email on node creation to this address (if filled)

function mymodule_nodeapi(&$node, $op, $params = NULL, $page = NULL) {
  global $user;
  if ($node->type == 'anonymous_post' and $op == 'insert' and in_array('anonymous user', $user->roles)) 
 {
    ... send an email to the $node->field_anonymous_email ... with a "secret" link  
  }
}

3. create an action (with rules module) that publishes the node once that secret link is visited
(or just do this programmatically with a menu callback page)

fabrizioprocopio’s picture

I need it too
I'm looking for a a way to set drupal so that anonymous users must confirm contents put in my website via their email.
I need mostly for comments (I do not let anonymous create nodes, but only comment).

some one knows a way or a module, a workaround..?

summit’s picture

SUbscribing, needing the same, preferrably witrh rules!
greetings, Martijn

Jonasvh’s picture

any progress?
i need it too

robin van emden’s picture

This can be done using rules, as explained here.