worldcubeassociation.org
worldcubeassociation.org copied to clipboard
Add link to registration in website comment for competition
Is your feature request related to a problem? Please describe. Quite frequently, we get emails through the contact form for competitions. These are almost always people looking to delete their registration, or adjust the events they are signed up for. When actioning these requests, one has to go and find the competition page, go to the registrations, find that persons registration, and then finally make the change that they are looking to make.
Describe the solution you'd like It would be ideal to have a link to the person's current registration if it exists for the competition they are making an enquiry about, similar to the one which exists when getting notified about a person's registration
Hi, has this issue been assigned to someone?
Hi @RamanTheDeveloper, it hasn't - would you like to work on it?
Hey, yes please.
Done! Let me know if you need any help.
Thanks. Just to get the issue straight, you would like to have a link towards a person's registration added to the email that is sent when an event is changed or registration is deleted?
Not quite - we want a link to the person's registration added in emails submitted to organizers via the contact form, the user has the option to contact the organizers of a specific competition. (Users can contact organizers with this form with the "Contact organizers of a specific competition" option).
I'm not sure we can link to an individual's registration - but if it is possible, if the user submitting the contact form is logged in, we want to add a link to their registration in the email.
For cases where they aren't logged in, let's add a link to the list of registrations for the competition anyway - I think that will be useful for organizers quite often.
Oh yeah makes sense now. Thanks for clearing that up.
There is a way to link to an individual registration, it currently looks like this: https://www.worldcubeassociation.org/registrations/{registration_id}/edit
What mailer class is used to send the email with the contact form information?