I would like to know if there is a way, on the event detail (View) tab (not the Signups tab), to display the same signup info that is on the Signups tab. It would be nice to include this information in both places, so that all users can see who signed up and what information they provided when they signed up. I only want this to be visible to authenticated users (which is how it is now). The only thing needed, really, is just a duplication of the signup info on the Signups tab (including the button to cancel signup next to each username, if possible).
The reason I need all authenticated users to see what people submitted in their signup info is because I run a site for a WoW guild, and users have more than one character in the game. They put their character name into one of the fields, and I'd like others to know which characters are going to be showing up to events. Just showing the username doesn't tell them this.
I took a look at the code in the signup.module file, and I can see where the magic is happening on the Signups tab, but I wouldn't dare edit it, because I don't really know what I'm doing when it comes to Drupal modules (OK...and I tried to edit it and broke things for a minute until I changed the code back :-)
If a patch could be provided, or even just a "remove xyz from this line, and add xyz to this line", that would be great, and I'd literally jump up and down at my desk.
Thanks so much!
(By the way, I'm using Drupal 5.1, if that helps with anything.)
Comments
Comment #1
dwwyup, i modified signup.module for my site (http://baterialucha.org) to do exactly this when i first started hacking drupal code just over a year ago. one of these days, i'm going to fold in all my improvements to signup.module for that site into the upstream source (adding these new features to older signup code is what started me down the path of building the new release system (http://drupal.org/node/94000), in fact). anyway, yes, this would be a good thing (especially if the behavior was configurable), and not terribly hard.
Comment #2
dmetzcher commentedThanks for the reply. Can you post your signup.module to a another reply so I can take a look and possibly use it in my own site?
Thanks!
Comment #3
dwwnot really, sorry. :(
a) it's all 4.6.x
b) it's got a bunch of site-specific hacks that won't help you (and will just confuse the situation)
c) some of the fixes in there have already been rolled into the "upstream" copy, others haven't.
basically, it's a huge mess, i'd be ashamed to post it publically, and i highly doubt there'd be much of value in there for anyone else. ;) but, it's all good proof-of-concept stuff for when i implement these features correctly and in general for the real version of signup...
(maybe i should reconsider, if yourself or others are really serious about trying to implement some of this stuff and would like to see the ugly, proof-of-concept stuff that was my first ever forray into drupal hacking, php, mysql, etc.) ;)
Comment #4
dwwin light of the recent permission fixes i just commited (http://drupal.org/node/69283), i'd like to do this as a new permission. but yeah, it should be so you can view the signup details, not just the signup summary list. once we have "view signups for own content" and "view all signups" as permissions, then we just need a global setting (for now) as to what singup info is displayed to such users, either the summary list, or the detail list, as you're requesting here. eventually, we might want more flexibility than that (doing this per node-type, or even per-node), but for now, let's just stick with the 2 permissions (one of which is now in), and this global switch. we can worry about more flexibility once someone actually needs it.
Comment #5
dmetzcher commentedExcellent! Thanks for putting the effort into this module. It's going to be so useful for our users when they can see the signup details of the users who signed up. I updated to the HEAD today, and I'll keep an eye out for updates in the future. Thanks also for replying here, as I use the issues section to track things that I had problems with, and would not have seen the signup HEAD update had you not responded again here telling me about it.
Thanks!
Comment #6
dmetzcher commentedI noticed that there have been features added to the development version of this module, but I didn't see this feature in the list. Has it been added, but just not added to the list of new features?
Comment #7
dwwnope, it's just not there, yet. also, i'm moving this module more and more towards relying on views for everything like this, and views doesn't (yet) support permission-based ACLs (only roles). so, it's a little unclear how to best handle this going forward.
Comment #8
duaelfrThis version of Signup is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.
Comment #9
simon georges commentedReverting recent closing.