wordpress webstie restriction or blocking, only registred users can view the website - wordpress

I am creating a website on top wordpress,
The reason to use wordpress is that,
We want to restrict or block the entire site,
Only registered people should be able to access the site that too after verification,
Can anybody help me choosing the right plugins to achieve this.
Note : the site will be similar to a membership website, but the users who are going to use this are not paying, We just want to allow only people whom we approve.
Example: The steps are the one we are looking,
Default page should be Registration page,
Once Registered, Email verification has to be done by clicking the link in the Email ID giving during registration,
Post verification, Email with log-in page link along with username & password goes to the user's registered Email ID,
User logs-in using the username and password,
User is able to view the entire site
I AM A NEWBIE IN WORDPRESS,
Thanks
Ashok

Check this plugin : https://fr.wordpress.org/plugins/wp-user-frontend/
It's the best to make membership / private page / registration page and etc.. and he is the most documented plugin on this.
Have fun and welcome on Wordpress :)

Related

How to create a custom login form with custom forgot password form in WordPress

I have tried so many things but I am not getting a good result.
I am using Wordpress and the easy digital download plugin to sell some digital product. Now, How can I create a custom login form with custom forgat password form.
and is it possible to create a separate login form for the customers and the administrators?
I mean, on the customer's login form if someone tries to login with administrators username and password there will be no ability to do that.
The /wp-login.php form should do most of what you want. But if that still isn't right have a look at the article attached.
https://themetrust.com/build-custom-wordpress-login-page/

How to display all the registered profiles in a wordpress site?

I am told to make a wordpress site where i will be having a registration form.. Once the registration is done. The person will be logging in. And on one page say 'collogues', the logged in person will be able to see all the other registered people's photo and their names. And if he opens that photo, the profile will appear. (Profile details taken while registration).
Just like a social media but no friend request, no comments nothing else. Not even algos to match the gender.
Simple login and you will be able to see other people's profile pages and probably edit your profile every now and then....
Your task seems simple. You may use Members plugin to build login system and then upon logging users in you can fetch all users from wp_users table and link their profile to single.php, where its displays all user data.

Wordpress password protect certain parts of my site and create logins

I'm a newbie to Wordpress and I need to password protect certain pages of my site. I also need to be able to have users request a password that I can then create and send them so they can log in and see the content that is password protected. Any plugins or suggestions would be appreciated.
Password protecting posts and pages is actually built in to WordPress.
On the left hand side of your page editor, you will see this:
If you change the visibility from public to password protected you can ensure that only logged in users can see that specific page/post.
If you want to approve user registrations, I would suggest having a look at the New User Approve plugin. Alternatively, you can try to write a function to do it yourself, and if you get stuck, post your progress here and we can help you adjust.

Accessing BigCommerce Logged In user from wordpress on subdomain

So I need a way to lock down both bigcommerce and wordpress if a user is not logged in. First suggestion was asking if when a user is created in bigcommerce create the same user account in WP... but that doesn't seem like a good approach to me since the user will not need any interaction as a user on WP just need to block access to pages if they are not logged in.
So my thought is to check if a user is logged into bigcommerce, then pass a variable to wp header file. If the variable does not exist then redirect them back to bigcommerce login. For this install BigCommerce is currently using the header from wp so they match and all works well so that is why I assume I should be able to pass a variable to check if a user is logged into bigcommerce or not. I have not been able to find any documentation in the API about accessing if a user is logged in or not.
Has anyone done anything like this and or know if this would be possible? Or know of a better solution for what I am trying to do. Maybe check for a cookie or session?
Recently I did a project where the client wanted to show custom content to bigcommerce loggedin users and block the rest. The best way I found was to check the value of %%GLOBAL_CurrentCustomerFirstName%%. It is "Guest" for non-loggedin users.
you can try this:
localStorage.setItem("user", %%GLOBAL_CurrentCustomerFirstName%% );
and then you can use on wordpress pages :
var user = localStorage.getItem("user");
if(user=="Guest"){
//redirect to login or block page
}
Obviously they can get around javascript so using ajax to store it somewhere and then retrieving it would be more secure but I hope this will help you proceed :)

Automatic Login Facebook PHP SDK as in Wordpress Easy Instagram Plugiin

I am creating a wordpress plugin for admin. In which admin can show his selected photos from facebook album on front end.
App id and secret key are storing in db.
Login also working and it fetches the login user albums etc etc.
and Logout also working. But when on the site if some one has logged-in in my plugin then from any system it must show the login details.
What currently its doing is that to login to facebook, which i don't want.
The method i want in my plugin is same as its in wordpress easy instagram plugin, where in the site if the user logged in then it will always show the login credentials what happening in this instagram plugin is that is stores the access token in wp options table. if we delete the value for that option then it will specify in the back end to login.
I want same process in my plugin too.
Auto login process. (one time login)
Anyone knows how to make this work?
Thanks

Resources