Register   Login
     
  Latest Posts  
RE: Comments not posting
by smcculloch on 1/08/2009 2:55 AM
Does anyone have XHTML Compliant PA Template
by tmahmud on 1/08/2009 1:04 AM
RE: Comments not posting
by WillJean on 1/08/2009 12:53 AM
RE: Comments not posting
by smcculloch on 1/08/2009 12:24 AM
RE: 4.9.0 and 5.0.0 with Simple gallery
by smcculloch on 1/08/2009 12:23 AM
Enable to comment in Simple Gallery
by nmduc073 on 1/07/2009 11:33 PM
Comments not posting
by WillJean on 1/07/2009 11:32 PM
4.9.0 and 5.0.0 with Simple gallery
by insomnia on 1/07/2009 11:31 PM
RE: Unable install News Articles in DNN 5
by nmduc073 on 1/07/2009 11:27 PM
Layout Settings: Listing View
by shawno on 1/07/2009 10:58 PM
  Forums  
Subject: Role Problem
Prev Next
You are not authorized to post a reply.

Author Messages
Craig MUser is Offline
Gold Membership
Nuke Super Newbie
Nuke Super Newbie
Posts:23

9/09/2006 4:37 AM  

Hi,

I have recently purchased the subscription module which is working great but I have a problem with DNN I was hoping someone could help with. I have the signup module on a page called members (which is a parent tab), and once they signup with PayPal and return to the website users are added into the role successfully and can see their subscription status which is great.

The problem is that I have two child tabs that are only visible to members, but once they come back from PayPal and are added into the member role the child tabs are not visible. However, if the user logs out then comes back in to the website the child tabs are visible.

Is this a DNN caching issue (I am using DNN 4.0.3), a bug, or am I missing something that is very obvious? I can replicate this easily on my local test machine if I login  as an Admin on 1 browser window then login as a registered user in another browser window and add that user into the Admin role (the admin tab is not visible to the registered user until they logout and log back in). I thought that DNN role assignment from a database would be immediate, but obviously not :) Also, it is interesting that if you delete a user from a role this change is immediate.

Can anyone offer advice on this? Any help with this issue is much appreciated.

Thanks

Mariette KnapUser is Offline
Registered Users
Nuke Master
Nuke Master
Posts:650


9/09/2006 5:26 AM  
I have instructed in the mail the users get after subscribing that they need to logoff and logon again. What you see is caused by the cookie the user gets.


Subscribe for great articles and howtos. Get unlimited access to all content.
Mariëtte Knap
www.smallbizserver.net
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


9/09/2006 3:57 PM  
Hmm, I'm wondering if I can make the "ReturnUrl" be a page that removes the role cookie, and then does a redirect to where you should be going.

This (I think), would fix the problem?

Scott McCulloch
Site Administrator
Craig MUser is Offline
Gold Membership
Nuke Super Newbie
Nuke Super Newbie
Posts:23

9/09/2006 5:36 PM  
That would be great Scott. I just think it's a bit confusing and inconvenient for users to have to logout to get access to subscriber content once they have subscribed.

Also, I'm 99% sure that when I joined this site I didn't have to logout and login to get access to subscriber content such as downloads. Is this correct Scott? If so, what version of DNN does this site use or how are you doing this?

Thanks
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


9/10/2006 6:12 AM  
Hmm, I'm using 3.1.1, perhaps the role issue happened later, I do have some problems *sometimes*, but it seems to be due to active forums.

Scott McCulloch
Site Administrator
Craig MUser is Offline
Gold Membership
Nuke Super Newbie
Nuke Super Newbie
Posts:23

9/11/2006 3:56 AM  
Posted By smcculloch on 9/09/2006 3:57 PM
Hmm, I'm wondering if I can make the "ReturnUrl" be a page that removes the role cookie, and then does a redirect to where you should be going.

This (I think), would fix the problem?

Ok, I might try some tests using DNN 3.1.1.  Or is it possible to implement something in the next version of Subscription Tools like what you have mentioned above (quoted) that would fix this problem for DNN 4???

Thanks
Richard ThurgoodUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:27


9/12/2006 7:33 AM  
I'm using 3.1.1 and I'm experiencing this issue too. I tell the users to refresh.

Richard
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


9/12/2006 3:50 PM  
I'll see what I can do about clearing the roles on the return.

Scott McCulloch
Site Administrator
Craig MUser is Offline
Gold Membership
Nuke Super Newbie
Nuke Super Newbie
Posts:23

9/14/2006 10:00 PM  
Hi Scott, any updates on this?

I did a bit more testing, and DNN 3.0.11 worked fine but it seems 3.1 and higher have the role problem. Don't know if this helps or not .

Thanks
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


9/20/2006 6:03 AM  
I don't get the role issue when I have my browser set to always check for new version of a page on each request.

Or when I use shift-refresh.

I have however, just added into a new build (soon to be released), something that will clear the role when it is sent back from PayPal.

Scott McCulloch
Site Administrator
MarcusUser is Offline
Gold Membership
Nuke Newbie
Nuke Newbie
Posts:6

7/02/2007 4:01 PM  
Posted By smcculloch on 9/20/2006 6:03 AM
I don't get the role issue when I have my browser set to always check for new version of a page on each request.

Or when I use shift-refresh.

I have however, just added into a new build (soon to be released), something that will clear the role when it is sent back from PayPal.
Hi, just wondering if this ever got included - I have just experienced the same problem?
Thanks
marc.


Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


7/03/2007 7:04 AM  
Yes, clearing the cookies was included in a previous release.

Scott McCulloch
Site Administrator
MarcusUser is Offline
Gold Membership
Nuke Newbie
Nuke Newbie
Posts:6

7/03/2007 10:01 AM  
Hi,

Any ideas why my users have to log out and in again - could it be something else?

Thanks

Marc.
Craig MUser is Offline
Gold Membership
Nuke Super Newbie
Nuke Super Newbie
Posts:23

7/04/2007 5:59 PM  
What version of DNN are you using? I could not get this working with DNN 4.x.x at all, but I am using the latest Subscription Tools version on DNN 3.1.1 and it works great.
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


7/09/2007 6:12 AM  
This site is running DNN 4.4.1 and it works OK.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > Subscription Tools > Role Problem



ActiveForums 3.7