I am posting here a discussion begun by email with Chad.
PROBLEM
I have several flavors of registration and forms for the portal's (4.8.2) membership. When a person registered first time, it assigns a 'guest' role, no payment is required. This DynReg module redirects to a page where now, a portal user, the see additional content on a public page. This works fine.
If that 'guest' member now completes another process (a different DynReg form) which is set to add now a "member" role. It either redirects to another form for payment screen (DynForm) or to a pay by check invoice screen based on a Completion Event. After this process,either way, the user can not see pages specific to that role unless they log out and back in.
At first I believed it was because some registrants are redirected to a page different from the module's general setting's completed redirect. But further testing shows that it doesn't work either way.
At Chad's suggestion I updated the module to the latest build, and added some SQL completion event to reset the role's start date to null:
Update UserRoles
Set EffectiveDate = Null
Where UserID = $(UserID)
SO ANY IDEAS? Again, I believe the problem is when the user is UPDATING rather than REGISTERING.
Thanks! David |