I just had to create a module for a client that used VotingAPI to provide "Yes/No/Maybe" signup capability (as seen on Meetup.com). I think CCK might be a more robust architecture for a project that had more detailed needs in regard to email or reporting, though. I was wondering if you plan to have all signups implicitly be "yes" as in the Signup module, or if people can specify a "No" or "Maybe". In the module I created, the Yes, No, and Maybe's were then presented in a block, but they could equally well be presented in a view.

Comments

jhedstrom’s picture

The beauty of having the signup nodes be cck-enabled node types, is that the signup status field is simply another cck field, which can have as many options as you need. When you configure the signup node type, create a field such as field_signup_status, making it an integer type. Then, on the event content type, under the cck signup section, there should be a place for you to select that field as the status field.

jhedstrom’s picture

However, now that I think about it, the queries involved in the capacity checking wouldn't take maybes into account, so this would probably be a feature request after all.

jhedstrom’s picture

Component: Code » CCK Signup core

Thinking about this a bit more, this seems like a reasonable approach: The capacity query can do a count of all status' having a value greater than 0. Then, the yes/no/maybe allowed values would look like this:

1|Yes
0|No
-1|Maybe

a custom module is able to alter this count, so 'maybe' could be summed differently if desired.

Anticosti’s picture

Subscribing

EvanDonovan’s picture

Glad you are interested in pursuing this. I haven't had to do a signup-related development project lately, but may do so in the coming months.

jhedstrom’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new3.66 KB

This feature has been committed to 7.x. The patch is attached to be ported to 6.x.

jhedstrom’s picture

Status: Patch (to be ported) » Fixed
StatusFileSize
new3.82 KB

And here's the 6.x patch, which has also been committed.

EvanDonovan’s picture

Awesome; I'll need to check out this module again soon. Maybe I can find someone else who wants a Meetup.com-like site, and can use this instead of custom code.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bsandor’s picture

I think "Yes/No/Maybe" is absolutely a good idea.

What vas the result: can I do it with the setup mentioned in #1?
What should i do to send notifications X days before event for those who chose 'Maybe' so they must choose 'Yes' OR 'No'?

Thanks for this great module!