I'm using advprofile with nodeprofile - pretty successfully so far. Any thoughts about how to set up different profile types, based on user role? I'm guessing I could build each profile into its own nodeprofile type, and twiddle user permissions to constrain creating/editing to the appropriate roles... But there's still the matter of hooking in unique panel displays for each profile type, possibly removing extraneous "edit" tabs, and I'm sure a bunch of other stuff that I'm not versed enough in drupal to know about.
Comments
Comment #1
Rosamunda commentedSuscribing
Comment #2
michelleThere's a module that works with nodeprofile so you can have one nodeprofile per role. It's mentioned in the docs. I think it's called "role signup" but I'm not postive.
Display isn't an issue as Panels simply won't display the pane if the node isn't there.
The edit tabs thing looks to be a bug. There's already an issue on it and I'll look into it.
Michelle
Comment #3
meeotch commentedI believe "role signup" has been superseded by "autoassignrole" - which I'm using successfully. But I'm not sure which part of the documentation you were referring to... Were you thinking of something more complex than just auto-assigning a role to users, and having role permissions set to correctly separate the nodeprofile types?
Regarding Panels... I feel like the profile displays for various user types might be so vastly different that it wouldn't be possible to combine them all into one panel that "degrades" to the appropriate form based on role. For instance, you might want to place the pictures or other common info in different places, with respect to the non-common info. But I think for my application, this might not be an issue, as one of my two roles is very minimal... Anyway, I'll give it a shot.
Re the Edit Tabs bug: think I've found it. See that thread for code.
Now all I've gotta do is figure out how to do different Registration/Welcome pages, and Registration/Welcome emails based on role. Yeeesh.
Comment #4
michelleI meant the nodeprofile docs. I vaguely remember them referencing a module that would let you have a nodeprofile per role. I don't use nodeprofile anymore so I haven't looked at it in a while.
You're getting way more complicated than I can help with. It's been a couple of weeks, too, since life pulled me away from the module. Hopefully you've got it sorted. Marking this fixed as it's not really an advprofile issue.
Michelle
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.