maleli VIP
Total posts: 87
07 Apr 2014 16:24

Is it possible to restrict through a subscription any or all of the following: - Just a paragraph (or any segment) of a Joomla content item? - Just a paragraph (or any segment) or a K2 element content? - Just certain K2 extra fields? - Certain areas of a Joomla template?

If so, how could I do it?

Last Modified: 10 Aug 2015


Sergey
Total posts: 13,748
05 May 2014 06:22

You cannot use . This syntax is true for UNPAID but for PAID you have to use [PAID={"id":"8"}]. But I'll make it work in the next release.

maleli PAID (without any other parameters) won't show the restricted content.

This id done intentionaly. What if you what to hide part of content without any message? For example you only hide with [PAID] and message you display with [UNPAID].


maleli VIP
Total posts: 87
05 May 2014 17:24

Hi, I just tested again:

This is visible to the public

[PAID={"id":"6"}] You are subscribed so you can see this content. Nothing should show here to non subscribers. 



 You see this because you are not subscribed 

But now the text "You see this because you are not subscribed" isn't showing when I am not subscribed. :(

http://demo.mintjoomla.com/en/tutorials/8-restricted-content.html


Sergey
Total posts: 13,748
06 May 2014 10:54

I logged in as demoadmin and I can see the text.


maleli VIP
Total posts: 87
06 May 2014 19:42

Don't know what happened before, I just tested with user 2 and it worked!!! Thanks!!! :) So happy, I'm ready to buy! :D


Sergey
Total posts: 13,748
07 May 2014 05:19

I have finished new parameters PAID. It will be available tomorrow. And you can already read docs here.


hakana VIP
Total posts: 425
07 May 2014 09:32

Sergey I have finished new parameters PAID. It will be available tomorrow. And you can already read docs here.

This is wonderful. One more thing, if I have used the delay option, I would like to show the subscriber how many days left for the content to be available. "This content will be available for you 2 days later." So is it possible to add one more parameter to the placeholder which will show how many days left. And the message should be customized somehow. I live in Turkey so the message should be in Turkish I mean.


Sergey
Total posts: 13,748
07 May 2014 11:35

Yes it does show the message. And you can translate into any language by translatin Emerald language file.


hakana VIP
Total posts: 425
07 May 2014 13:46

Sergey, how many times should I thank to you :-) I am so happy to find you, your component and this site :-)


Sergey
Total posts: 13,748
07 May 2014 15:44

Your review on JED will be best thank you can say :)


hakana VIP
Total posts: 425
07 May 2014 16:23

Sergey Your review on JED will be best thank you can say :)

Let's launch the site, I will do it for sure. You can take my for for it ;-)


hakana VIP
Total posts: 425
12 Jul 2014 07:33

Hi Sergey,

When I use the delay parameter of the [PAID] placeholder, there is an illogical issue.

When the delay text is visible, the title and the link should be hidden (invisible).

The user has bought the subscription and waiting for the content to be accessible for him. There is a text for him saying that "this content will be available for you on this date:". So there is no use of showing him the title for the unpaid users (which says someting like "you have to buy this content") and the link to buy a new subscription. It is confusing and might force the user to rebuy the subscription when there is no need.

Also, in the language string for the delay text, is it possible to put two parameters for the date and time? Is there a way to change the format of the date that is used here. I'd rather use the date format in Emerald global settings.

Thanks a lot again :-)


hakana VIP
Total posts: 425
12 Jul 2014 07:44

In the restricter plugin, "Allow User Agent Skip" is not clear for me. The language used there is not understandable.

Which one should I select if I want to hide the restricted content from the bots? Yes or no? Shall I select the names of the bots below then?

Please see my previous post above as well.


hakana VIP
Total posts: 425
13 Jul 2014 19:40

Just a small ping for the last two posts above, thinking that you might have missed these two issues among my other posts.


Sergey
Total posts: 13,748
14 Jul 2014 00:39

hakana When the delay text is visible, the title and the link should be hidden (invisible).

Fixed

hakana Also, in the language string for the delay text, is it possible to put two parameters for the date and time? Is there a way to change the format of the date that is used here. I'd rather use the date format in Emerald global settings.

I use DATE_FORMAT_LC2 for date format. You can change that in Joomla language file.

hakana In the restricter plugin, "Allow User Agent Skip" is not clear for me. The language used there is not understandable.

Changed texts.

But in generald you will allow to see restricted content for those user agents that are in the list of user agents.


hakana VIP
Total posts: 425
14 Jul 2014 05:59

When the time and the date is together in the delay text, it is hard to create a clear sentence in Turkish. But if you can create two parameters for the date and the time, it is easier for me to write an understandable text like:

This content will be available to you on 14.07.2014 at 20:13.

Language string: This content will be available to you on %s at %s.

And for restricting the bots, I didn't get you this time. Shall I select yes or no to hide my content from all the bots? Please just say yes or no.


Sergey
Total posts: 13,748
14 Jul 2014 08:29

hakana Shall I select yes or no to hide my content from all the bots?

I would defenetely hide it. If bots dee it, users will be also able to see шер through search engine cache.

hakana This content will be available to you on 14.07.2014 at 20:13.

Done.


hakana VIP
Total posts: 425
14 Jul 2014 10:36

I want to hide it as well. What I am asking is, which selection hides it? Yes or no? It is not clear from the wording. Just tell me what to select to hide.


Sergey
Total posts: 13,748
14 Jul 2014 23:59

hakana ust tell me what to select to hide.

No.


hakana VIP
Total posts: 425
03 Aug 2014 20:28

This post is only about the PAID placeholder!!! The behaviour of PAID placeholder for the PAID ones and UNPAID ones. There is no information here about the UNPAID placeholder.

hakana When I use the delay parameter of the [PAID] placeholder, there is an illogical issue.

When the delay text is visible, the title and the link should be hidden (invisible).

When there is a delay text, the title and the link should be hidden for the subscribers but not for the NONPAID. There is a mistake here again. When there is a delay text, buy now link disappears both for PAID and NONPAID. It should be visible for the NONPAID but hidden for the PAID.

Thanks for this fix in advance.

Here is what I have written before as a detaled explanation.

The user has bought the subscription and waiting for the content to be accessible for him. There is a text for him saying that "this content will be available for you on this date:". So there is no use of showing him the title for the unpaid users (which says someting like "you have to buy this content") and the link to buy a new subscription. It is confusing and might force the user to rebuy the subscription when there is no need.

As a result:
When there is delay text:
PAID users must see only the delay message, NO title, NO link.
UNPAID users must see the title and the link, NO delay message.

Thanks.


Sergey
Total posts: 13,748
04 Aug 2014 03:41

In UNPAID there is no delay parametre at all. So you add it or not it will not change the behavior. UNPAID will always show title and link to unpaid users.

Powered by Cobalt