ContentPassword Plugin

With this Plugin you can protect several contentitems with a password. To see the Content, the visitors dont have to register, they only need to know the password.
Just type {password} in the Content you want to protect. Then the global password from the Mambot-settings is used.
Also a password can be given in the contentas a parameter. For multiple passwords you can repeat the Mambot-Code. The global password is working, too. Ex:
Code:

{password test}{password 22} You typed the correct password!

This Content can be revealed with the global password, with 'test' and with '22'.

1.6.1: Some Bugfixes, new HTML structure with CSS-classes

Report

byMad_Griffith on November 23, 2009
It is now working correctly with sh404SEF! Thanks for the update!
bydevster on October 21, 2009
Have to say, it's the simplest and uncomplicated plugin I've ever found in Joomla!! Downloaded in 5 seconds, got it installed in another 5 seconds, enabled the plugin and typed {password} in an article and it worked like magic. I've been looking for more than an hour at all the other extensions in Joomla that will enable me to set different passwords for different articles, and all the user-access-control options are just too complicated. This is EXACTLY what I need, and I can't imagine how EASY it is to use!!! The multiple password option is just a killer... Thanks Andy - you're a genius!
byclowreed on October 14, 2009
Hello this plugin is very very good, i don't know if it may cause problem with google, yahoo, ect.... and seo / sef but it is very very very good
soon i 'am going to do a donation
thank you
byrscott7706 on October 9, 2009
This extension uses the KISS theory - keep it simple!!

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!!
I really like this plugin. Simple to install and works like a charm. The only drawback is that it doesn't work with Joomla Caching turned on. When Joomla caches a page, it deletes the POST array, which means this plugin won't work.

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?
Owner's reply

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.

This is a must have into any Joomla website. Installed and used within 45 seconds (and my connection is not that fast!!!) Is just a very fast way to put some control into your content.

Only one little request to the developer of this awesome plug-in: MULTIPLE passwords please!!!!
Owner's reply

just write the password-tag multiple times, once for each password:
{password xc}{password abc}{password test}
-> 3 passwords + default pass

This seems to be exactly what I want and I was very excited when it came up but when I put in the password it wouldn't let me past... I tried both {password} using the password I assigned as the default as well as "password" and it didn't let me past. Same thing when I tried {password cogifts}, typing in cogifts and clicking the "check" button did nothing. Seems like a great plugin, if only it worked...
bySysop9001 on August 4, 2009
This is one of the most important and usefull Plug-in ever made for Joomla! is it the best if you add too the option to insert Username too and not only password.
Anyway Thanks for sharing, for sure i use it!
Owner's reply

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 ;)

This is really unbelievable! Great job with this extension and many thanks.
bygeoffjones on June 30, 2009
This is a so wonderfully simple way to securely limit access to a file download directory. Use it for registered or special access, combined with the module 'Jx List Files'. Brilliant!!!
byMolly on June 14, 2009
Had this simple plugin up and running within minutes on Joomla 1.5.11 and it did exactly what I wanted. I now have password protected content. Well done to the developer, keep up the good work.

Regards
Installed with ease, added the {password content}
navigated to the protected page, and true enough it comes up with a prompt for a password.
Thank you for this simple to use and effective add-on. I am looking forward to future more enhanced versions which I hope you will develop.
It works well on my site which is currently running 1.5.10
I have tested this plugin on my website and found I had to make a change in the code as somebody else has already described.

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
byRamil Valitov on January 28, 2009
Very very useful plugin!
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!
Owner's reply

1) removed completely, since I'm using language files now
2) --> no need to add translation in Backend

bysaleen98r on January 27, 2009
This is an easy and simple module to set up and use. Initially, it will not make sense because most instructions are in German.

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
bywallytbull on January 23, 2009
Works well. Easy to implement. Very practical. You do have to re-enter the password if the page is refreshed. That could be a plus or negative in different circumstances. It would be nice to have a parameter to not require re-login for nnn seconds.
Excellent extension. I was looking for a simple way to password protect different pages on my site, and this is perfeeect. Just install, put the piece of code into a content area, and that's it! Beautiful job developers, thank you!
It's so simple, at first I could not figure out how to use it.

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!
I had to edit the mambot settings with a new global password before it would work for me. Then, the global password didn't seem to work at all, but if I specify a password in the content, that does work.
Page 1 of 2