UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online
Urgent
We notice when a user suscribe ( to anything, post, category, etc), in this time all work fine, after subscription a button appear to cancel it.

But whe the user return to web ( ie reload page or revisit page ) the subscription status don´t show, only show again the suscribe button, instead of unsubscribe button.

Any idea ?

The code involving subscription :


<div class="eb-help-subscribe">
<i class="fa fa-envelope"></i>
<a href="javascript:void(0);" class="link-subscribe <?php echo $subscription->id ? 'hide' : ''; ?>" data-blog-subscribe data-type="entry" data-id="<?php echo $post->id;?>"><?php echo JText::_('COM_EASYBLOG_SUBSCRIBE_BLOG'); ?></a>

<a href="javascript:void(0);" class="link-subscribe <?php echo $subscription->id ? '' : 'hide'; ?>" data-return="<?php echo $return; ?>" data-blog-unsubscribe data-subscription-id="<?php echo $subscription->id;?>"><?php echo JText::_('COM_EASYBLOG_UNSUBSCRIBE_ENTRY'); ?></a>
</div>


Thanks as always.
The replies under this section are restricted to logged in users or users with an active subscription with us