Controlling registration of new user in WordPress - wordpress

I would like to have more control on the way new users can register on my WP website.
They should be able to register by themselves if they have a valid email address on a particular domain (e.g. rolland#thisdomain.au). If they register with an email address on a different domain (e.g. rolland#otherdomain.au), the administrator of the site should decide whether to allow the registration or reject it.
Ideally I'd like to NOT use plugins and implement this directly in a custom theme (or my own custom plugin).
Any suggestions ?

Related

Is it possible to create a filter before authentication process in WordPress?

I was trying to figure out if it is possible to filter the entered username/email address before the user gets authenticated and logged in.
This way users won't be able to login using previously defined usernames/emails using a specific frontend login form.
As we have changed the default login page URL hackers won't be able to find the default login form easily and get access to administrative accounts.
Is it possible, any ideas?

Create a new User Specific Page or Post when they register

I want to create a new page or post when a user registers in my wordpress website. And I want it to keep its access specific to that user and noone else. Is there a pluggin for the same? If not, can anyone just hint me to add user specific encryption php function to that page? Like the params and everything.

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 webstie restriction or blocking, only registred users can view the website

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 :)

How to restrict email domain when user register on plone(4.3) site

I set up a Plone(4.3) site.
And now we want to restrict user email domain when they register on our site?
For example
just email from domain1.com can register on the site.
that is a#domain1.com can register on the site.But b#domain2.com can't register on the site.
thanks
I made this by (monkey) patching the isMemberIdAllowed in Products.CMFPlone.RegistrationTool by verifying the domain in the userid with a configurable list in the control panel.
I extracted this as a package here: https://github.com/Adniel/allowed.domains
The user will only know that the userid was not allowed, not that it dit not find a matching domain. Pity.
It is not particularly neat, and there are most certainly better/other ways of doing it. But it could work.

Resources