Recently Viewed...
To help you navigate to pages you most recently visited, select from the links below.
Product Forums
Sharepoint Forums
DNN Modules
SnowCovered Top Sellers

Ultra Media Gallery 5.3
Ultra Media Gallery is the most popular photo gallery and media gallery module for DotNetNuke, the major purpose of this module is to allow you create unlimited pictures and medias to your gallery and organize them by albums, your albums and medias are browsed in flash interface.

Flex By DrNuke
The Flex skins are professionally designed, coded and packaged by a team of DotNetNuke experts. Available in 8 great colours, each with 15 banner images, 2 menu types and a choice of 3 background styles. The entire pack features a total of 2448 skins!

Open-DocumentLibrary v3.0
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 2.3
Ultra Video Gallery is a brother product of Ultra Media Gallery, The major purpose of this product is to provide an easy way to add videos in various formats to your website by and play them in a unique flash gallery.

XMod 5.1
Version 5 of the perennial best-selling tool for creating data-based solutions in DNN without custom programming. This version focuses on greater flexibility, expandability, and ease-of-use.

CATALooK.netStore Pro & Booking Tools w/source DNN4
Powerful multilingual, search engine optimized ecommerce store and renting/letting system including a concept utilizing many business models in one application integrates:Catalog,Media gallery,Configurator,Packages,Data entry forms,Subscriptions,Recurring billing,40+ CC Gateways,UPS and USPS support

DNN360.net 6 Modules (On SPECIAL) ! (New)
This is bundle of useful modules from DNN360.net (Navigation Suite All in One 1.3.8, The Art of TransMenu 1.2.8, Yahoo Tab2.3.7, Perfomance TuneUp,6 nice skins, 5 Flashs vital players combined into one.

CATALooK.netStore Pro & Booking Tools DNN4
Powerful multilingual, search engine optimized ecommerce store and renting/letting system including a concept utilizing many business models in one application integrates:Catalog,Media Powerful multilingual, se- ges,Data entry Powerful multilingual, se- ing billing,40+ CC Gateways,UPS and USPS suppo

Events Calendar and Registration 2.1.8 for DNN4.xx
One stop solution for events calendar and events registration! Demo site available for free trial.

Document Exchange Professional 4
Edit documents directly on your server using the latest iteration of the premier document management solution for DotNetNuke (DNN). With a completely revised Ajax-enabled UI.
    |   Register   |   Tuesday, August 19, 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:22
going with the flow
going with the flow

07/01/2008 2:38 PM  

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:22
going with the flow
going with the flow

07/06/2008 10:27 AM  
Anybody?
Chad
Posts:1814
river guide
river guide

07/10/2008 10:21 AM  
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:22
going with the flow
going with the flow

07/10/2008 10:43 AM  

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:1814
river guide
river guide

07/10/2008 12:13 PM  
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 expirydate 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:22
going with the flow
going with the flow

07/10/2008 12:49 PM  

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