Goal :
When a content type is added to a user registration form you can't choose to show it based on another argument in the url.
you can now filter on usertype1 and usertype2. When no filter isset it won't filter and it will attach content-types to different register forms
Practical use?
/user/register/usertype1
/user/register/usertype2
Both have different content fields to fill in when registering
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | content_profile_registration_filter.patch | 5.63 KB | nick_vh |
| #2 | content_profile_registration_filter.patch | 5.63 KB | nick_vh |
| #1 | content_profile_registration_filter_patch.diff | 6.31 KB | nick_vh |
| content_profile_registration_filter_patch.diff | 6.31 KB | nick_vh |
Comments
Comment #1
nick_vhupdated
Comment #2
nick_vhOk, fixed some more bugs and made it cleaner and finally made it with cvs diff :)
Comment #3
nick_vhOk, fixed some more bugs and made it cleaner and finally made it with cvs diff :)
(damnit, stupid browser refresh posting twice!)
Comment #4
andreiashu commentedNick_vh, I think that AAR already does this for you. AAR is already compatible with content profile and afaik has settings for this functionality: http://drupal.org/project/autoassignrole
You should better test that first.
Comment #5
Equ commentedI was trying to find out how to do that with AAR, but so far no luck... Could you please point to the right track?
Comment #6
andreiashu commentedHi Equ,
Try to look over the AAR documentation: http://drupal.org/node/216868
And also take a look at the issue queue maybe. At the same time have a look into Content Profile's issue queue because this was already discussed.
@Nick_vh: If this solved your problem please mark it as fixed
Comment #7
Equ commentedHi andreiashu,
Thanks for your reply, I found the answer in your comment here. I haven't tried it yet, but I think I better wait for another -dev release, because there are too many patches and it doesn't really seem to be stable :(
Comment #8
nick_vhthis patch fixed it for me. If you need help deploying this. Send me a pm or reply :-)