Questions tagged [login]

Refers to the act of gaining access to a WordPress site, as well as the WordPress account itself.

Filter by
Sorted by
Tagged with
1
vote
1answer
1k views

Registration Hooks don't appear to be working

I am trying to hook in to automatically sign-in the user after registration. (using a GravityForms registration form). None of the hooks seem to be working. I've tried: gform_user_registered, ...
5
votes
6answers
10k views

Change the login button on the login page

I would like to be able to change the text on the Log In button in wp-login.php - however, it's a bit more complicated than that. I want to be able to change it in the theme, rather than editing the ...
2
votes
1answer
2k views

'Remote Login' with MultiSite Domain Mapping still forcing users to login to all blogs individually?

I'm having trouble with the 'Remote Login' option of MultiSite domain mapping. I have a local dev install which allows me to swap between network blogs without needing to login to each blog ...
3
votes
1answer
3k views

Display last login time

I am using this script to get the last time a user logged in function get_last_login($user_id) { $last_login = get_user_meta($user_id, 'last_login', true); echo human_time_diff($last_login) . ...
0
votes
1answer
3k views

How do I add Login fields and registration link to the header?

I want to have a login username and password field in the header, and a registration link beside it. I want the registration link to go away once the user is logged in and the login fields to be ...
1
vote
1answer
329 views

“Request has expired” with “Make your site social” (Gigya) plugin

I am using WordPress 3.0.5 and am trying to integrate the Gigya API for user registration and login. I get "Error: Request has expired" every time I try to register. With LinkedIn: With Yahoo!:
5
votes
5answers
441 views

Login with OpenID, similar to Stack Exchange sites?

Basically, I would like to add something like this into my WordPress site (which obviously will also give the user an option to sign up for an account using WordPress' default sign up system): Is ...
0
votes
1answer
74 views

Is it possible to use WordPress functions in a page template?

When a user enters a page I want to check if he is logged in. How can it be done in the page's template? Or is it possible only in functions.php or a plugin?
17
votes
7answers
60k views

Redirect user to original url after login?

I have a function that redirects users to the login page (home) if they're trying to access any other page without being logged in, here's how it works: function restrict_access_if_logged_out(){ ...
17
votes
1answer
29k views

Separate registration and login for different roles

I've set 2 new roles for my site using the "Members" plugin - "sellers" and "buyers". Each role should have its own registration page and login. A visitor can register as both a buyer and a seller ...
20
votes
7answers
53k views

How can I redirect user after entering wrong password?

I'm using wp_login_form() to display login form in a jQuery dialog window. If user enters wrong password, the user is taken to the backend. I don't want that. Is there a way to notify user that he ...
11
votes
3answers
28k 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 ...
0
votes
3answers
3k views

Creating custom login errors

I want to be able to create custom login errors. For instance if a user visits a restricted area without being logged in then I am redirecting to wp-login.php?ref=access and I would like to output ...
-2
votes
1answer
171 views

Click on banner to register to the blog

Hi to all I would like to add a "premium" section to my wordpress blog and I would like to force users to click on a banner before being allowed to register to my blog, any step 2 step idea on how to ...
1
vote
1answer
1k views

How do i login when i cant access wp-login.php?

i have a self hosted wordpress install on a server in a virtbox at home. i was trying out plugins from the wordpress.org site, and after enabling some securtiy plugins, i found i couldnt access the wp-...
0
votes
1answer
1k views

custom login form redirect problem

I'm facing a strange problem here with this custom login form: <form name="loginformfooter" class="loginform" id="loginformfooter" action="<?php bloginfo('url'); ?>/wp-login.php" method="...
51
votes
10answers
42k views

Check if wp-login is current page

How can I check if the current page is wp-login.php or wp-signup.php ? Are there more elegant solutions than using $_SERVER['REQUEST_URI'] ?
1
vote
1answer
327 views

Modify WP-Admin login fields

Hi is it possible to modify the login fields required to login into wp-admin? Say to use the email address instead of the username together with the password to gain access. How would I go about doing ...
0
votes
2answers
750 views

Redirecting after login?

I'm using the following to let the user login: <form name='loginform' id='loginform' action='<?php echo get_settings('siteurl')?>/wp-login.php' method='post'> <...
0
votes
1answer
675 views

wp_generate_password sets password but can't login using created password

Im creating a simple login/registration page incorporating user moderation and bootstrapping wp for the heavy lifting. I can get the new user added to the db and a password gets created and hashed ...
6
votes
2answers
4k views

Make my wordpress blog remember my login “forever”

Is there a way to make Wordpress' "Remember Me" login checkbox work for a really long time, like a year? Currently I think it only works for a few days or a week max, usually I am not remembered.
1
vote
1answer
5k views

A way to count logged in users and display count?

Is there a possibility to get the count of users currently logged in and display it somewhere?
1
vote
1answer
1k views

Using shared SSL for login/admin

I want to use SSL for login/admin. However, since I'm using a shared server, my web host only provides a shared SSL. That means instead of https://www.regular-domain.com I have to go to https://...
1
vote
1answer
422 views

WordPress and bbPress Login conflicts?

For some reason, if I log into my WordPress dashboard, I get logged out of my bbPress forum. When I log into my bbPress forum, I get logged out of WordPress. I followed all of the instructions ...
2
votes
12answers
36k views

How to move wp-admin login page to another location? [closed]

I want to move login page physically (not virtually). Please, suggest a plugin way to do this which could alter core codes on fly (even after core code update). It can be another layer of security.
0
votes
2answers
272 views

Any known plugins for master admin login to edit all on front end?

Have a theme that accepts posts on the front end by users and gives them a front end dashboard too to edit... I was wondering if there are any known plug-ins for the admin to edit all as if they ...
0
votes
2answers
344 views

Janrain/Simple Modal under Redirected Domain

I have a wordpress site running on one domain that has the main 'client' domain for the site redirecting to it. I've got my Wordpress Address/Site Address entered correcting in Wordpress, and the ....
1
vote
3answers
507 views

Completely replacing the login form

I need to completely replace WP's login form with the login form of an external service. The actions and filters I've found (eg login_form, login_head) seem to rely on WP's login process starting. I ...
16
votes
4answers
14k views

User registration followed by automatic login

I am using a plugin modified for my purposes. What I am after is after the user has registered for it to automatically log them in and return them to the current page. At the moment it sends them an ...
15
votes
4answers
10k views

SSO / authentication integration with external 'directory service'

I'm about to start working on a prototype for a client - and one of the required features is integration with an in-house user authentication / registration system. This system will act as the ...
0
votes
1answer
240 views

Help with accessing wp-admin page and resolving error messages

I was recently advised to reinstall both wordpress and my wordpress theme due to (i think) a still unresolved error with a slide manager, but on doing so, apppear to have lost access to the admin-wp ...
1
vote
1answer
2k views

Fresh Multisite Install - Can't Log In

I just installed a fresh copy of 3.0.4, went through the steps to create a multisite and everything looked good. Then, I attempted to sign in to one of the newly created Sites and the login page ...
3
votes
5answers
15k views

How to customize wordpress login/register pages?

My question is how do I customize the default WordPress login and register page without editing WP's core files. I'm thinking more along the lines of a functions.php code. Can anyone help me out by ...
0
votes
1answer
807 views

is_user_logged_in function in a sidebar not working

I'm trying to get my sidebar to change when a user is logged in and i'm using the is_user_logged_in function. Here is the code - <!-- BEGIN sidebar --> <?php /** * The Sidebar containing ...
27
votes
4answers
51k views

Is there any way to rename or hide wp-login.php?

Any way to change the wp-login.php url? It seems insecure that everyone that's ever used Wordpress could easily see if your site is using it, and get right to the login page. There used to be a ...
1
vote
1answer
466 views

Login using the password from protected pages

Does anyone know the logic on how to do the following: I have a login section with a password field only on the index, so the user enter the password and submit. Upon submission, I was hoping if the ...
3
votes
1answer
2k 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 ''....
5
votes
5answers
1k views

How do I change the logo on the login page?

Right now, my login page shows the Wordpress logo. How do I change it to my logo?
6
votes
1answer
5k views

What are the differences between wp_users and wp_usermeta tables?

What are the differences between the wp_users and wp_usermeta tables? I use the Email Login plugin and I just noticed that if a user changes his email in the profile page, it is saved in the ...
1
vote
2answers
2k views

How to edit comment_reply_link

I was editing a wordpress theme. Where i need to replace default wp login link with custom login link. Problem is, comment_reply_link() function is returning the default link. And i dont want to edit ...
0
votes
1answer
403 views

Sidebar login widget with error print, returns an error

i'm building a widget to login from the sidebar and print errors if any, so everything is working fine except that when i login it returns an error: Warning: Cannot modify header information - headers ...
4
votes
1answer
1k views

How can I create a separate blog that is private?

I am very new at all this and not a programmer. I want to know how to set up a private blog that requires a member login to view it. Is there a widget that one may suggest that does this. I am using ...
0
votes
5answers
10k views

Create front end member login

I am very new at all this and not a programmer. I want to know how to create member login section on the site allowing users to see data that is not visible to the public. I am not sure how to go ...
3
votes
4answers
10k views

wp-login.php redirecting to HTTPS

I recently restored a WP multi-site 3.0.1 database from production to a staging environment, and when I try to login, I am being redirected to an HTTPS URL. The browser complains that the certificate ...
5
votes
1answer
3k views

How to use current_user_can()?

Because it's not working for me. This code checks if a user has just registered. I want to redirect him to a custom page if so. Otherwise, redirect him to the homepage or admin page. function ...
0
votes
1answer
365 views

Why am I locked out of the system?

I've installed a wordpress site for a client. The site resides on mttv.co.il For some reson I'm being locked out of the system most of the time with no error message displayed The system takes the ...
5
votes
2answers
11k views

Limiting sessions to one IP at a time

On a site with premium user account subscriptions, I'd like to be able to limit logins to one computer at a time. The most straightforward way to accomplish this would be to limit by IP, but I haven't ...
4
votes
1answer
5k views

How to redirect after login, the working way?

I've tried everything: Peter's Login Redirect, Redirection, some unworking javascript hacks, routemap PHP Class (which is really impressive, but I'm not sure that's very useful in this case). I'm ...
7
votes
3answers
40k views

How to redirect/rewrite all /wp-login requests

Is there any simple way to have wordpress, php or apache rewrite all urls which involve /wp-admin to /admin? I have added this entry to my .htaccess file: RewriteRule ^admin /wp-login.php [L] ...
6
votes
4answers
8k views

Synchronize WordPress user accounts across multiple domains and installations without using WordPress MU

As the title suggests, If you had to synchronize WordPress user accounts across multiple domains and installations without using WordPress MU how would you do it?