• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Event Full Code not displaying proper results

Event Full Code not displaying proper results 11 years 9 months ago #18323

  • kim19
  • kim19's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I'm not sure what is happening(I'm not very good with php), but the php check for "event full" is not returning the proper info.

On my event page I see the invite button and no unsubscribe buttons and also no indication that the event is full. I have found this section on my show.php template override.
<!-- Invite/Join/Unsubscribe -->	
	<?php if ($this->cansubscribe['status']) { ?>
	<a href="<?php echo rseventsproHelper::route('index.php?option=com_rseventspro&layout=subscribe&cid='.rseventsproHelper::sef($event->id,$event->name).$tmpl); ?>" class="rs_button_control<?php echo $class; ?> rsep_join"<?php echo $rel_s; ?> ><span class="rsep_join"><?php echo JText::_('RSEPRO_EVENT_JOIN'); ?></span></a> 
	<?php } ?>	
	<?php if (!$this->eventended) { ?>
	<?php if ($this->issubscribed) { ?>
	<?php if ($this->canunsubscribe) { ?>
	<?php if ($this->issubscribed == 1) { ?>
	<a href="<?php echo rseventsproHelper::route('index.php?option=com_rseventspro&task=unsubscribe&controller=rseventspro&cid='.rseventsproHelper::sef($event->id,$event->name)); ?>" class="rs_button_control<?php echo $class; ?> rsep_unsubscribe"><span class="rsep_unsubscribe"><?php echo JText::_('RSEPRO_EVENT_UNSUBSCRIBE'); ?></span></a> 
	<?php } else { ?>
	<a href="<?php echo rseventsproHelper::route('index.php?option=com_rseventspro&layout=unsubscribe&cid='.rseventsproHelper::sef($event->id,$event->name).'&tmpl=component'); ?>" class="rs_button_control rsep_unsubscribe modal" rel="{handler: 'iframe'}"><span class="rsep_unsubscribe"><?php echo JText::_('RSEPRO_EVENT_UNSUBSCRIBE'); ?></span></a> 
	<?php } ?>
	<?php } ?>
	<?php } ?>
	<?php if (!empty($this->options['show_invite'])) { ?>
	<a href="<?php echo rseventsproHelper::route('index.php?option=com_rseventspro&layout=invite&cid='.rseventsproHelper::sef($event->id,$event->name).$tmpl); ?>" class="rs_button_control<?php echo $class; ?> rsep_invite"<?php echo $rel_i; ?>><span class="rsep_invite"><?php echo JText::_('RSEPRO_EVENT_INVITE'); ?></span></a>
	<?php } ?>
	<?php } ?>
<!--//end Invite/Join/Unsubscribe -->

Any ideas? Thanks for any help!
The administrator has disabled public write access.

Re: Event Full Code not displaying proper results 11 years 8 months ago #18602

  • silviup
  • silviup's Avatar
  • OFFLINE
  • Moderator
  • Posts: 309
  • Thank you received: 49
Hello,

there are two main reasons for which the "Unsubscribe" button may not show in the the front-end:

1. You need to set up the "Unsubscription end date" field in the "Event registration" tab. Please make sure that you set a date that is later than the date that you are testing on, otherwise the "Unsubscribe" button will not appear.

2. You need to set the "Users in this group can cancel their registration" option to "Yes". In order to do this you need to go to Components >> RSEvents!Pro >> Groups >> your group >> "Events" tab

Regards!
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!