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
Oh, sorry.
I forgot to mention this. I always turn off the PDF-function because the result loooks ugly. You could come around this with a core-hack. Since this reuires more space, i will post a simple tutorial on my forum If you repost a the PDf-bug there.
I only installed this morning, but so far it is working great - I have a protected page with three separate passwords - all work.
For those of you just trying this:
1. Download the zip file
2. In Joomla 1.5, go to Extensions; Install/Uninstall and take the steps to install the extension.
3. Activate it in the Plugin manager, and the Module manager.
4. Create a content page. Put the password(s) in (at top of article) that you choose in the form of:
{password1}{password2}{password3}
obviously replacing the password info with what you want.
5. Place the content below the password information.
Works great!!
So if you have this installed, you type in the password and the page only seems to refresh, try turning off the system cache.
To the developer: System caching is an important feature and I don't know how long I'll be able to go without it. Is there an easy work around for using POST?
Well, i really don't know what i can do. The cache saves the rendered item, so the plugin is not even called and it can't check the password. I'm sorry, but i don't have a workaround for this.
Only one little request to the developer of this awesome plug-in: MULTIPLE passwords please!!!!
just write the password-tag multiple times, once for each password:
{password xc}{password abc}{password test}
-> 3 passwords + default pass
Anyway Thanks for sharing, for sure i use it!
I think a username is not necessary. This Plugin is designed to add a simple password protection o content items, not to add a complete user management ;)
navigated to the protected page, and true enough it comes up with a prompt for a password.
Once I changed the code it worked perfectly on my JOOMLA 1.5.9 installation. Not all servers have the up to date PHP5 running so you will have to change this as a matter of course I think.
I have done this already so you can visit my website at sol22.com to find the fixed files for J1.5.9 along with instructions in english. I would respectfully advise the developer to change their BOT asap to accomodate all us PHP4 users.
Thanks very much to the developer for this excellent simple content protection tool, it now works as designed.
Very good, please keep up the good work and please keep it free!
many thanks
1) Works great... but only under PHP5. For PHP4 users you must modify file mospasswort.php located in "plugins/content" directory: change line #37:
$mosConfig_lang = &JFactory::getLanguage()->getBackwardLang();
to
$mosTemp=&JFactory::getLanguage();
$mosConfig_lang = $mosTemp->getBackwardLang();
After that code works fine in both PHP4 and PHP5, so it's advisable for the author to implement this changes in the original package.
2) multilingual approach is hard-coded in the source file mospasswort.php. Instead of that, it's better to allow the user enter desired language-specific words in properties of the plugin at Joomla administrator panel. By doing this, it's possible to use JoomFish! or other extensions to display multilingual web-sites.
Once again, it's a great plugin!
1) removed completely, since I'm using language files now
2) --> no need to add translation in Backend
Here's quick config for Joomla 1.5 for non-German users:
1. Make sure to download the one for Joomla 1.5v. There's one that runs natively.
2. Install.
3. You must enable it in Plugin Manager, under parameters. (1 of 2)
4. You must enable it, under details. (2 of 2)
5. Change the field passwort - XXXXXXXX
So here's what you do.
Suppose you have the following content on a page. But you want to protect it.
Like the following "I am in love with Joomla"
Once you activate the mambot you type {password I am in love with Joomla}
Presto. It's protected by the password you set in the mambot.
Simple but works nicely!







