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

Comments

nick_vh’s picture

updated

nick_vh’s picture

StatusFileSize
new5.63 KB

Ok, fixed some more bugs and made it cleaner and finally made it with cvs diff :)

nick_vh’s picture

StatusFileSize
new5.63 KB

Ok, fixed some more bugs and made it cleaner and finally made it with cvs diff :)

(damnit, stupid browser refresh posting twice!)

andreiashu’s picture

Nick_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.

Equ’s picture

Nick_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

I was trying to find out how to do that with AAR, but so far no luck... Could you please point to the right track?

andreiashu’s picture

Status: Needs review » Active

Hi 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

Equ’s picture

Hi 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 :(

nick_vh’s picture

Status: Active » Fixed

this patch fixed it for me. If you need help deploying this. Send me a pm or reply :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.