display volunteering history in the user account view
danithaca - July 10, 2007 - 02:18
| Project: | Event with volunteer time slots |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | danithaca |
| Status: | needs review |
Description
When enabling this feature, the volunteer participation records will be displayed in the user account view. It will help event organizers make proper arrangements.
I made 2 changes to the volunteer_timeslots.module file:
a) add a checkbox to the settings form.
b) implement hook_user().
The code is tested, and attached as tar.gz file. You might use 'diff' to see the code changes.
| Attachment | Size |
|---|---|
| volunteer_timeslots.module.tar_.gz | 8.58 KB |

#1
updated version. add permission check when displaying "notes" info.
#2
please post a patch (cvs diff -up) rather than a tarball.
see: http://drupal.org/patch
#3
thinking a little about this, a second table seems the only way to easily find a single user's history.
However, there are some issues to be dealt with in terms of how to insert and update the data in that table.
Also, in terms of tracking particupation, perhpas the simplest thing to do is to assume that a user who is signed up did participate. An admin can remove them from the schedule after the fact if they are a no-show? Unless it's important to develop a "reliabily" metric for each user?