ContentPassword

Passwords can be verified with an SQL-statement, and passwords assigned to the article. ContentPassword for Joomla! 1.7 supports also password groups. They are defined in the configuration and then assigned to the articles.
* New: Works with cache after installing a simple patch. *
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note:
To hide the content in PDF , RSS and search you have to perform some Core-hacks. There is a documentation for Joomla 1.5 available in my forum.
For Joomla 1.7 only a core-hack for RSS and Atom is required. The documentation contains the necessary steps. For the search, you only have to replace the content search plugin
Please fix this.
Thx
I'd like to help, so please discuss this in my forum or via mail.
I'm using Joomla 1.7 with JCK and it works fine. Just remember to put a space between the last quotation mark and the closing brace. On 1.5 I used JCE and it worked, too.
These problems and solutions need to be publicized/noticed more to users, and there needs to be better explanation of the plugin parameters. The "use session" parameter is fairly obvious for what it does to more experienced Joomla users, but it may confuse others and it's not explained for how it works. The "Alternat. URI" parameter is not helpfully explained with "Use alternative method to create form-URI."
Thank you for the review, I always appreciate constructive criticism.
I know the documentation is incomplete, I'm currently redesigning the plugin for J!1.7 and implementing many feature requests. The documentation will be updated once it's finished, but I don't know which features can be backported to 1.5 yet.
- Installed the plugin on a 1.5.2.20 version (very easy to install!)
- Activated the plugin
- Defined the default password ("test") in the plugin configuration.
- written a test article.
- inserted the plain {password} directive at the beginning of the article.
- Saved the article.
- Displayed the article, and in a correct way, no content is showed, only the password request ("Password protected content", "Please type the password to access the content") with the password field and the CHECK button.
- Inserted the correct password, and nothing changes, no test displayed.
- Inserted a wrong password, and no warning message is displayed.
- Tried with direct password definition with the directive {password pass="xxxxx" text="different request"}
- The password request changed according with the "text" parameter, but no change: no text displayed with correct password, no warning with wrong password.
- Tried to protect only part of the article with the directive {password}part of the article to protect {/password}.
- The unprotected part of the article correctly displayed, the protected part never displayed, no matter what the inserted password.
Steps I did trying to solve the problem:
- Changed the plugin position (default 0) in the plugin list. Tried with middle position, last position.
- Cleared the browser cache.
- Tried with Google Chrome and Firefox
I'm almost sure that the problem resides on my own installation, but this is the first plugin that refuses to work. I'm almost sure I made some mistake, but can't guess what it is.
What I don't like:
- no troubleshooting
- not evident the usage of the SQL syntax. Why should I use it? what's the utility?
Thank you, anyway, for writing this extension, I'm sure we'll succeed fixing the problem.
Just know that as the docs say, the content will show up if you have the 'print this page' enabled. Also, if the content is at the top of the page it will show in joomla search results too.
knowing these two limitations and working with them it is welcome addition.
Thank you for review.
I already wrote a tutorial to improve the security.
http://progandy.co.cc/forum/topic?id=38&p=1#p110
The print-button should not be a problem since the form will be shown there, too.
If you have any problems, feel free to ask questions in the forum.
Just one request - how can we set it up to keep the session alive on multiple pages?
i.e. I have a group of pages, on all of these i have used this plugin, but I would like the password to be filled in only once and when the user browse to other pages, they should not be asked to enter password?
thanks again!
Thank you for using the plugin.
Currently it is not possible to keep the session alive over multiple pages. I am planning to add some options to create custom groups and/or use the categories as groups.
I have some PDF's that I wanted to host for several different clients.
With this tool, I was able to create an article for each of the clients, post their PDF's on their page, and add a password so that ONLY they can access them.
Works perfect, and makes me look like a genius!
dgaletar
ContentPassword is perfect for situations in which you need to protect content but don't want to require users to have register for your site in order to access it. It's also very easy to set up. Thanks for a great extension ;)
The link to the protected article is obviusly always visible so this product is not suitable for making protected areas for customers. Maybe in a future version? Thank you!
The ContentPassword-plugin is only meant for protecting the content of an article. Hiding an article and all referring links would require a complete redesign of the plugin. This is not on my todo-list.
To create protected areas for customers, a real ACL system would fit better.
The instructions are in German, but to install is just the normal proceed of going to install, uploading the ZIP file, enabling the plugin in Plugin manager and you're away.
I would however, love to see password protection for PDF's also as we need to display the links to PDF files on the password-restricted pages. Please could you provide the tutorial as promised earier.
There is already a tutorial for protecting PDFs, but it is in german. Currently I don't have the time to create it in english, but I hope you can follow the steps (There's always the file to modify, the original source-code and the modified code)
I can't reproduce this with my local testserver. It works with SEF-URLs enabled and disabled.
Please use my forum for further discussion on this topic.
{password} content goes here{/password}.
Can you make this? so thankful for the out of the box plg. but this addition will rock joomla users.
Thank you
Hide the complete article...
I wish you will be able to only hide part of an article and the ability to have multiple passwords for different users in the same article.
Great...
That's not trivial, especially if different parts of the article should be accessible with different passwords.
As of now you can create multiple passwords for one article, but they will all reveal the whole article.
Is there an easy way of logging a password that has been used? That would be really great.
Thanks
Password logging would require a component which lists the passwords in the backend (first i had to save them in DB). At the moment i have no time to create it, but it is a good idea.







