How-To: log-in module in Content Restricted Message

  • Chrystelle
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 4 months ago #107565 by Chrystelle
Hello,

I would like to insert a log-in module, such as the Community Builder module, in the Content Restricted Message.

I tried the basic way with {loadmodule mod_NAME OF THE MODULE}
It is not working.

How can I resolve that?

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

More
7 years 4 months ago #107566 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How-To: log-in module in Content Restricted Message
Hi

You will have to edit code as we don't support content plugin here. What method you are using to restrict access to content? Let me know so that I can guide you with code modification

Regards,

Tuan

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

  • Chrystelle
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 4 months ago #107567 by Chrystelle
Hello,

OK.

I am using {mprestriction ids="..."}
But I can see that if I create a new subscription plan, I then have to edit manually each article with this mprestriction, if I want to integrate this new plan among those allowed to access the content. Is there perhaps something more simple also in this regard?

Thank you.

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

More
7 years 4 months ago #107568 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How-To: log-in module in Content Restricted Message
Better use the method below:

1. Go to Extensions -> Plugins, publish this plugin Membership Pro Articles Restriction

2. Click on that plugin to edit, set Protection Method to Hide fulltext from none subscribers

3. Then edit the plan, select the articles you want to restrict access

4. Check the result, it should work as expected. You don't have to insert mprestriction tag for each article, now, the full text will be restricted (only intro text is displayed)

Regards,

Tuan

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

More
7 years 4 months ago #107569 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How-To: log-in module in Content Restricted Message
You can update the modules below to your site to be able to load login module on the message. I will integrate it into core packages in the next release, too, so no need for editing the code manually

Regards,

Tuan
Attachments:

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

  • Chrystelle
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 4 months ago #107570 by Chrystelle
Thanks a lot. In the mean time, I tried using Membership Pro Articles Restriction and yes, the log-in works beautifully.

I create articles almost every day. I also have quite a number of plans for Subscribers.
In one case, if I create a new plan, I have to edit the access settings, article by article.
In the other case, for each new article, I have to edit all concerned plans one by one.

Any idea of how I could make this more simple?

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

More
7 years 4 months ago #107571 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How-To: log-in module in Content Restricted Message
Hi

In this case, I guess you will need to develop a plugin to allow selecting articles directly on add/edit the article screen. But it will require some kind of custom development

Regards,

Tuan

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

  • Chrystelle
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 4 months ago #107573 by Chrystelle
Okay.
In the meantime, what if I create an unpublished plan aimed at managing articles access. I would then manually susbscribe all subscribers to this plan?
If so, is there a way for subscribers to NOT receive email notifications?

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

  • Chrystelle
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 4 months ago #107574 by Chrystelle
PS: I mean "no notification" for this unpublished plan only.

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

More
7 years 4 months ago #107625 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How-To: log-in module in Content Restricted Message
Unfortunately, there is not a way. When you create a subscription record, Membership Pro always send notification emails to subscribers

If you can prepare the subscription data in a csv file, and then import it into the system, then no email will be sent. See membershipprodoc.joomservices.com/subscr...t/import-subscribers

Regards,

Tuan

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