WordPress: can not delete user from wp-admin - wordpress

I need to delete user from my site.
So i go to :-
domain.com/wp-admin/users.php
And select user to delete and click into Delete and go me to page to move user article to another user.
I select another user to move deleted user article to him, But i cannot see delete or any thing to click to delete
Why !!

Why won’t WordPress let you delete the admin account?
Because under Settings –> General there is a field where you enter an email address. That email address is the administrative email address contact. You cannot delete the account that the administrator email account is assigned to.
So, take one more step and switch the admin email address to match the one you setup with the new admin account. Then, you can go back to the Users screen and delete the admin account without any trouble.
FYI – If you have not created another User account and assigned it administrator rights, you won’t be able to delete the default admin account either. In WordPress, there always has to be at least one admin account, so you have to create the new admin account first, and then delete the old default administrator account.
**** Make sure you aren't logged in as the same account you are trying to delete too.

make sure your current role is an administrator.[or any high role]
Go to users.php page again, then put cursor over the user you want to delete to make Edit and Delete link come out. And click delete.
here a screenshot https://lh5.googleusercontent.com/-u1yQRMUtcMs/VHQce3dcDVI/AAAAAAAAADU/Vvx1mEGcoNs/w1044-h355-no/deluser.png

Related

Account creation during checkout Woocommerce

i need help to change the user profile that WC sets when a user create his account during the checkout. It sets “Customer” profile.
Because i’m getting an redirection error when the users use this option (they can’t go to “online order” in the navbar) when they press click in "online order" it redirects to his account profile.
If i switch the profile “Customer” to “Suscriptor” now they can go to “online order”.
Thanks.
I just gived the same config of "Suscriptor" to "Customer" and it works, thanks.

Create limited super admin on multisite (Wordpress)

Is it possible to create a user on a multisite that has access to all the sites in the network, but has limited permissions to for example install plugins and view/edit certain settings? The only thing I want this user to be able to do is to jump in between sites and be able to edit the content of these, without having to log in and out with different accounts on each of the sites.
The most optimal solution would be if I could create a new user role based on the super admin role, and then deactivate permissions from there. But from what I see in the admin interface of the network, I seem to only be able to give a user the super admin role and no other role, except for if I create a user on any of the specific "sub sites" in the network.
Any ideas for how to do this?
I totally misunderstood how this works. I just figured out that I have to do the following:
Create a user on the network. From what I understand, I should not assign the Super Admin role to this user if I don't want the user to have access to the network settings.
Go to Users > Add New on the sites where I want this user to have access and enter the email or username of the user in the input field under Add Existing User.
Choose the Role that this user should have on the specific site.
Click Add Existing User
The user can now login to either one of the sites where the user was added and can switch in between the sites in the admin bar, without having access to the network admin area.
For now I selected the Editor role for this user to limit access to plugins and other settings that only the admin should have access to. If I want to modify the capabilities of the user I could either do it manually or just install a plugin like User Role Editor to do this.

Wordpress login issue with Administrator

I have lose administrator password, due to multiple try the email got blocked. I have added new Administrator to the Database using SQL Queries and I am able to login but I am unable to see the dashboard.
See here
WordPress didn't show the option to visit dashboard, it show the username and logout option nothing else.
You can change password of your old admin. Go to wp_user table in database and change admin password there.

Wordpress Disable User Account?

I want to disable a user's account. When the user's account is disabled then the user should not able to login.
How can I disable user's accounts?
Well you could just delete it. Alternatively, go to the Users dashboard panel and change the user's role to "-- No role for this site --"
A quick Google search gave me the following plugin:
Disable Users
Once installed and activated, a checkbox appears on the user profile settings (only for admins). When checked, the users account will be disabled and they will be unable to login with the account. If they try to login, they are instantly logged out and redirected to the login page with a message that notifies them their account is disabled.
I think it's what you are looking for!
You can create a temporary user or disable user using the following plugin:
Temporary access for users
Temporary Access for users plugins creates the temporary user. If the admin wants to create a temporary user for some limited period of time like give temporary login to a user then this plugin is helpful to you.

drupal how to allow logged in user to edit specific content node?

I have a Drupal 7 site with single SSO via the LDAP module, which allows us to run the site as n Intranet and users that hit the site with IE will get automatically authenticated using their active directory credentials.
I have a personnel directory content type that holds a list of all of our employees and some of their stats (photo, email, phone number, etc.).
The problem I want to allow the logged in user to be able to edit the node in the personnel directory page that represents them, but because there is no relation between the logged in user and the nodes under the personnel directory content type I am not sure how to go about allowing users to edit their own entries?
The personnel directory page is automatically populated/updated via feeds (it looks at our AD, and pulls down users and updates them if it detects updates in AD meta data).
Somehow I need to tie the logged in user to the specific node, any idea how I could automate this as there are over 300+ nodes/users.
Ultimately, I'd like to have a "edit personnel bio" link that they can link, that will link based on their [current logged in user ID] it will allow them to edit the correct node in the [personnel directory] content type.
I hope this was clear enough to point me to some direction.
Thank you.
basically you want to create a user "role". Then in your permissions page (the one with 1000 checkboxes) you can add edit access to your "personnel bio" content type (or fields) for just that user role.
Then in your template you provide the user a link to the same page with /edit in the url.
Make sure the user has permissions to edit the node of that type. Upon creation of the node via feeds, create a rule (use the Rules module https://drupal.org/project/RULES) to change the creator of the node to that user's uid.
Add another field in the user's account to match their AD username to tie them together. To do this, create a module as seen at https://drupal.stackexchange.com/questions/8253/how-to-add-extra-fields-to-user-profile

Resources