Hi there,
I want to enable users to simultaneously register and post content (in the same form - one click) - avoiding the hassle of pre-registering and pre-validating their email address before they can post their content. But I only want to publish content from users that have a valid email address...
So, anonymous users would post their content to my website together with their email address** all in the same form - with one click. The content would go live after they validate their email address - by clicking on a link in the automated email sent to them after they post their content (and their email address). The email can be sent with an auto-generated username*** and password. The user will then be invited to update their username, password and profile if they so wish.
**At the very least the (admin defined) registration details provided by the user need to be an email address. Actually my preference would be an email address and the user's real name.
***This goes hand in hand with the idea that a Login/User name and Real/Display name should be different and separate - Display Name, different from username, would be very nice to have.
Can Drupal users do simultaneous registration and content posting? If so, how?
Cheers Daniel
Comments
I suppose...
it could be done with some clever use of node profile, and CCK maybe. But I've got to say, it's a really REALLY bad idea. You're going to end up with so much spam crappola in your queue (even if it's unpublished) that it'll be a pain in the arse to keep it under control.
Thanks,
David
http://www.floridapets.org
Why a problem with spam?...
It's what many websites do - especially ones with shopping carts. You only register at the end of your shopping spree, when you go to the checkout.
Other people want this too. Checkout Viral registration workflow.
Spam? Problems? Just null the queue when it gets too big. No problems.
Cheers Daniel
2 words
spam module :)
User settings
You should be able to turn off admin approval for registration
Visitors can create accounts and no administrator approval is required.
and turn off email validation
Require e-mail verification when a visitor creates an account
and then use
hook_form_alter http://api.drupal.org/api/HEAD/function/hook_form_alter
to modify the registration form or simply redirect the user to the add content of choice page after registration form is submitted. (the latter approach would be a lot easier then trying to change the registration for for what would only be a one time use case).
dLd
re: Auto registration workflow
No, the registration flow should be embedded into the node post screens, not vice versa.
Check Auto Registration Workflow.
Spam can be treated with the spam module. Still - it must be convinient for real users.
Amnon
-
Drupal Focused Search Engine | Drupal Israel
Personal: Hitech Dolphin: Regain Simple Joy :)