Skip to Content Skip to Menu

[SOLVED] CBsubs: Time released subscription content problem

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 2 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 or Create an account to join the conversation.

  • waynep
  • waynep
  • OFFLINE
  • Posts: 14
  • Thanks: 0
  • Karma: 0
10 years 2 months ago - 10 years 2 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
Last edit: 10 years 2 months ago by waynep.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 2 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:

Code:
<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 or Create an account to join the conversation.

  • waynep
  • waynep
  • OFFLINE
  • Posts: 14
  • Thanks: 0
  • Karma: 0
10 years 2 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 or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 2 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum