Linking anonymous user and content created by him

Events happening in the community are now at Drupal community events on www.drupal.org.
asif.mulla's picture

Hi All,

I am newbie to Drupal 6.

My requirement is that any anonymous user can come and create content of particular content type. Before saving content to the database,I need to capture his email address (if not loggedin) so that I can send him a link to view,edit and delete for the content created.

Here I thought that before sending mail, I'll make an entry in the user's table with email address registered. So that I can make a relationship between content he has created.

But problem may be if such user wants to register with site, then Druapl's registration process'll stop him to register as email address already exist in database.

Is it possible something like; assign unregistered role for such users and on registration page check for email address and unregistered role in combination.

Or something better idea?

Could you please guide me how I can achieve this?

Comments

It sounds like you would make

sarahjean's picture

It sounds like you would make your life a lot simpler if you just let the users sign in to the site, what portion of your requirement prevents that?

asif.mulla's picture

Could you please elaborate "let the users sign in to the site"?