The tag has no wiki summary.

learn more… | top users | synonyms

8
votes
2answers
7k 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 ...
7
votes
2answers
400 views

Why are passwords exportable as plain text in WordPress?

On my WordPress 3.9.2 installation can I extract the users plain text passwords by going to Users, select all users, and choosing Bulk Actions Export. When I look in the mySQL database with ...
6
votes
1answer
194 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 ...
6
votes
1answer
308 views

multi page password protection

Is it possible to have the "password protected page" feature of WordPress apply to more than one page? I have dozens of pages which I wish to protect with the same password, but I don't want people to ...
5
votes
2answers
13k 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 ...
5
votes
1answer
925 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
210 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, ...
4
votes
3answers
5k views

Password protecting a page

I'm trying to password protect a page but it doesn't seem to be working. I've set the password for the page but when you navigate to it it just loads up like normal and doesn't ask for any passwords. ...
4
votes
3answers
740 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
4answers
1k views

Replacing the Wordpress password validation

I have a custom application with thousands of users who already have a password stored. I would like to set up a self hosted wordpress site to accompany that application and to use the usernames and ...
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 ...
4
votes
2answers
835 views

how to use joomla password format in wordpress?

I need to import more than 1000 users from joomla to wordpress. I can do that with csv. My main concern are passwords. I did some googling and found out that it is possible to change wordpress ...
4
votes
1answer
137 views

Why do generated passwords start/end with spaces?

When new passwords are generated for new users, some users are reporting that the passwords include spaces at the beginning and end of the passwords. Has anyone ran into this before or have any idea ...
4
votes
2answers
244 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 ...
3
votes
3answers
3k views

Forcing all posts associated with a custom post type to be private

Does anyone know of a way to add code to the functions.php file which will automatically force all posts belonging to a custom post type to be "private" and/or "password protected" with a default ...
3
votes
5answers
631 views

Is it possible to direct users to a certain post based on a password entered on the home page?

I'd like to be able to have a workflow that works like so: Create a post and assign it a password Have a single-field form on the home page User enters password on home page, and is sent to the ...
3
votes
2answers
1k views

Hide password protected posts

If I create a post and set the visibility to "password protected", it still shows up on the front page and in the feeds. Is it possible to hide posts from general view altogether, but still allow ...
3
votes
1answer
1k views

How to save Admin FTP password

Every time I attempt to upload a plugin or theme, I am asked for the FTP password. Is there a way to save this within Wordpress, or do I have to enter it every time? Thanks.
3
votes
3answers
2k views

wordpress redirect after password reset

I would like to able to redirect to get_bloginfo('url'); after reseting password. But I cannot for life of me find any simple answer or function to do this. Does anyone know if this is possible? ...
3
votes
1answer
1k views

Is it possible to use a forgot password url filter?

i recently found that a login url filter is available but i can't find a solution for the forgot password as well, for the login url i use this: function custom_login_url($login_url) { return ...
3
votes
2answers
480 views

Setting WP Admin passwords to expire

I'm aware it's not a feature of Wordpress, but I was wondering if there was a way or a plug-in (haven't found one from searching) that allows me to force a user to change their password after a ...
3
votes
1answer
127 views

Comments number message in password protected post

I've got a password protected post and comments_popup_link('No Comments', '1 Comment', '% Comments'); function displays "ENTER YOUR PASSWORD TO VIEW COMMENTS." message. The question is, is it possible ...
3
votes
1answer
582 views

Force all users in MU to change their passwords

I'm looking for a solution to notify/force all users in an MU network to change their passwords. Any ideas of a solution out there as a plug-in?
3
votes
1answer
53 views

Migrating users from .com to .org?

I am in the process of migrating my blog from my wordpress.com address to a self-hosting (wordpress v3.1.2) address. Blog has migrated across nicely. Appears my users have also migrated across, but ...
2
votes
3answers
258 views

Is it possible to get a user with just the password field?

I tried doing something like this: $user = $wpdb->get_row(' SELECT * FROM ' . $wpdb->users . ' WHERE user_pass = "' . wp_hash_password('password') . '"' ); But the ...
2
votes
1answer
1k views

Can't login to wordpress despite changing password to something known directly in MySQL or using “Password Reset by Email” feature

I'm unable to login to my wordpress site v3.1.3 even though I know the password. To be extra sure, I directly changed the password for the user account (ID=1) with UPDATE wp_users SET ...
2
votes
1answer
950 views

How can I detect if a user changes their password?

I would like to track when a user changes their password. Is there a way to detect when a password has been changed?
2
votes
2answers
81 views

How to create a word press user with hashedpassword

I have set of user data from another wordpress site and i want o create users for each of them in a another wordpress web site..,it is works fine with wp_insert_user($user) but problem is the ...
2
votes
2answers
5k views

Custom reset password template after forgot password request

I've made a custom login template where you can login or request a link that sends you to the reset password form. What I need to do is make that unique link redirect to a custom reset password ...
2
votes
2answers
1k views

Password change when the user login first time

I have a "change password" page. Is there a way to redirect that page when the user login first time using wordpress generated password? Thanks
2
votes
1answer
2k views

login to wordpress with Get variables instead of Post

Im using swish-e to index my corporate site and documents. Problem is that i need to login to wordpress via get variables. Wordpress login uses post variable but i need to login with GET variables ...
2
votes
2answers
2k views

Get password when user registers and save it sha1 into database

im working on a website where the users can connect with iphone to some functions of it by using a sha1 encrypted password. In other words the plain password of wordpress encrypted in sha1. In the ...
2
votes
1answer
3k views

password protect individual pages

Is it possible to password protect individual pages with Wordpress? What I'm trying to do is have special pages suche as somesite.com/project1 which has a username and password that I can set, but ...
2
votes
1answer
100 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
276 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 ...
2
votes
2answers
264 views

Can user_register output the password?

I'm trying to output the password of a newly created user in plain text using the user_register hook as explained in this answer. However, upon doing a var_dump of $_POST, I don't see any password ...
2
votes
2answers
726 views

Forgot password not working

I have been trying to reset my admin password for my local install of wordpress running on MAMP. Previously had been working fine but I forgot the password but when I go through the process of 'Lost ...
2
votes
1answer
827 views

Is there any good tutorial to write custom login, registration and password recovery forms? [closed]

I like to have login and password recovery managed by my own forms and embed them into my theme. I'm using the well written Jeff Farthing's plugin "Theme My Login" on some of my projects. But I would ...
2
votes
3answers
360 views

Make post password required to publish

I am making a site which will only have password protected pages. I would like it so that the password box is open by default, and is a required fields to publish the post. Ideally I would also remove ...
2
votes
1answer
95 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 ...
2
votes
2answers
776 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 ...
2
votes
2answers
322 views

How to lock a post or page

How to lock a post or page from editing or deleting but can be viewed on site? I am not able to lock a post, I read several articles but can't find my answer. Any help?
2
votes
1answer
2k views

how to redirect to a custom password retrieval page

I have a new site and I'm using bbpress beta-3 with it, I've created custom login/register/lost-password pages with the custom templates supplied with bbpress and I can't seem to find the ...
2
votes
2answers
337 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 ...
1
vote
2answers
5k views

Check the password of a user

I want to keep a check if the user has a particular password, so I have been trying it with wp_check_password but the account for which it is checked gets logged out and can't login again till there ...
1
vote
2answers
153 views

Is there a theme function for is_password_protected()?

I'm looking at the function and template references and I'm not seeing a way to test for whether a post is protected. Is there a theme function for (something like) is_password_protected()? I'm ...
1
vote
2answers
461 views

Locked out of my own blog and password reset not working

I have my own Wordpress installation for my infrequently updated blog. I have a habit of forgetting my password so have to request a new one and reset it every two to three months. I've done it ...
1
vote
2answers
2k views

WordPress: force users to change password on first login

Users on my website sign up through a form (Gravity form) and after they are manually approved they are sent a username (their email address) and a randomly generated password. I would like these ...
1
vote
1answer
1k views

Network Admin “You do not have sufficient permissions to access this page.”

I have had trouble logging into WP-Admin with my admin account. I have reset my password, and I can now log-in to WP-Admin, but cannot reach Network Admin (/wp-admin/network), instead receiving "You ...
1
vote
1answer
655 views

Access code/password only restricts page access, no user registration..?

Does anyone know of a plugin that will allow for a simple access/invite code to be given out, and when entered, will allow access to a certain page? I'm looking to only have one input field and no ...