Closed (fixed)
Project:
CCK Signup
Version:
6.x-1.0-beta1
Component:
CCK Signup core
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2011 at 10:09 UTC
Updated:
2 Mar 2011 at 17:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
_toch commentedAnd the patch.
Comment #2
jhedstromHere's a slightly different patch, again, moving logic from Volunteer Rally back here. This implements hook_cck_signup_validate, and in combination with #1039274: remove link if already signed up should work for most use-cases. Please test this with your setup, and if it looks good, I'll commit it.
Comment #3
jhedstromCommitted.
Comment #4
_toch commentedThis one doesn't work for me. The user can create two signups for the same event.
The cck_signup_cck_signup_validate function is never called.
Comment #5
jhedstromAh. It looks like this hook wasn't being called for event types that weren't using a signup status field. Can you try the latest version in CVS (I just committed a fix that should make it work)?
Comment #6
_toch commentedOk, I'll check it tomorrow.
Comment #7
_toch commentedsorry for the delay, some urgent work to finish.
I've tried the last revision in CVS. And it perfectly works. thanks jhedstrom.
Comment #8
jhedstromGlad to here it _toch. Thanks for your help with patches and testing.
Comment #9
_toch commentedjhedstrom, could you tell me when do you release a new version with this fix?
Comment #10
jhedstromJust rolled a new release.
Comment #11
_toch commentedThanks a lot.
Comment #12
marcusx commentedAhh Sorry - is there a switch somewhere I can switch this off, again? I need the old behaviour were it is allowed to create more signups for the same event. My events are holiday activity for kids. An the parents need to sigup for several siblings not only for one.
Comment #13
jhedstrommarcusx, have you looked at the CCK Signup Group sub-module? This allows a user to signup more than one person. If that doesn't work for your use case, could you open a new feature request to make this check configurable?