From: angek <ang...@ip...> - 2003-04-13 01:57:38
Attachments:
newrate_and_fork.diff
|
Hi James, Here's a diff file created against the current cvs version of phpESP (as at 13/04/03). This diff file incorporates the forked survey capabilities and now works correctly with your patches (prev/next for private surveys). It also incorporates some major changes to the Rate (scale1..5) question type. These changes make it possible to now include text rates rather than just the default 1,2,3,4,5. The possible rate text combinations supported include: rate text1, rate text2, rate text3, rate text4, rate text5 rate text1, blank, rate text3, blank, rate text5 rate text1, blank, blank, blank, rate text5. I've also incorporated the ability to reverse the rate scale for individual rate scale questions. For example lets assume I had the following rate scale for a rate question: Poor, below average, average, above average, excellent each rate would hold a value of 1,2,3,4,5 respectively. If I wished to have a rate scale of excellent, above average, average, below average, poor it would have meant that excellent would have a value of 1 etc.... Using the "reverse rate scale" feature the rate scale would ensure that excellent still maintained a value of 5 etc... I've also incorporated Chad Bearden's (chadb at beardendesigns dot com) patch that allows for a rate question's color scheme to be customised. On a final amd most important note it has to be said that the new rate and fork diff file MUST only be applied to a NEW installation of phpESP and should NOT, UNDER ANY CIRCUMSTANCES be applied to any existing installation of phpESP until I have finished and published the necessary update script!. I have started creating an update script (mysql_update_1.6-1.7.sql) but it is not complete. I've decided to create a web front end that will handle all the updates from here on in. Applying this diff file to an existing phpESP installation will mean that all existing rate scale questions will not function correctly. Kon |
From: Kurt M. <kme...@at...> - 2003-04-13 14:52:19
|
Thats awesome Kon, thanks. Has anyone been working on being able to group questions for scoring?? We really need this capability to generate graphs, and I'd be surprised if no one else has asked for this capability. IS this out there already and I missed it?? Also, when might the "Facelift" be being incorporated? Kurt _______________________________________________________ ----- Original Message ----- From: "angek" <ang...@ip...> To: "James E Flemer" <jf...@al...> Cc: <php...@li...> Sent: Saturday, April 12, 2003 8:52 PM Subject: [phpesp-dev] new rate question type and forked survey patch > Hi James, > > Here's a diff file created against the current cvs version of phpESP (as > at 13/04/03). > > This diff file incorporates the forked survey capabilities and now works > correctly with your patches (prev/next for private surveys). > It also incorporates some major changes to the Rate (scale1..5) question > type. > These changes make it possible to now include text rates rather than > just the default 1,2,3,4,5. The possible rate text combinations > supported include: > rate text1, rate text2, rate text3, rate text4, rate text5 > rate text1, blank, rate text3, blank, rate text5 > rate text1, blank, blank, blank, rate text5. > > I've also incorporated the ability to reverse the rate scale for > individual rate scale questions. For example lets assume I had the > following rate scale for a rate question: > > Poor, below average, average, above average, excellent each rate would > hold a value of 1,2,3,4,5 respectively. If I wished to have a rate scale > of excellent, above average, average, below average, poor it > would have meant that excellent would have a value of 1 etc.... > Using the "reverse rate scale" feature the rate scale would ensure that > excellent still maintained a value of 5 etc... > > I've also incorporated Chad Bearden's (chadb at beardendesigns dot com) > patch that allows for a rate question's color scheme to be customised. > > > On a final amd most important note it has to be said that the new rate > and fork diff file MUST only be applied to a NEW installation of phpESP > and should NOT, UNDER ANY CIRCUMSTANCES be applied to any existing > installation of phpESP until I have finished and published the necessary > update script!. > I have started creating an update script (mysql_update_1.6-1.7.sql) but > it is not complete. I've decided to create a web front end that will > handle all the updates from here on in. > > Applying this diff file to an existing phpESP installation will mean > that all existing rate scale questions will not function correctly. > > > Kon > |
From: angek <ang...@ip...> - 2003-04-14 09:00:47
|
Kurt, I'm not aware of any work being done on question grouping at the moment. We'd really like to help out as many people as we possibly can but this isn't always possible. As for the Facelift it may make it into the next major release. Kon On Mon, 2003-04-14 at 00:52, Kurt Melander wrote: > Thats awesome Kon, thanks. > Has anyone been working on being able to group questions for scoring?? > We really need this capability to generate graphs, and I'd be surprised if > no one else > has asked for this capability. IS this out there already and I missed it?? > Also, when might the "Facelift" be being incorporated? > > Kurt > _______________________________________________________ > ----- Original Message ----- > From: "angek" <ang...@ip...> > To: "James E Flemer" <jf...@al...> > Cc: <php...@li...> > Sent: Saturday, April 12, 2003 8:52 PM > Subject: [phpesp-dev] new rate question type and forked survey patch > > > > Hi James, > > > > Here's a diff file created against the current cvs version of phpESP (as > > at 13/04/03). > > > > This diff file incorporates the forked survey capabilities and now works > > correctly with your patches (prev/next for private surveys). > > It also incorporates some major changes to the Rate (scale1..5) question > > type. > > These changes make it possible to now include text rates rather than > > just the default 1,2,3,4,5. The possible rate text combinations > > supported include: > > rate text1, rate text2, rate text3, rate text4, rate text5 > > rate text1, blank, rate text3, blank, rate text5 > > rate text1, blank, blank, blank, rate text5. > > > > I've also incorporated the ability to reverse the rate scale for > > individual rate scale questions. For example lets assume I had the > > following rate scale for a rate question: > > > > Poor, below average, average, above average, excellent each rate would > > hold a value of 1,2,3,4,5 respectively. If I wished to have a rate scale > > of excellent, above average, average, below average, poor it > > would have meant that excellent would have a value of 1 etc.... > > Using the "reverse rate scale" feature the rate scale would ensure that > > excellent still maintained a value of 5 etc... > > > > I've also incorporated Chad Bearden's (chadb at beardendesigns dot com) > > patch that allows for a rate question's color scheme to be customised. > > > > > > On a final amd most important note it has to be said that the new rate > > and fork diff file MUST only be applied to a NEW installation of phpESP > > and should NOT, UNDER ANY CIRCUMSTANCES be applied to any existing > > installation of phpESP until I have finished and published the necessary > > update script!. > > I have started creating an update script (mysql_update_1.6-1.7.sql) but > > it is not complete. I've decided to create a web front end that will > > handle all the updates from here on in. > > > > Applying this diff file to an existing phpESP installation will mean > > that all existing rate scale questions will not function correctly. > > > > > > Kon > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > phpESP-devel mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-devel |
From: Luis F. <lfa...@fu...> - 2003-04-14 01:44:49
|
Hi, The forks are great, thanks! I needed this one a lot :-) I have some suggestions about the implementation. Instead of making it as a question, you could have a separated table for skips, because there is nothing in the structure of a question that matters for skips. This would avoid the bug of having the questions tab treating skips as questions and generating an error. You could also associate the skip with a section break and only check it in this break. This way you can really fork a survey instead of just skiping sections, because you can make a jump just after the section and then another jump next section based on the same question. The way it's now if you have, for example, a section to be answered just by men and then another just for women, you can't jump the women's section after answering men's section because any skip you make based on the sex is applied before answering men's section. []s Luis angek wrote: >Hi James, > >Here's a diff file created against the current cvs version of phpESP (as >at 13/04/03). > >This diff file incorporates the forked survey capabilities and now works >correctly with your patches (prev/next for private surveys). > > |