Recently Viewed...
DNN Modules
SnowCovered Top Sellers

Gloss is the first ALL COLORS! skin, featuring a powerful XML-based flash and being 100% W3C CSS XHMTL1.0 compliant. Tune it yourself on the fly, changing colors, backgrounds, containers, text color and size, width and more! Brilliant!

Content Workflow + Versioning + Categorization + Multiple Display Options = Truly Advanced DotNetNuke Content Management (Requires DNN 4.5.1 or later)

Powerful, Ajax Enabled, Easy to Use. Document Management has never been better. Open-DocumentLibrary allows DotNetNuke users to share and manage documents in a flexible, intelligent way, offering granular control over Folder and Document access.

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to add videos in various format and automatically convert them to flv format, you also can add videos from embed code and play them in our integrated flash video player.

'Relationship Building' and 'Communication' are two essential nuts and bolts for a business to prosper. This module allows you to bridge both of these and easily generate continuous awareness of your web site, products and services. Your prospects and customers will greatly appreciate this featur

In this day and age, knowing as much detailed information as possible about your customer, prospect or web site user is essential. Thankfully, the new 'Dynamics Forms' module from Data Springs, makes it easier than ever to segment your data collection efforts.

Ultra Media Gallery is the most popular photo gallery and media gallery solution for DotNetNuke, UMG offers 10 different flash player to browse your gallery with completely different user interface experience.

Capture your users attention, enrich your site with multimedia flash, and create and opt in distribution list for your DNN site. These are just a few of the many features the Data Springs Module Collection can provide you.

aero is a flexible skin pack, featuring 8 incredible base colors, now with a XML-based Flash header.Combine 3 background layouts, 3 widths and 6 headers to create your own, personalized site.Now also in Color Specific Packs in a total of 40 colors!!

ALL NEW ! - Minimalist includes skin packs in 12 great colors. Each color has Flat, Gradient and Glass versions. Feature rich XML Flash header, perfect for just about any purpose. 9 Different menu options in each skin pack; 3 horizontal menus, 3 vertical menus and 3 all-new Twin level menus . . .

    |   Register   |   dinsdag 2 december 2008   
Data Springs Product Forums...
Subject: redirect based on role expiration
Prev Next
You are not authorized to post a reply.

Author Messages
Shawn
Posts:27
going with the flow
going with the flow

07-01-2008 2:38  

Is it possible to setup a page redirect such that when a user's membership to a particular role expires that they are redirected to another page?

I tried setting up some rules so that if a user is a member of  "Group A" they get directed to one page and if they are also a part of another group -- group B -- then they get directed to a different page.  If the user is a member of Group A and Group B then I set a rule so that they get redirected to Group B's page.  That works fine.  However, if that person's membership to Group B expires then there is no difference.  As the user is logically no longer part of Group B (the role is expired for that user), I would expect that the rule directing that user to the "Group A" page would take priority. 

Is there another solution to this problem?  --Thanks.

Shawn
Posts:27
going with the flow
going with the flow

07-06-2008 10:27  
Anybody?
Chad
Posts:2264
river guide
river guide

07-10-2008 10:21  
So when the users role expires... Is it still taking them to Group B? Where is it redirecting them to if its not Redirecting them to A or B?

-Chad
Shawn
Posts:27
going with the flow
going with the flow

07-10-2008 10:43  

It's as though it doesn't "see" that the role has expired.  It still takes them to Group B.  Thanks for looking into this.

Chad
Posts:2264
river guide
river guide

07-10-2008 12:13  

Yep... We have discovered that this is a bug, its checking the UserRoles table and not the expiry date. We have updated the code but the module is currently undergoing some additional 'surgery' as we are adding the features to check for 'force password change' etc...

We should have a fix out within the next few weeks, sorry for the problem. In the mean time as a work around you could delete from the userroles table where the expiry date is less than the current date (such as an automated nightly SQL process or something?) just thinking of a work around for now...


-Chad

Shawn
Posts:27
going with the flow
going with the flow

07-10-2008 12:49  

I thought about that, but I don't want the person to be removed from the role.  I want them to be a part of a role that gets renewed.  So from a login redirect order of precedence the system should check to see if that person's role is active; if not, then redirect to the basic registered user's role (or some other) and invite them to renew their subscription.  When they renew their subscription events should fire that extend their role membership from today's date + the length of their membership.

 

Actually, that does bring up a question -- I wonder if the event will fire?  If I have an event that adds a user to a role for "X" amount of time upon the successful purchase of a subscription through Paypal -- if that person is already a member of said role will it extend the membership or just do nothing?  And will it extend the role membership from the time it expired or from the time it was purchased?

Thanks. -- Shawn

You are not authorized to post a reply.
Forums > Product Discussion - DotNetNuke Modules > Dynamic Login > redirect based on role expiration



ActiveForums 3.7

Copyright 2005 - 2008 by Data Springs, Inc.
Terms Of Use | Privacy Statement