OK first off I better introduce DutyMan for those who haven't seen it before. (I have to say I hate it as a tool in temrs of User Experience, however in terms of functionality I know of nothing else similar!) Its a rota planning tool. It was created for Sailing Clubs but is now used by many organisations. Its designed to let a club allocate (or people offer) to do 'duties' - e.g. Race Starter, Safety Team etc. People can then ask to swap if they can't do the date they are allocated. It sends reminders before the event. It is a paid for service.
So when someone joins our club and is the type of member who needs to do duties they need a DutyMan Account created. There is a WebService that can be linked into to do this - although the official documentation is for VisualBasic!! Someone wrote some PHP code and posted it on their forum.
This plugin takes the webservice and integrates it (with the help of a direct SQL read only link too!) with Membership Pro. It will create a user account on DutyMan's site when a member signs up for a plan (toggle it on the plan to do so). If toggled it will also delete their account on expiry.
Note Deleting accounts via the WebService is possible if a user has duties allocated it is not directly on the website. This wa sthe reason I created
FallBack Plan
- so I will fallback a member to a suspended state for a couple of months and then delete them if they still haven't renewed. I don't want to delete them and have to add them back in if they were just slow to renew.
I wouldn't expect Tuan to put this in the core - its a bit specialised! (Tuan you are very welcome to if you want it!) so I have put it on my own
BitBucket Site.
Direct download:
bitbucket.org/shinysolutions/dutyman/get/4881b2f6b6c9.zip