Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fields for event host(s) and event speaker(s) #872

Open
1 task done
patriciabt opened this issue Sep 15, 2024 · 2 comments
Open
1 task done

Add fields for event host(s) and event speaker(s) #872

patriciabt opened this issue Sep 15, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@patriciabt
Copy link
Collaborator

Is your enhancement related to a problem? Please describe.

A need for those fields were mentioned in user feedback

  • event host(s) as they could be different than the person publishing the event, and not listed in the "leadership" tab, sometimes people host an event as a guest host
  • event speaker(s), in order to list them as speaker

This would be beneficial to GatherPress either as a standalone plugin, or in the use of GatherPress on the WordPress community.

Those fields should be looking for usernames and allow to pick existing users. If several, as comma separated values, similar to choosing tags

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@carstingaxion
Copy link
Collaborator

carstingaxion commented Sep 15, 2024

I thought about this kind of relation a user can have with an event very intens lately and have read the related issues here probably 10 times. (#3, #445, GatherPress/gatherpress-wp-org-integration#5)

I’d could be helpful to step back a little bit, to broaden the perspective from technical-only to technical-and-philosophical.

For the migration from the custom RSVP DB table to the comments table, we concluded that in WordPress an interaction of a human being with any data is called „comment“.
We translated the human-readable „I take part in an event as attendee“ into a new comment with the comment_type of RSVP and assigned the „attending“ term to that comment.

Now let’s do the same (or similar) for speakers, organizers and maybe even sponsors.

If someone speaks, organizes or sponsors an event, it’ll be a comment on that event by the explicit user.

This makes sure:

  • one user can have multiple roles per event
  • one user can have different roles per each event
  • A site owner can could open a „call for speakers“ with a simple (little modified) comment form (block)
  • A request to speak/organize/sponsor (via the comment API internally) will be queued and can be approved automatically or manually (like comments)
  • GatherPress can re-use most of the built-in stuff without reinventing new wheels, like numerous comment-blocks, spam-protection, template tags and endless hooks.

While this only touched the technical implementation, the UI for such a thing could be like described by @patriciabt with a user-select for each role.

User that are selected as site-wide organizers in the GatherPress settings, could/should be automatically assigned on event creation, means they will get an comment created in their name.

This is not meant to replace the need for explicit Roles & capabilities, but could be its foundation. Someone could earn the permission to edit an event, if this exact user has made a comment (with comment_type rsvp and term organizing), which got approved. Going this way would allow GatherPress to assign all or some of the special capabilities @javiercasares described in #445, without having to use explicit WordPress roles or custom capabilities, that a site owner might need to assign to somebody in the first hand. Those caps could be assigned dynamically based on the comment, using user_has_cap .

All of this should be nicely wrapped in a sense-making API, but under the hood, it’s just comments.

@patriciabt patriciabt changed the title Add fields for event host(s) and even speaker(s) Add fields for event host(s) and event speaker(s) Sep 19, 2024
@shawfactor
Copy link

Using comments for rsvps is the right approach.

Hosts and speakers are pretty specialized though and probable best kept in a free form block.

however check in/attendance is common across most events and probably needs its own comment type rather than having various statuses for rsvp

I touched on this in #604 which is likely redundant now as it was talking about the old rsvp table

I would also suggest that the commentl_type field should align with indieweb types as much as possible which would open up gatherpress to webmention:

https://wordpress.org/plugins/webmention/

They already use the comment table and rsvp. Distributed rsvps in the indieweb through webmention would be very cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

3 participants