terms and conditions missing after upgrade

  • mstillwagon
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #70222 by mstillwagon
terms and conditions missing after upgrade was created by mstillwagon
After doing an Events Booking upgrade our terms and conditions check box is now missing from our events. Any ideas how to fix?
straffordcap.org/events/event-listings/1...ividual-registration

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

  • Vincent Schuurhuis
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #70223 by Vincent Schuurhuis
Replied by Vincent Schuurhuis on topic terms and conditions missing after upgrade
There seems to be an invalid reference in the file to check for the show term parameter.

the current line is
if ($this->config->accept_term ==1 && $articleId)

the correct line should be
if ($this->config->active_term ==1 && $articleId)

this is in the files
/components/com_eventbooking/view/register/tmpl/default.php (line 596)
and
/event.maneffic.nl/components/com_eventbooking/view/register/tmpl/group.php (line 14)

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

  • mstillwagon
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #70224 by mstillwagon
Replied by mstillwagon on topic terms and conditions missing after upgrade
This is what I am currently seeing on line 14
if ($this->config->accept_term ==1 && !$this->config->fix_term_and_condition_popup)

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

  • mstillwagon
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #70225 by mstillwagon
Replied by mstillwagon on topic terms and conditions missing after upgrade
I made the adjustment on line 596 and it appears to have fixed the issue. Thank you!

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

  • Vincent Schuurhuis
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #70227 by Vincent Schuurhuis
Replied by Vincent Schuurhuis on topic terms and conditions missing after upgrade
Line 14 in the file /components/com_eventbooking/view/register/tmpl/group.php is for group registrations

the original line is
if ($this->config->accept_term ==1 && !$this->config->fix_term_and_condition_popup)
the modified line is
if ($this->config->active_term ==1 && !$this->config->fix_term_and_condition_popup)

This is just a hotfix, it would be the best if Tuan will confirm these modifications and apply it in a new release or patch.

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

More
9 years 7 months ago #70239 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic terms and conditions missing after upgrade
Thanks Vincent. I will check and confirm if it is valid in the next one or two hours

Regards,

Tuan

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

  • Vincent Schuurhuis
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #70552 by Vincent Schuurhuis
Replied by Vincent Schuurhuis on topic terms and conditions missing after upgrade
Hi Tuan,

Is the fix wich you posted yesterday in an other topic regarding Terms and Conditions the same as mentioned in this post.

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

More
9 years 7 months ago #70563 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic terms and conditions missing after upgrade
Hi Vincent

Please use the fix which I mentioned on other forum post. With that fix, you won't have to do the code modification anymore

And that fix is already included in download package on server. So you can download latest version from My Downloads section, upgrade it to your site to get the issue sorted

Tuan

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

Moderators: Tuan Pham Ngoc