Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Register user to a specific role?Register user to a specific role?
Previous
 
Next
New Post
4/20/2007 9:26 AM
 

Hello,

is it possible to let the user that is about to register choose a role?

We want t add some roles that define which pages a user can see and which not (e.g. "Normal user", "Paid user", "Premium user"....)

Is it possible that a user can register for "Premium user" for example with the standard registration? We would need different user data (bank details for example) in that case too.

Or is it better write an own registration module that handles the different cases, adds the users to DNN and assigns them to the choosen roles?

Thanks in advance,

Ralf

 
New Post
4/20/2007 12:03 PM
 

Basically the user can choose to 'Subscribe to Services', this translates to choosing a role. You can specify trial periods and recurring fees for these roles.

So using the default DNN setup, you can create the security roles - Paid User and Premium User. Then set these roles to be Public but not Auto-Assign. Your new users will then register for an account, and then can update their profile, under Manage Services, subscribe to the new roles you created. Regarding the bank data, perhaps that should be handled by the payment gateway instead of your registration form for security reasons, but if you must, you can also add them as profile properties.

Lastly, there is no harm writing your own module to manage your registration process, especially if you need a very custom process flow and validation and stuff. Whichever works, man.


Warm Regards,

Ed Borhan [ evolve | build | connect ]

A DotNetNuker Since 2005 (v 03.00.11)

Ed Borhan > adaptive webware
Think Gold Internet (TGI)
 
New Post
5/2/2007 7:18 AM
 

Hi,

thanks for that hints. But the user still has to edit his profile and choose the role he want to subscribe there.

Isn't it possible to let the user directly subscribe to a specific role? For example i have two pages: One page where the user registers for the role "User-Basic" and one page where the user registers for "User-Advanced". So i can have two menu items "Register as Basic user" and "Register as advanced user"

On each page there is a normal registration process but they register the user to the predefined roles so the user does not have to go to the profile and edit it.

Can that be done with a normal DNN installation?? Or do we need a custom module that does that?

Thanks in advance,

Ralf

 
New Post
5/2/2007 8:03 AM
 

AFAIK, the default DNN registration form doesn't have the option to let users choose roles at the point of registration. So perhaps a custom module is the way to go for now.


Warm Regards,

Ed Borhan [ evolve | build | connect ]

A DotNetNuker Since 2005 (v 03.00.11)

Ed Borhan > adaptive webware
Think Gold Internet (TGI)
 
New Post
5/2/2007 9:39 AM
 

OK, Thanks. Then i do not need to investigate any further in that direction and can start creating an own registration module (it is not that complicated, i had a look into the code of the original registration module)

Thanks,

Ralf

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Register user to a specific role?Register user to a specific role?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out