Tagged: buddypress, multisite, registration
- Jay Anderson on January 11, 2017 at 7:20 am #6984
I’m trying to remove the option for a blog on the registration. I still want users to be able to get a blog on the network but only after they have signed up on the main site and put a request in.
Here’s what I’m trying to build.
The main site is a BuddyPress site using the Community Builder Theme. I want anyone to be able to sign up and be part of the basketball community. This includes players, coaches, officials, fans, etc.
Once the users have registered on the Main site I want to create a section where players, teams and leagues can request to have their own site on the network. I will create custom templates for each group that they can choose from. I want to make sure that only the players, teams and leagues get a site on the network and not give that option to any fan/user.
Is there a way to disable the “Create a new Blog” on the registration page but still be able to create a new blog once they have registered and I can confirm they are a player, team or league?
I would create a form that they can fillout and I’d provide them a link or change their user role to allow them to access the “sites/create/” page where they can create a new site.
Would this be the best solution or could you suggest a better solution.
Thanks for all the help and please let me know if you need any further information.
- Brajesh Singh on January 12, 2017 at 9:22 pm #6992
First of all, your site looks wonderful. Nice job there with it.
My question is How do you decide a user is player or team or league? If you can help me understand that, we can disable it for all except these user types.
We can put some code in bp-custom.php to restrict the access? And if you want we can futher restrict the allowed users to certain number of blogs.
- Jay Anderson on January 12, 2017 at 11:32 pm #6995
Thanks for the compliment. The site is still a work in progress but it’s
I’m open to suggestions about how to decide if the user is a player, team
My first thought was to have all users register on the main site. Once
they have logged in I would have a form that they would fill out with
their contact info and player, team, league information.
Once we get the form we can check on the information then approve them and
assign them the user role.
When the user is approved and assigned the role they will have access to
the “site create” page where they can choose the template and register a
Restricting the number of blogs would be great. I don’t want to have to
monitor how many blogs a person is creating. I would like to keep it to 1
unless we approve them for more.
I hope this makes sense. Please let me know if you think you have a better
solution. I’m open to suggestions.
Thanks for all the help,
- Brajesh Singh on January 17, 2017 at 11:47 pm #7026
My apologies for this delayed reply.
Here is what I think will suit your requirement.
1. You provide a form to users to ask you for allowing site creation.
2. Based on the data, you decide and assign the user some member types
3. You can post about the member types here
4. You will set the option on register setting that says logged in members can create site
5. I will restrict the creation of the site to those specific member types and limit blog count.
That way, I believe it can be semi automated.
Hope that it helps.
- Jay Anderson on January 18, 2017 at 9:37 pm #7037
That sounds perfect.
I can create the form using Formidable Pro or would you suggest BuddyPress Simple Front End Post or another type of form?
Would the best option for creating members types be your BuddyPress Member Type Generator?
I really like the way you have it layed out.
Thanks again for the help,
- Brajesh Singh on January 19, 2017 at 7:38 pm #7040
Thank you Jay.
Please use any available forms. BuddyPress Simple Front End post is not a solution for building general forms yet, so i do not recommend that.
Yes, Member type generator is fine or you can do it in the code.
I will workout the code in the meantime and will post in next 2 days.
- Jay Anderson on January 20, 2017 at 6:54 pm #7049
I’ll get the form setup and I appreciate all the help.
You must be logged in to reply to this topic.