Recently Viewed...
DNN Modules
SnowCovered Top Sellers

Live Content uses Web 2.0 approach to provide a Rich User Interface and streamlines content presentation by overlaying content on current page. Overlay images, videos, audio, text/html content, flash, dotnetnuke modules, and external content. Experience the demo...

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!

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

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.

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.

The Catalyst skins are professionally designed, coded and packaged by a team of DotNetNuke experts. The skins are available in 12 great colours. This skin is easily customisable with our unique DrNuke EasyMod technology. Try our demo!

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   |   Thursday, December 04, 2008   
Data Springs Product Forums...
Subject: Role completion event behavior question/problem
Prev Next
You are not authorized to post a reply.

Author Messages
David
Posts:7
skipping stones
skipping stones

08/21/2008 3:30 PM  

Perhaps I am just unclear about what is supposed to happen with role completion events, and that doesn't not match what I WANT to happen...

 

Here is what I hope Role Completion Events would do in Dynamic Forms (and Registration too...) --> The completion event fires each time the condition is correct and adds or updates the Role with its defined expiry date; which I am presuming is calculated as TODAY + EXPIRE DAYS.

 

SCENARIO

I have a need to add / maintain a role code on certain users based on their answers in a questionaire (DynForm) which, by assigning a valid role code, gives or denies a discount in a completely different module.  I am using the EXIPIRE DAYS to allow them 1 day to use that discount.  If they come back after that, and they again go through the Dynamic Form to get to the other module, they would have to answer the questions correctly again, and thus get their (this time existing) role updated with a new expiry date by virtue of the completion event.

 

WHAT HAPPENS

On the second time through the form  the program 'sees' the user already has the role and does not fire the completion event. OR perhaps it is using some other date besides TODAY() as the baseline to change the expiry (such as record create date). OR there is a logic I need to understand!

 

I seem to be the queen (or jester?) of expiry since this is my 3 issue here with them. But then again, they are very powerful and helpful in conjunction with your FABULOUS programs that by and large save my staff DAYS of work on each of our installations!

 

Please advise, because, as my client says, "registrations are waiting..."

THANKS!!!

Chad
Posts:2271
river guide
river guide

08/21/2008 4:17 PM  

David,


Hi. Well we are going to be adding some new functionality to the role completion events however this is how it currently works right now....


Dynamic Role Completion events are the only completion events that fire with a add/remove functionality (we are adding new features to allow you to have it this way, or add only, remove only, etc...) So... What I mean by this is if you have a user response on the event set for the user to answer 'YES' to a question, then if they answer yes the user will be added to the role with the set number of expiry days. If they answer anything other than yes then they would be removed from a role. Unfortunatly once they are added to the role, although the event would fire it would see they were part of that role and not actually add to their expiry days. Right now this is working 'by design' but I can see how more features would help the role event. For example right now many implementations would not want them to be added for more and more days for each submission, however in your case you would... So possibly adding some more features such as 'Always update role expiry days' as a checkbox when setting up the event, or allowing you to set the actual expire date and not just the number of days would also be a great feature to have.


You can do what you are wanting to do now (or almost anything else with User Roles) using a Dynamic SQL Event. There are many threads related to this in the forums so I would just search our forums for 'UserRoles' or 'Insert Into UserRoles' and you will find many threads with scenarios that are either similar or should help your implementation. Even without knowing much SQL you should be able to find enough examples that shouldn't be difficult to implement. We often recommend this for some implementation as well because sometimes you can complete a single SQL Completion event instead of actually setting up many role completion events (we have seen implementations with 100 role completion events ).


If you go the route of a Dynamic SQL Event, you might end up posting your solution here so that other users can benefit from similar implementations down the road.


Thanks for your feedback and questions!


-Chad

You are not authorized to post a reply.
Forums > Product Discussion - DotNetNuke Modules > Dynamic Forms > Role completion event behavior question/problem



ActiveForums 3.7

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