progressivetech / net.ourpowerbase.qrcodecheckin

QRCode Checkin allows you to send an email that contains a scanable code to the registered participants for your event.
Other
16 stars 15 forks source link

Is there a chance to enable QR code for multiple events? #6

Closed tapashdatta closed 3 years ago

tapashdatta commented 5 years ago

Is there a chance to enable QR code for multiple events?

jmcclelland commented 5 years ago

Yes, that would be useful, but would require some changes. Right now you can use the QR code token in a CiviMail message - and to my knowledge only contact level tokens are available in CiviMail. A contact level token has no idea which event to use. So if more than one events is enabled, it would not know which event to generate the token for (or perhaps could simply generate a token for all available events?).

To preserve this functionality, I think we would have to have dynamically generated tokens - one for every event that is enabled, then you could pick the right token when sending the email. But, I'm not even sure if it's possible to add dynamically generated tokens.

Or, we would restrict tokens to be used only with email sent to a group of participants, in which the relevant event is available. But then you couldn't send tokens via CiviMail, which seems like a bad idea.

So - I guess my answer is: I don't know!

tapashdatta commented 5 years ago

Thanks for reply. I guess dynamically generated code is best option of all. If you are able to investigate further we are willing to contribute towards it to make necessary changes, as long as cost is within our reach.

jmcclelland commented 5 years ago

Unfortunately, I'm not in a position to offer programming for hire, but would welcome a patch if you can find somebody to write the code.

jmcclelland commented 3 years ago

At last this is complete. Thanks to @johntwyman you can now enable qrcode check in for multiple events.