[SOLVED] CBsubs: Time released subscription content problem

9 years 8 months ago #248538 by nant

waynep wrote: Hi All,

Can anyone help at all with this?

Thanks


Ok, I will setup a test environment here to check it out.

What are your exact version numbers?
Joomla, CB, CBSubs, CB content bot plugin?

Please Log in to join the conversation.

9 years 8 months ago - 9 years 8 months ago #248539 by waynep
joomla: 3.3.3
cb: 1.9.1
subs: 3.0
content bot plugin: not sure but it came with CBsubs300 downloased

All versions were downloaded within the last week from the respective download areas in CB so should be the very latest versions

Thanks

Please Log in to join the conversation.

9 years 8 months ago #248551 by nant

waynep wrote: joomla: 3.3.3
cb: 1.9.1
subs: 3.0
content bot plugin: not sure but it came with CBsubs300 downloased

All versions were downloaded within the last week from the respective download areas in CB so should be the very latest versions

Thanks


Ok - I am pretty sure your issue is due to the damn editor converting the > to > etc.

Try turning off your editor or directly edit the HTML source of the article.

My test below works:

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

{cb:[cb:if cb_daysdiffquery>="0" and cb_daysdiffquery<"15"]<p>Timed released content goes here!<p>[/cb:if]}

Please Log in to join the conversation.

9 years 7 months ago #248567 by waynep
Was that!

Have turned off the editor and the resulting output is correct. Now the challenge is to stop the editor doing that, so over to the JCE support forum!!

Many thanks for your help :-)

Please Log in to join the conversation.

9 years 7 months ago #248591 by nant

waynep wrote: Was that!

Have turned off the editor and the resulting output is correct. Now the challenge is to stop the editor doing that, so over to the JCE support forum!!

Many thanks for your help :-)


Cool - yuk, JCE also does that -- yuk.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.212 seconds

Facebook Twitter LinkedIn