[SOLVED] CBsubs: Time released subscription content problem

9 years 8 months ago - 9 years 8 months ago #248451 by waynep
Hi

I have a problem with the time released subscriptions method shown here: www.joomlapolis.com/support/tutorials/107-use-cases/18240-time-released-subscription-content-solution

I have inserted the following into a standard Joomla Article:


Your current Tula subscription is {cb:[cb_daysdiffquery]} days old.
{cb:[cb:if cb_daysdiffquery>="0" AND cb_daysdiffquery<"30"]Your 30 day period is active[/cb:if]}
{cb:[cb:if cb_daysdiffquery>"30"]Your 30 day period has ended and this content is no longer available. Other articles are now available for viewing.[/cb:if]}

{cb:[cb:if cb_daysdiffquery>="0" AND cb_daysdiffquery<"30"]

Timed released content goes here!

This would be the stories issued for the current month.

[/cb:if]}


The article displays the following only:
Your current Tula subscription is 1 day(s) old.

I have run through the tutorial multiple times but cannot see where my setup differs.

Any help available?

Thanks

Wayne

Please Log in to join the conversation.

9 years 8 months ago #248454 by nant
Please post what you are seeing for your:

cb_subdate

field value for your test user.

And also please post what you are seeing for your cb_subsdiffdays query field.

This will help you debug your conditional substitution statement.

Please Log in to join the conversation.

9 years 8 months ago #248455 by waynep








Hi,
Please find attached the screenshots.
Thanks
Attachments:

Please Log in to join the conversation.

9 years 8 months ago #248456 by nant
I still need this:

And also please post what you are seeing for your cb_subsdiffdays query field.

I need the output of this field on your contact info tab to see what it is calculating.

Please Log in to join the conversation.

9 years 8 months ago #248458 by waynep
And also please post what you are seeing for your cb_subsdiffdays query field.
>> I have supplied this as a screenshot in the last batch I believe?

I need the output of this field on your contact info tab to see what it is calculating.
>> Can you point me to where I would find this please?

Please Log in to join the conversation.

9 years 8 months ago #248459 by nant

waynep wrote: And also please post what you are seeing for your cb_subsdiffdays query field.
>> I have supplied this as a screenshot in the last batch I believe?

I need the output of this field on your contact info tab to see what it is calculating.
>> Can you point me to where I would find this please?


Your third and forth image are exactly the same.

I assume that the query field output would be listed just below your subscription date field in your second screenshot ... but it is off the screen.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.223 seconds

Facebook Twitter LinkedIn