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 ...Parent Portal sign up but access to child portalParent Portal sign up but access to child portal
Previous
 
Next
New Post
7/29/2014 11:47 AM
 

Hi,

Is there a way I can have someone register on the parent portal but have them members of a specific child portal only?

I realize I can change the db manually to move them from parent to child and will do this if need be (nightmare)

Is there a trigger that I can set up to have this done? I don't know yet how to make or use triggers but then that's what learning is all about. I just don't want to go down a dead end road if a trigger isn't going to work.

Thanks

Bob

 
New Post
8/2/2014 2:19 PM
 

not in platform by default (evoq content has that capability with "site groups" - I believe there is a forge module that replicates some of this but i havent looked into it, and it's obviously not supported)

you could do this via a custom authentication provider - http://www.dnnsoftware.com/wiki/page/authentication_providers (i've done something similar for a customer where they register with one portal which also does 3rd party authentication integration and once passed registers with half a dozen other portals by adding UserPortals records -which means there is a "shared" user account)


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/2/2014 2:20 PM
 
I should also note that triggers are a poor approach to this - they often lead to unexpected effects, in particular causing upgrades to fail as there are unexpected objects on a platform table.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/3/2014 3:19 AM
 
Bob, using default registration module will register the user on the current website, which will affect a number of tables, at least three of them contain site specific entries: userPortals, userProfile, userRoles, which are difficult to "move" to another site using any approach and might brake with a future DNN upgrade. As Cathal suggested, a custom registration module might be the better approach, which signs up for the appropriate website using DNN API.

Triggers are a powerful feature of SQL Server, but require some knowledge, as they might affect performance significantly and might affect DNN upgrades in rare conditions.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/3/2014 2:03 PM
 

Thanks guys, I appreciate your feedback.

I think I'm getting in a little over my head so I'm going to scale back a bit.

I can get the site operational without this extra stuff and as both of you suggest triggers can be tricky, I think it best to keep things simple for now.

I have a lot to learn and no point in trying to learn it all at once.

Thanks again.

PS: That doesn't mean I won't be back here with more questions...

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Parent Portal sign up but access to child portalParent Portal sign up but access to child portal


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