All,
I have assembled my final patch to support a user "dashboard" page (a =20
respondent's portal to his surveys). The patch is too large to send =20
to the list. To access the patch, visit: =20
http://bishop.ideacode.com/~bishop/staging/issue920.tgz
(To apply, untar/ungzip it, patch -p1 < issue920.patch.diff then copy =20
the public/help/*png files to public/help and commit)
The use of this dashboard is explained in the built-in help. The =20
configuration options are explained in the configuration file. Here =20
is the brief:
First, an administrator configures whether he wants to use the =20
dashboard at all. Default is OFF, to remain compatible with previous =20
versions. Once enabled, a user gets to the dashboard by either =20
hitting public/dashboard.php directly or by hitting public/survey.php =20
without a survey name.
Once at the dashboard, the user has three choices: log in, view the =20
help documentation, or (optionally) see a list of public surveys. The =20
administrator decides whether or not to engage the list of public =20
surveys via the configuration file. The default is OFF.
Once logged in, the user sees three panels: my surveys, my history, my =20
tools. My Surveys lists all surveys the respondent can currently =20
take, using the same logic found elsewhere in the system. The title, =20
status, and last activity date are shown in a table. My History lists =20
all surveys the respondent has had access to, but does no longer -- in =20
other words, the surveys that have moved from active to done. My =20
Tools allows the user to get help, log out, change their profile, =20
change their password, or email help. The availability of the last =20
three in that list are administrator controlled, via the ini file.
OPEN ISSUE
There is one open issue, and that is with the current =20
<username,password> situation. This code throws a friendly error to =20
the user in the case where the entered username and password is =20
non-unique. I will be working on a patch next that will make =20
<username,password> unique by salting the password with the realm.
Please let me know if you have any questions.
bishop
--=20
Bishop Bettini
ideacode, Inc.
(main) +1 919 341 5170 / (fax) +1 919 521 4100
Visit us on the web at:
ideacode.com Professional software research and development
reviewmysoftware.com Improve sales! Review your software before you release
bytejar.com Solutions to those annoying development problems
|