The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
15 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
111 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 ...
1
vote
1answer
210 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 ...
4
votes
3answers
246 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
182 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 ...
2
votes
1answer
230 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 ...
4
votes
1answer
714 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 ...
0
votes
2answers
257 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
1answer
979 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) ) : ?> ...
0
votes
2answers
463 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: ...
5
votes
1answer
51 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 ...
0
votes
0answers
33 views

Hide Password Protected pages in Recent posts

I have the following lines of code in my functions.php file: // Filter to hide protected posts function exclude_protected($where) { global $wpdb; return $where .= " AND ...
4
votes
2answers
4k 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
46 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
13 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
21 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
385 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 ...
3
votes
2answers
10k 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
49 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
14 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
117 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
28 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
14 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
2k 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
34 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
50 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
60 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
56 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
2k 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
64 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
96 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
78 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
43 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
169 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
181 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
80 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 ...
0
votes
2answers
113 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
79 views

the_password_form functions not working together

I needed two functions on my wp-site. First I needed to change the text of password-protected-page so I picked up this code straight from this article on wordpress codex. and it works beautifully. ...
0
votes
2answers
823 views

Custom template for password protected page

I have a password-protected page, for whom I'd like to use a custom template to query posts from a specific category. How can I achieve that query_posts should work only after users submit the ...
0
votes
1answer
33 views

Put password on a wordpress link in a article

I've trying to find out how to do this in wordpress and I've searched the web, but I can't find any easy way to make my visitor only see one link if they enter a password to be able to see it. Is ...
2
votes
1answer
634 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 ...
0
votes
0answers
309 views

Custom password reset using AJAX

I used this (great) tuturial 'WordPress AJAX Login Without a Plugin – The Right Way' to make a custom login form and everything works fine. But I could need some help building the same functionality ...
0
votes
0answers
8 views

External app Login using Wordpress login credentials [duplicate]

I am building a php application for which user needs to login first and those login credentials will be same as wordpress login credentials I am trying to connect the application with wordpress ...
2
votes
2answers
126 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 ...
0
votes
1answer
66 views

How can i retrieve the username and password from my wordpress installation?

I had a developer working on a website. Now i learned a bit of wordpress and i would like to continue some of the work on my own. I asked the developer for the passwords and he only gave me the ...
3
votes
1answer
1k 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? ...
2
votes
2answers
127 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
27 views

I cannot log into my site

I cannot log into my site http://www.petsawarenews.com When I try asking for a password reset, it says that the address I registered with is invalid. What problem could there be?