Hello,
I'll try to keep this as clear as possible. I need some pretty specific functionality for my site involving roles and points. This is what I need to have happen.
- Anonymous users can't view anything except the 'splash' page, which consists of ajax tabs for login and register (I have this working fine)
- I need to REQUIRE a certain node type submission upon register (basically, the 'add node' form needs to be part of the registration form)
- Even after they register/post the node, they still can't access the site until the node is approved
- Upon node approval, user gets one point, and access to the site
Now, I have the userpoints module installed and have set it up so that when a node is posted (once approved), the user gets one point, and is moved into 'confirmed members' role (allowing them access to the site). That works fine if I do it manually. What I can't figure out is how to require posting of a certain node WITH registration. I tried the 'inline_registration' module, but that only works if the user is on the 'node/add' url, not on my splash page. It won't include the registration form.
So I guess what I really need to know is this: How can I include an 'add node' form WITH the 'registration' form MANUALLY (on my custom splash page). I mean, I can print the reg. form, and print the node_add form, but then there would be 2 submissions. I need them to submit together, and attach the node to the new user. This all needs to be done ON THE SAME PAGE, with tabbed sections (and ultimately different drupal messages shown to the user on various steps).
Any help is MUCH appreciated. Here's the site: http://www.grabstash.com/
Comments
iirc, the bio module allows
iirc, the bio module allows for automatic integration with registration (fyi in d6 it's content_profile).
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.