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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Based on dnn user roles authentication, redirect to different home pages.Based on dnn user roles authentication, redirect to different home pages.
Previous
 
Next
New Post
3/6/2009 5:22 AM
 

My issue is solved.I just followed the following steps:

Create a BlogEditor role. Add a Drummer account and the Guitarist account to this role

Log on as Drummer and create a blog, log on as Guitarist and create a blog.

Create 2 pages, one called Drummer Blog and one called Guitarist Blog.

Insert the Blog module on both.Modify the blog modules on these pages to allow editing by BlogEditor accounts

Logged on as Admin, modify the Blog Module Settings and make them "PersonalBlogPages".

On the main page insert the Blog module and leave it as is.

Now my logic which i was looking for  is working viz. Every user role can view and edit their independent blog page after logging in.Also

On the main page i can see all blog entries.

On the Drummer Blog page i can see only the Drummer blog entries.

On the Guitarist Blog Page i can see only the Guitarist

Blog entries forDrummer and Guitarist can only post to their respective blogs

Thanks,

Swaminathan,

Web Application Engineer,

www.steadfastglobal.com

 
New Post
3/6/2009 10:31 AM
 

S.Nathan wrote
Thanks for your suggestion. But is there any other option like by modifying codes or settings in my local dnn portal so that when the user logs in, based on user role authentication, page is  redirected to different pages of local portal?.

I know this can be done with in a portal(by changing page permission settings, module permission settings and security roles for use).By doing this role less users could see the default home page which is fine. But role based users even though they are given access to view only their blog page, just because their blog page is not the default home page, when they login,  a message saying "You don't have access to view this tab". That's the problem i am facing. 

Any suggestions. pls reply.  Awaiting your reply.

Thanks
Swaminathan


 

This question seems to get asked fairly often.  Based on discussions in previous forum threads I'll second the suggestion already made:  What you really want is Dynamic Login from Data Springs.  There is no inherent feature in DNN to do redirection based on role or group memebership -- you'd have to code your own module.  You do not want to alter the core DNN login code as this will likely prevent you from upgrading to newer versions of DNN (you'd lose your code changes if you upgraded).

The Dynamic Login module does exactly what you're asking without altering core DNN code.  It handles redirects based on security roles and well as role groups and has a couple of other features to boot.  At $90 it's quite affordable compared to the value of your time to code and debug a custom module to do the same.
 
I understand if you're wanting to code something yourself as both a solution and as a learning excercise, but if you just need a reliable solution then Dynamic Login is about the best place to start.
 
Good luck!
-mamlin

 


esmamlin atxgeek.me
 
New Post
3/19/2009 5:05 PM
 

Ah, sorry -- I somehow missed your "I found a solution" response, S.Nathan.
 
For anyone else interested, this thread prompted me to finally sit down and post a free "forward users based on roles" solution that I'd intended to share for a while.  See it here:
 
  http://www.eguanasolutions.com/DNN_Blog/EntryID/29.aspx
 
Cheers!
-mamlin


esmamlin atxgeek.me
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Based on dnn user roles authentication, redirect to different home pages.Based on dnn user roles authentication, redirect to different home pages.


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