From: angek <ang...@ip...> - 2003-04-13 01:57:38
|
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 |