Hello!
Has anyone tried to bring the BuddyPress registration form to the front? I mean, if registration is not open to everyone, the (registration) form/page won’t show up. But, what if we want certain users (in my case I want them to be group admins) to manage user registration?
I don’t know if this can be accomplished smoothly. I think I can give them permission to access wp-admin users tab, but since BuddyPress has its own registration forms in the frontend, there might be a method to get this done.Any suggestion will be greatly appreciated.
Best regards,
JavierHi Javier,
Thank you for posting and I am sorry i could not follow up on the mail due to some personal things.A few things to note:-
1. User are sitewide and they will appear in the members directory
2. A group admin will not be able to delete/edit userQuestons:-
1. Do you want the users to manually activate their account or automatically set to be active ?If these two things are ok, @ravisharma or I will assist you with it.
Thank you
BrajeshThank you for the feedback, Brajesh.
On the things you’ve pointed:
1.Its okay that users appear in the members directory but, is it possible to include the group they belong to or, even better, group them in the directory?
2.In the future, I’d like to give group admins the ability to delete/edit users. Maybe not now, but it would be the ideal scenario, is this doable?About the question:
1.I’d prefer the users to manually activate their accounts so I can put there (in the activation page) the “Terms of service” they are accepting to access the service
What do you think about this?
Thank you,
JavierHello, again.
If we maintain those requirements you stated:
1. User are sitewide and they will appear in the members directory
2. A group admin will not be able to delete/edit usercould we tweak code in the future to suit all the needs? Do those requirements above compromise future modifications?
For now, just allowing group admins to register users and select the group they belong to, would be really nice for me. There’s a plugin to display groups on the registration page: https://wordpress.org/plugins/buddypress-registration-groups-1/Also, I’m searching the codex to look for activation page hooks to display content (“Terms of Service”) there.
Thank you,
Javier- This reply was modified 8 years, 7 months ago by Javier.
Hi Javier,
Thank you for the details.
1. yes, It will be extendable in future.2. You can use the hook ‘bp_before_activate_content’ or ‘bp_before_activate_content’ to add extra content/terms
I or Ravi will work on this on the weekend and provide you the code.
Thank you
BrajeshHi Javier,
I have uploaded the code on github for Group’s admin to add users. Please clone it or download archive file from the following URL.
https://github.com/buddydev/group-admin-add-users
Thank You
Ravi
You must be logged in to reply to this topic.