I updated wordpress and started to give this error
]]>On line 30 of cspassword.php your arguments for load_plugin_textdomain have trouble and are causing this plugin to spit out PHP notices all day, bloating the error log tremendously.
define('CSP_PLUGIN_NAME', dirname(plugin_basename(__FILE__)) );
load_plugin_textdomain('cs-password', PLUGINDIR . '/' . CSP_PLUGIN_NAME . '/lang/');
needs a third argument, the relative path to the plugins directory. More here: https://codex.www.ads-software.com/Function_Reference/load_plugin_textdomain
We’d appreciate it so much if you could update this.
Thank you!
https://www.ads-software.com/plugins/password-content-shortcode/
]]>How can user after he enter’s right password to automatically assign to a specific role?
like if user1 enter password: IWANTUPGRADE then he will be assigned to a specific role that i created ?
Thank’s alot!
https://www.ads-software.com/plugins/password-content-shortcode/
]]>Great plugin, thanks.
I have a few suggestions for future releases:
When returning the content (after checkign that the password is verified), use do_shortcode so that any content shortcodes that were password protected still function. For example:
return do_shortcode($content);
Also, if you use SESSION, a user doesn’t need to enter the pw each time. Here’s how I modified the cspassword_shortcode() function:
https://www.ads-software.com/plugins/password-content-shortcode/
]]>Overall, it’s good. I have implement on a page and it’s works perfect as i needed but there is a small issue please let me know if it’s possible within this plugin. I entered a content of the login page and once the user enters the password it show password protected content. Same time it also shows login page content which i need to hide after entering into the password protect page. Please help me out it’s quite urgent for me.
https://www.ads-software.com/plugins/password-content-shortcode/
]]>Hello.
I have this code [][/] on page and work perfectly! so i want now if i can in sidebar check if the form is properly completed on the page and then will echo some word in sidebar. for example something like this in sidebar:
if (isset($_POST[‘csp_submit’])) {
if ($_POST[‘csp_input’] == $password AND $password != ”) {
echo ‘password is corect and echo some words’;
}
else
{
echo ‘password is wrong’;
}
}
else
{
echo ‘you must enter pasword on page’;
}
https://www.ads-software.com/plugins/password-content-shortcode/
]]>Hi,
Can we set time limit (minutes or hours) whith Password Content ShortCode ? If not, do you think it could be done ?
Thank you
https://www.ads-software.com/plugins/password-content-shortcode/
]]>Hey I was wondering how to get the plugin to center on the page. all my content is centered so it looks funny off to the left. Can’t seem to figure out how to do it.
Thanks.
https://www.ads-software.com/plugins/password-content-shortcode/
]]>To fix shortcode between [cspasswordcode password=”] and [/cspasswordcode] you should change line 106 in
password-content-shortcode/cspassword.php file
from this:
return $content;
to this:
return '' . do_shortcode($content) . '';
enjoy!
https://www.ads-software.com/plugins/password-content-shortcode/
]]>Hi.
If you’re having trouble with this plugin, you may want to take a look at my new plugin, Content Protector. It protects selected content with a password, and supports cookies and AJAX.
https://www.ads-software.com/plugins/content-protector/
https://www.ads-software.com/plugins/password-content-shortcode/
]]>Plugin hides post successfully, but when I wanna reveal hidden text, plugin does not reveal it. It stays hidden and nothing else happen. Also when I enter bad password nothing happens.
https://www.ads-software.com/plugins/password-content-shortcode/
]]>Installed on 3.5.2 and setup, it doesn’t work and even when the correct password is entered, the password box remains and I don’t see the password protected content.
https://www.ads-software.com/extend/plugins/password-content-shortcode/
]]>I found that 2.1 was broken. Reverting back to 2.0 fixed it. Each time I pressed the submit password button, the whole page reloaded as if it was being refreshed – it never processed the input. I’m content using 2.0, but it’s probably a good thing to get worked out!
https://www.ads-software.com/extend/plugins/password-content-shortcode/
]]>Hi there,
great plugin, works perfect. I’ve translated your plugin into german, maybe you can insert the language files in the next update?
https://download.christian-wenzl.de/cs-password-de.zip
Greetings,
Christian Wenzl
https://www.ads-software.com/extend/plugins/password-content-shortcode/
]]>Hello, I’m trying to add a simple contact form shortcode within your php in order to include the form with the password submit field/button… This would then hide the contact form once the password is submitted… And show the protected content. I would like the contact form shortcode to appear above the password submit button.
I’m pretty sure that
echo do_shortcode('[contact form shortcode]');
would go somewhere in here:
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Do you have any suggestions? Thanks much!
https://www.ads-software.com/extend/plugins/password-content-shortcode/
]]>Password login appears, but followed by all content. (page)
https://www.ads-software.com/extend/plugins/password-content-shortcode/
]]>When I use ShortCode the gallery on the page does not display. Gives text:
[gallery order="DESC" columns="2" orderby="rand"]
on page.
https://www.ads-software.com/extend/plugins/password-content-shortcode/
]]>I would prefer English.
https://www.ads-software.com/extend/plugins/password-content-shortcode/
]]>I have put this on work at my website
https://www.meshuilesessentielles.fr/recettes-naturelles-combattre-rides/
and you can see in french
how to use ?
easy
1. create a custom field in your page/post with the pasword you want to set up for the file/doc to download
2. put between the content to hide the shortcode [cspassword][/cspassword]
3. it is all ! ??
If anybody need helps in french or spanish, just send a private message
https://www.ads-software.com/extend/plugins/password-content-shortcode/
]]>