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 offline
It is currently a public holiday for us from where we are at.

There may be a delay in our responses but rest assured that we will be back at full speed when we are back to the office.
  Support is offline

Need Help With A call

Josh · ·
7:39 PM Wednesday, 13 March 2019
High
Hey guys,

I am working on a small bit of php code for the subscriptions modal for payplans

what i am trying to do is. If there is no plan at all attached to the user I want to display a msg

how can i do this using the <?php if ($subscription->is ()) { ?> what is the call for no subscription ??

for example I have <?php if ($subscription->isActive() ) { ?> DISPLAY ACTIVE TEXT <?php } else { ?> Display NOT ACTIVE TEXT <?php } ?>

but how can I use this same call to say if there is no subscription at all ?? any ideas ?
The replies under this section are restricted to logged in users or users with an active subscription with us