how to inactivate user in wordpress - wordpress

I want to inactivate a user in wordpress and block him from login. I have updated user_status is 2 in wp_users table. And it is working fine. But the following article shows that user_status has no value in wordpress.
[link]https://wordpress.org/support/topic/what-is-the-status-of-user_status
So, can you suggest how to inactivate a user block him from login

Use word press plugin Account Locker Lite which provide facilities for block user with out delete user account in word press and inactivate a user block him from logging.

The user_status field is effectively a dead record in the database. It’s been that way for some time.
You could certainly make use of it for your own purpose, but as it is a sort of deprecated or unusued element, it’s always possible it will be dropped from a future version of WordPress. Or even be put back to work.
Based on https://wordpress.org/support/topic/what-is-the-status-of-user_status

Related

Woocommerce - Order Tracking Link

I want to include a 'check my order status' link in the thank you email. Woocommerce comes with a order tracking form, but the user has to input their order id and email. Is there a way to show the tracking page without going through the input form?
I know my accounts has a view order link, but that would only work if the user is registered.
Yes, you can show an order tracking link in your email. It is a bit convoluted way and will take some time. It is much easier to let the user input his information. This makes things a lot less complicated. But if you absolutely need the order tracking in the email, then,
Put this information somewhere other than your secured site,
Make sure you update this information regularly,
Take the ID of
this information from your database and make a GET endpoint(hoping
its a web application), such that it takes in the ID number of the
information and displays it,
This GET link needs to be embedded
into a HTML form/template which you are sending as the email
If you want the whole implementation, you need to specify the tech stack you are using and other details.
If you want to show one tracking page which page customers/users can search their order status without login, then you can use the plugin Order Tracker for WooCommerce
If you use the plugin then the user can check his/her order status without login/hassle free, and also you don't need to add any extra tracking number, user can search using their order ID and phone number.
you can use it the very easy way, like making a page template or using the [cbwct-order-tracker] shortcode, anytime anywhere, and it’s also working with ajax.
You can watch the video for the plugin documentation on how to use that plugin here is the
Video Tutorial

I need plugin which can make my each unique employee upload his work

I need plugin which can make my each unique employee upload his work like only media or client can submit job requirement with only 3 field title ,media,description without login into wordpress dashboard like this http://web1expert.com/test/client-submission-form/ & each client is redirected to dat work without login into dashboard
This is very broad topic to be discussed here. Be more specific if you are facing any particular issues.
Or you can use Upwork for posting this job to hire someone to complete it up.
try (visual form builder)
with this plugin you can create field with file upload field
but this is not Exactly what you want

PayPal Express Landing Page and SolutionType having no effect

I am using the PayPal Express NVP checkout process and my customer has a requirement for the following:
The user is initially presented with the login screen and not the billing page
The user should not be able to checkout anonymously by credit card
The documentation makes it quite clear that this is possible:
https://developer.paypal.com/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/
Setting the following options should achieve what I require:
SOLUTIONTYPE=Mark
LANDINGPAGE=Login
This stackoverflow article describes how to achieve the second option as part of the account settings which I have also done.
I've cleared all cache and stored cookies yet it appears these properties are having no effect whatsoever. I am still taken to the billing page and the ability to checkout anonymously remains.
Am I missing something, or is there anything else I need to do to make this work?
There is also a setting in the PayPal profile to turn off the guest checkout option. Go to profile/settings, my selling tools, and then Website preferences. Toward the bottom of the page you will find a setting "PayPal Account Optional" which should be turned off and then save the change at the bottom of the page.
when 'MARK' is passed it overrides the paypal account optional setting. That said, have you tried just passing LANDINGPAGE=LOGIN ? You don't have to pass SOLUTIONTYPE=MARK.
Just had the same issue and came across this post. What solved it for me was an additional property LandingPageSpecified, which must be set to true.

How to set woocommerce checkout form values to empty

I am using Woocommerce plugin for a WordPress site. But when as user I checkout I can see form populated with last user's details. How to set form entries to blank in Woocommerce. Please help.
Fields are pre-populated with last user's detail. Is there a way to avoid this?
Not sure with your exact issue , but there might be two possible situations in your case.
You might me logged in with same user and then trying to
checkout, as woo-commerce will fetch the details of currently active
user and auto fill it during checkout.
Fields might get auto fill from your browser cache , try to checkout using another browser or
by clearing cache , if its due to cache than that's not an issue at
all, as it your browser functionality which keep the data store
temporarily for your next usage.

Drupal 7 : get user profile picture at registration

I am using Drupal 7.
I follow this link to enable profile picture of user.
Now i want to get profile picture from user at the time of registration.
How can i get this?
Any help will be appreciated.
Ideal module to do this is Reg-With-Pic
You will be given a check box at admin/config/people/accounts named "Enable user pictures on registration" and weight selection.
If you are using Content Profile module, File field would be an option.
Here is the Helper function to add default user account fields to user registration and edit form.
http://api.drupal.org/api/drupal/modules--user--user.module/function/user_account_form/7
You might also want to use the Gravatar module to take some of the pain out of what you are suggesting. It's enough trouble to set up a profile on yet another site that you might not want to force them to configure their profile at the time of registration, especially with such things as a "user picture", unless you really want to put a damper on registrations.
Depending on the type of site you are working on, the Gravatar module might be ideal. Anyone who already has a Gravatar will have it automatically set as their user picture.
http://drupal.org/project/gravatar

Resources