The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
567 views

Password-protected Posts lead to 404 Error

I was just testing the password-protected posts functionality and when I submit the password it sends me to a 404 page. The password I typed in was correct, I made sure. The URL bar says: ...
0
votes
0answers
15 views

password protected custom content type

I have created a custom content type called 'clients'. When I create an individual 'client' page I can add a password with visibility/password on the right hand side The clinet pages have a ...
1
vote
1answer
260 views

How to change the language of the 'Reset Password' page

I have a WooCommerce powered WordPress website. In this website a user can login to order products, basic WooCommerce functionality. The site is translated using qTranslate. I can translate ...
0
votes
2answers
297 views

WP 3.5.1 password protected not working for post

After adding right password fornt side wp, post not open and it's say Not Found Apologies, but the page you requested could not be found. Perhaps searching will help. how to solve this?
0
votes
0answers
10 views

Password Protected Page Redirects To Dashboard on Submit

I am trying to use the built in post/page password protection feature on Wordpress 3.4. However, on the password protected page when you click submit, you are taken to the wp-login page or dashboard, ...
0
votes
2answers
293 views

How can I password protect a WordPress site without requiring users to log in?

I don't want people to have to log in, I just want to prompt them with a question and if they can answer it, they can access the site. All the solutions and plugins that I've found seem to be overkill ...
0
votes
1answer
24 views

Changed my email. Locked out

I changed my email address and don't have the original password. When I try to reset my password it looks like Wordpress is sending the link to my old defunct email account which doesn't exist ...
0
votes
3answers
259 views

Importing Existing Users with Passwords

I have an existing legacy PHP site of 15000 users with base64 hashed passwords , I would like to import all these users into the new wordpress site with their passwords , What would be the best ...
0
votes
1answer
1k views

How to show password fields on registration form w/o plugins

I want to show hidden password fields on registration form. I found that these fields are already present in /wp-admin/user-new.php <?php if ( apply_filters('show_password_fields', true) ) : ?> ...
2
votes
2answers
273 views

Password Protect Custom Page

I try to password protect my custom page such that before any content is shown the user must enter a password. More specific, in my code below, anything inside the content-div-container should be ...
2
votes
1answer
44 views

Enforcing password complexity

We need to enforce password complexity in a wordpress site, we used this article: http://www.webtipblog.com/force-password-complexity-requirements-wordpress/ We created the following in ...
0
votes
0answers
40 views

Set Session Time Limit for Password Protected Posts

I have made a series of posts and pages password protected on my website using the built-in Visibility setting. They all use the same password, so the user can view all of them after entering the ...
0
votes
1answer
25 views

Can I protect a type of content site-wide with a single password?

I am developing a theme for a client who has a catalog of products. Each product has a spec sheet that he wants to make available to logged-in users. It's not a real security issue, just a means to ...
1
vote
1answer
21 views

Password protect media attachment - share across guests

I'd like to show certain content to people with a password, specifically links to media files like this: <?php if($currentuserid == foobar): ?> <a ...
0
votes
0answers
21 views

PasswordHash not found in namespace

I'm very new to WordPress development, coming from a pure OO background I'm familiarising myself with object-orientation in PHP / WordPress. I have a class at entities\Member, that get's loaded via ...
0
votes
1answer
126 views

Plugin: connect to external database without showing password

I am creating a WP plugin, which shows information from an external database. The plugin will be distributed, the external database is on my own server. I know the following code will connect to my ...
0
votes
2answers
191 views

Password form redirection to belonging post

My idea is that the visitor enters the password on a page and than the wordpress post with belonging password load if there is one. Here is the code: Form on page: <form method="post" ...
0
votes
0answers
77 views

password recovery key is invalid on custom reset

I am trying to use a custom password recovery form instead of the default WP. The url link for resetting the password is returning 'invalid key' error. Does anyone have any help with where the problem ...
2
votes
1answer
47 views

How validate usernames/passwords against WP's database?

In wordpress password is encrypted in one format (which i don't know exactly) then saved in database, when i see in db it look in coded form. I want code in dot net which validated or checked ...
2
votes
2answers
184 views

wp_hash_password unexpected behaviour

When I run wp_hash_password("password") twice the outputs are different. I was under the impression that this is not how hashes are supposed to work. So how should I use wp_hash_password to compare ...
4
votes
3answers
474 views

Password protected posts redirects

I have a page associated with a custom template that list all password protected posts. Let's name it MyPage. What I'm trying to achieve is when a user views MyPage to show only once the ...
4
votes
2answers
215 views

Make password invalid once logged out of password-protected page

In a WP-based site I have a custom form which I need to hide from the general public and give access to only a select few who would then get a password from me, enter it and access the form and submit ...
5
votes
1answer
796 views

Add error message on password protected page

I protected a page with password. I’d like to add a short error message when the inserted password is incorrect. How can I do this? I add this code to show and customize the form on my page. My ...
5
votes
1answer
108 views

How to protect pages with double authentication: password + email (in custom field)

I would like to extend the WordPress password protection of posts by adding extra input field for user email. So in order to see the content user will have to know the password and previously given ...
5
votes
2answers
5k views

Sending the reset password link programatically

I have this manually created page: $user_login = sanitize_text_field( $_GET['user_login'] ); if ( username_exists( $user_login ) || email_exists($user_login) ) { ?> <!--Everything has been ...
0
votes
2answers
138 views

Override default password nag in Wordpress

For some reason my default password nag is playing up on a big multi-user site I've setup. Pretty sure it's got to do with the New User Approve and Gravity Forms User Rego combo that I'm using. ...
0
votes
0answers
20 views

how would i create a password protected some pages using one common password?

i have created 5 pages.but home page and one sub pages viewing public pages, other three pages set password protect using one common password. if i enter password three password protect will be ...
0
votes
1answer
47 views

Specific way to allow Wordpress users to view their current password? And edit it?

I know the built in user manager doesn't allow a user to see what her current pass is, just recover / reset it via email or write in a new one in the admin but I am looking for a plugin or other ...
0
votes
1answer
478 views

Storing password (functions.php)

I have created password form where visitors can access any password protected post with belonging password. Basically you enter unique password and you are redirected to a post which is protected with ...
4
votes
2answers
11k views

Check for correct username on custom login form

I have used Jeff Star's tutorial for creating my own custom login form http://digwp.com/2010/12/login-register-password-code/. It works great, but I have one problem. On the reset password form, if ...
1
vote
1answer
52 views

Automatically set default password to all posts in a specific category

Let's say that we have a category with slug protected_category and some posts in it. Is there a way to force all posts in that category to be password protected using a default password? UPDATE: I ...
0
votes
1answer
20 views

Copy and Paste Password for Comments

One of my newer clients has an extensive WordPress blog (on SE I am a Joomla man) and I am sure there must be some reason behind this. For comments it asks you to copy a password - and then paste ...
2
votes
2answers
331 views

How to redirect to a passworded page based on password entered on login screen

So I'm looking for something like peter's login redirect, but slightly different. I want to build a client portal for a photography website, and I figured the best way would be to add a custom post ...
1
vote
0answers
36 views

Like to store multiple passwords in db table wp_posts field post_password?

I like to have a multiple password access for a page. And i was thinking of just adding 200 passwords in post_password field but that's too simple and post_password is varchar(20). How else can i have ...
0
votes
0answers
25 views

Which hook can i use to have multiple passwords access a page?

I am trying to add multiple password access to a password protected page. For this i created a function and added a simple db table. The function just checks if the password is correct. function ...
4
votes
1answer
3k views

How to let user set password on registration

I´m working on a front end registration form adn have gotten as far as getting the standard registration form to work, but... I´d like to add the oportunity to let the user choose his/her own ...
0
votes
0answers
60 views

Password protected category based attachment/media list?

I am working on building a custom template, and I'm running into some trouble using the password protected feature for wordpress pages. Basically, the content from the page I have published and set ...
0
votes
0answers
429 views

Custom Forget Password page

I am trying to create a custom Reset password page. I got this code from a tutorial: <?php /* Template Name: Reset Page */ get_header() ?> <div class="wrapper"> <?php ...
1
vote
1answer
71 views

How to automatically apply a password to all posts within a custom post type

I am creating a custom post type, for which I want all posts to be password-protected with the same password. I realize that I can set a password on a post-by-post basis from within the admin panel, ...
0
votes
1answer
64 views

Alter the reset password link

after clicking on the reset password option in WP, we're getting this link wp-login.php?action=rp&key=[theKey]&login=testing> instead of getting this can we alter it to something link ...
0
votes
2answers
3k views

Password protect a specific category page/post

I have searched high and low for this but nothing is sticking out at me. I am looking to password protect posts and/or pages based on a certain category. The reason for this is that I am creating a ...
0
votes
1answer
84 views

Add an access code form to call a unique page based on page without registration

I've seen some other questions similar but not the totally the same. If I missed in the search, please forgive me. However this what I have so far: I've created a form that has the following: an ...
0
votes
1answer
159 views

mysql update user's password and activation key

Instead of using the Default WP reset password form, I'm creating my own and I'm stumped on this prepared statement. I'm trying to update the user's password by checking their user_login and ...
1
vote
1answer
164 views

How Authentication in wordpress works? wp_authenticate_username_password()

function wp_authenticate_username_password($user, $username, $password) { if ( is_a($user, 'WP_User') ) { return $user; } if ( empty($username) || empty($password) ) { $error = new WP_Error(); ...
0
votes
2answers
1k views

IF user is logged in only show certain page

I have this wordpress site that I am making where a user has to login to see their specific gallery. My problem is that all our users are members and all the members can see all the other member ...
-1
votes
2answers
62 views

Cant login, Password MUST be reset error, after reset

I recently forgot login to my wordpress, I changed password in mysql to md5 and can now login... But when i do i get: "Please enter your username or email address. You will receive a link to create a ...
0
votes
1answer
510 views

Reset Password - change from name and email address

When the password reset goes out, the name is 'WordPress' and the from address is wordpress@domain.com. I need to change these to the company name. I'm running WordPress 3.8 multisite and have done ...
5
votes
1answer
193 views

How can I safely increase the character limit for post passwords?

When I want to protect a post on one of my blogs, I like to use a passphrase instead of a password (albeit purely for the sake of creativity, not security — they're stored plainly anyway). However, ...
0
votes
1answer
101 views

Password reset - Disabled for LDAP accounts

I'm using the wpDirAuth plugin to allow LDAP logins and automatic account creation. One snag I've run into is LDAP users can still request a password reset. They receive the email with the link, but ...
0
votes
0answers
11 views

Lock my blog only for me [duplicate]

I'm creating a blog to write my daily notes. Actually it's a Diary. So, I am the only one who writes it and only one who reads it. I don't need anyone else to see it. So, I need to lock my entire blog ...