New guy on the block, I found where i can add roles but where do i go to allow new users to be placed in that role during registration? Example would be like whats your profession Artist, Teacher, Bus Driver. Artist would get different access to areas of the website then the Bus Driver and vise versa.
The way I do it for my English language testing site is as follows (without any third-party modules): - as you mentioned you have all required roles in place (MANAGE --> Roles -- Drivers, Artists, etc.) - go to SETTINGS --> Site Settings -- Site Behavior --> USER PROFILES --> USER PROFILE FIELDS --> Add Field (in your case "Profession") - make it DATA TYPE = List; DEFAULT VISIBILITY = All Users; Required = checked; Visible = checked; click "Next; - next you'll see the table with the roles. You can modify it as well; click "Next"; - fill the text boxes per your requirement and click "Save" - you'll be back on the USER PROFILES tab were you can change the order of the user profile fields to your liking by clicking the stacked short lines on the extreme right of the fields and dragging them around; From then on the field of Proffession should be visible on the registration page of your website. Should you have any followup questions do not hesitate to come back here.
1. A person during registration should choose the role. 2. RSVP codes have always been capricious for me and they required quite a lot explaining submitted to the users beforehand.
Why don't you give it a try and experiment with it? For one, I had to cut through the bush without anyone helping. You might also want to search for docs which in case of DNN are quite hard to find. 1. Value in your case will be the sequence number for the professions that you want ordered in the dropdown list, e.g. Painters - Value = 1; Drivers - Value = 2, etc. 2. Text in your case will obviously be a profession. Check a screenshot of my settings below:
In my case the text names (ASG ..., Petit ..., etc.) are companies names in Polish plus some extra info for persons wanting to register. In your case they would be the professions. Sorry for late answer but our time zones differ. :)
Everything is looking exactly how i want it the only issue now is that when a new user signs up it doesn't automatically put them in the role they picked does put them in registered users due to automatic being on. Thanks for helping get me this far!
There's an option in dnn to assign users automatically upon registration but only to a chosen role. That's what I understood from your initial post. It could be activated in MANAGE --> Roles --> Click Edit pencil next to a role name --> Auto Assignment at bottom right. I guess it's not what your after. Joe is right then - grab a registration module. Or as Sebestian explains in https://www.dnnsoftware.c...nd-assign-user-roles
you would need to create a trigger in your database or create a job for DNN scheduler.
Justin, I recommend Action Forms. You can assign roles automatically or your new user could pick roles from a list of roles that you create. Plus the module is very useful to have on your site.
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.