Tag [REGISTRATION_COMPLETE_URL]

  • Wesley Derbyshire
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 1 month ago #149953 by Wesley Derbyshire
Tag [REGISTRATION_COMPLETE_URL] was created by Wesley Derbyshire
I want to use this tag in reminder emails but it is not working. I don't understand if I should just enter the tag as text or as the URL in a link.  Or can neither of those work properly?

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #149960 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Tag [REGISTRATION_COMPLETE_URL]
Hi David

Not sure why you want to use that tag but we do not support that tag at the moment

Tuan

Please Log in or Create an account to join the conversation.

  • Wesley Derbyshire
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 1 month ago #149961 by Wesley Derbyshire
Replied by Wesley Derbyshire on topic Tag [REGISTRATION_COMPLETE_URL]
Like so many others, many of our events are conducted on ZOOM. Registrants are sent to the URL provided by Zoom so they can register with zoom for that event, and receive an email with their unique URL for the Zoom session. We would like to be able to provide that same zoom registration URL in the reminder emails for them to reregister with zoom if they lost the original zoom registration or never completed the zoom registration form. The zoom registration URL is unique to each event and we put the URL we get when the zoom event is created into the "Registration Complete URL" field for each event.

That's what why we want to use that tag.

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #149962 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Tag [REGISTRATION_COMPLETE_URL]
I'm unsure if I understand the request correctly. However, Events Booking has integration with Zoom which might help eventbookingdoc.joomservices.com/plugins/zoom-integration

Tuan

Please Log in or Create an account to join the conversation.

  • Wesley Derbyshire
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 1 month ago #149995 by Wesley Derbyshire
Replied by Wesley Derbyshire on topic Tag [REGISTRATION_COMPLETE_URL]
I have looked at the Zoom integration instructions and while that all looks very nice, it would require new procedures be followed by the administrators who set up the events from what they are currently using. How complicated is it to override the processing of the reminder emails so it can process a new [REQUEST_COMPLETE_URL] which simply inserts the value of the "Request Complete URL" field into the email in its place? If you point me to the file or files where the processing of the reminder emails occurs, I would be happy to attempt to develop the code for this.

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #149999 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Tag [REGISTRATION_COMPLETE_URL]
Hi David

You can try to modify code in the file components/com_eventbooking/helper/registration.php, method buildTags to support that new tag. Then you can use it on reminder emails and other emails, too

Tuan

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #150000 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Tag [REGISTRATION_COMPLETE_URL]
Note that the method can be implemented using override so that it won't be lost when you update. See eventbookingdoc.joomservices.com/develop...thods-helper-methods for instructions and let me know if you need more help. The structure is something like:
Code:
<?php defined('_JEXEC') or die; class EventbookingHelperOverrideRegistration extends EventbookingHelperRegistration { public static function buildTags($row, $form, $event, $config, $loadCss = true) { $replaces = parent::buildTags($row, $form, $event, $config, $loadCss); $link = 'the_link_here'; $replaces['registration_complete_url'] = $link; return $replaces; } }

You can get this attached file, unzip it, upload the received file to components/com_eventbooking/helper/override folder and continue the development from there

Hope this help

Tuan
Attachments:

Please Log in or Create an account to join the conversation.

  • Wesley Derbyshire
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 1 month ago #150005 by Wesley Derbyshire
Replied by Wesley Derbyshire on topic Tag [REGISTRATION_COMPLETE_URL]
Thank you very very much for that terrific head start. I'll send you the final version once I have it debugged and tested.

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #150006 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Tag [REGISTRATION_COMPLETE_URL]
OK. Thanks David

Please Log in or Create an account to join the conversation.

  • Wesley Derbyshire
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 1 month ago #150012 by Wesley Derbyshire
Replied by Wesley Derbyshire on topic Tag [REGISTRATION_COMPLETE_URL]
Does the registration.php in the override diectory have to contain all the code from the original file PLUS the additional code for this override function or just the override function? I was a bit confused about this by what I read in the doc and what you wrote. 

I assume I can get the vale of the registration complete url for the event in the same way all the other tag values are retrieved. I think the key part I need to "develop" is just inserting the URL as a link attached to some appropriate text. Everything else is, as far I can tell, a matter of applying the same approach to this as is applied to processing all the other tags. Is that right? Or am I overlooking something?
Thanks

 

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc