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.

AttachmentSize
volunteer_timeslots.module.tar_.gz8.58 KB

#1

danithaca - July 10, 2007 - 17:16

updated version. add permission check when displaying "notes" info.

AttachmentSize
volunteer_timeslots.module.tar__0.gz 8.65 KB

#2

pwolanin - July 10, 2007 - 23:23

please post a patch (cvs diff -up) rather than a tarball.

see: http://drupal.org/patch

#3

pwolanin - July 13, 2007 - 00:24

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?

 
 

Drupal is a registered trademark of Dries Buytaert.