Password request

1 year 3 months ago #10527 by schohmik
Hello,

I have just installed the plugin ECR and I want to use it on a Joomla 3.6.4 website to protect an article and make it only accessible
using a valid password.
The problem is that the content is shown anyway and the password is required repeatedly.
The URL is appen-musiziert.de/appen/103-videos/278-interner-bereich.html

Regards
Manfred

1 year 3 months ago #10528 by Vitja
Hello Manfred,

first of all, thank you for activating the support subscription!

How does the syntax look like in your example?

The hidden text has to be surrounded, like this:
[ecr|password=XXX]Hidden text[/ecr]

Greetings

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
1 year 3 months ago #10529 by schohmik
Hello,

the complete content of the article is:

[ecr|password=rudolf]Hidden text[/ecr]
<p><a href=" www.dropbox.com/s/qjacrbitjkqv72h/2016-1...musiziert-2.MP4?dl=0 " target="_blank"><img src="images/appen/videos/2016-11-12-ein-Jahr-nach-Appen-musiziert_wopt.jpg" alt="2016-11-12-ein-Jahr-nach-Appen-musiziert wopt" width="1024" height="575" /></a></p>
<hr />
<p><a href=" www.dropbox.com/s/jtotpi7q37e6yzn/Kult-K...dem%20Lande.mp4?dl=0 " target="_blank"><img src="images/appen/videos/2015-12-25-1_wopt.jpg" alt="2015-12-25-1 wopt" width="1024" height="576" /></a></p>

I can't attach files so these are the definitions of the plugin:
allowed groups: = öffentlich (public)
toggle selection = no
allowed users = blank
Replacement text = you are not allowed
Safe mode = no

Regards
Manfred
1 year 3 months ago #10530 by Vitja
The hidden text has to be inside the ECR syntax, in your case:
[ecr|password=rudolf]
<p><a href=" www.dropbox.com/s/qjacrbitjkqv72h/2016-1...musiziert-2.MP4?dl=0 " target="_blank"><img src="images/appen/videos/2016-11-12-ein-Jahr-nach-Appen-musiziert_wopt.jpg" alt="2016-11-12-ein-Jahr-nach-Appen-musiziert wopt" width="1024" height="575" /></a></p>
<hr />
<p><a href=" www.dropbox.com/s/jtotpi7q37e6yzn/Kult-K...dem%20Lande.mp4?dl=0 " target="_blank"><img src="images/appen/videos/2015-12-25-1_wopt.jpg" alt="2015-12-25-1 wopt" width="1024" height="576" /></a></p>
[/ecr]

Greetings

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
1 year 3 months ago #10531 by schohmik
Hello Vitja,

it does not work. Could you try it yourself?
The URL is www.appen-musiziert.de/appen/103-videos/...nterner-bereich.html

Regards
Manfred
1 year 3 months ago #10532 by schohmik
Hello,

do you need more information to assist in solving the issue?

Regards
Manfred
1 year 3 months ago #10534 by Vitja
Hi Manfred,

the plugin works fine. The problem on your website can be caused by two factors: cache or additional requests to the server (AJAX calls).

If you use some kind of cache functionality, then you have to exclude this specific page. If you have a module that makes AJAX requests, then you should also disable it on this page.

I could also debug it on my local machine to find the source of the problem, then you have to send me a complete backup file of your website (created with Easy Joomla Backup or Akeeba Backup).

Greetings

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
1 year 3 months ago - 1 year 3 months ago #10535 by schohmik
Hi Vitja,

I have made a backup using Akeeba:

[LINK REMOVED - NEVER POST SUCH SENSITIVE DATA PUBLICLY]

Kind regards
Manfred
1 year 3 months ago #10536 by Vitja
Hi Manfred,

you have to deactivate the cache in the Global Configuration (Tab: System - Cache Settings - OFF).

You can still use the cache plugin but if the system cache is activated, ECR is never triggered and so it cannot replace the text.

Have success!

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
1 year 3 months ago #10537 by schohmik
Hi Vitja,

thank you very much for your excellent support; it works now.:) :)

What about the performance loss by deactivating the relevant option and the the page cache?

Furthermore I want to show more text to the user where to get the needed password (see the attached screenshot). [attachment=undefined]ECR-1-07022017.JPG[/attachment]

Kind regards
Manfred
Time to create page: 0.183 seconds