Greetings,

I'm a part-time drupal developer and half-hearted PHP guy, and normally do Rails stuff, so am no expert at coding my own PHP stuff or custom modules in drupal or anything like that, but a competent developer.

I'm currently making a ratings based website in drupal 7 with the following in mind:

* anyone can visit the site anonymously
* site is about images that are uploaded by visitors and rated (fivestar) by visitors,
* anyone can submit an image and are encouraged to do so if visiting anonymously

So on the technical side I have been struggling with some issues for quite some time. They are thus:

* I want a submit content page and have created a custom content type for "rated image". I want to achieve a form where the user can upload an image, but also must provide username / email / captcha for obvious security and anti-spam reasons
* my "rated image" content type contains fields for title and image so far. Ideally if I add username and email fields I'd want them registered as users as they submit the image at the same time
* however, after banging my head against that for a long time I'd be satisfied with a two-step process where the user is forced to register and then re-directed to upload my custom content type.
* also, I have a different admin "backend" theme so I want to display the submission form on my custom "front end" theme.

Anyway, I've been searching far and wide on this for a while to no avail. I've been searching: "user submitted content", "user generated content", "custom forms", etc. for drupal 7 with no luck aside from custom coding your own modules or being able to take control of one getting deep into PHP code making custom forms etc.

So, just looking for some frank advice: it seems like with the age of drupal many people must have created sites similar to what I'm doing - am I looking in the wrong place, too novice with drupal (I've made many sites with it with custom themes though), or is there a decent non-expert solution for this?

At this point for all the time I thought drupal would save over custom coding everything in Rails, I could have been near the same point in development. Don't want to turn back and feel like I may just be missing the right angle to tackle this!

I've looked at modules like webform etc. and googled incessantly. Ideas most welcome.

Thanks,

Jason

Comments

jriddiough@gmail.com’s picture

I was thinking of using https://drupal.org/project/profile2 to accomplish this..

otherwise, good question

cruzeazy’s picture

Use Rules to redirect user to the add content form after registering.
This requires that the "require e-mail verification.." check-box be unchecked (admin/config/people/accounts/settings) and that authenticated user have permission to create whatever content type you use.

I exported a rule that redirects a user after registering to the add article form:

{ "rules_redirect_after_registering" : {
    "LABEL" : "Redirect after registering",
    "PLUGIN" : "reaction rule",
    "TAGS" : [ "register" ],
    "REQUIRES" : [ "rules" ],
    "ON" : [ "user_insert" ],
    "DO" : [ { "redirect" : { "url" : "node\/add\/article" } } ]
  }
}

I really would like a one step solution and really don't like the fact that I have to deselect e-mail verification.

vallab444’s picture

Glad that I came across this post

Me too looking for a similar one.I would want to allow anonymous visitors to post content and register them simultaneously, using the name/email ID info that I take on the content form itself.

-Vallab

dcstronik’s picture

Your Information very helpfull for me..tq