BuddyDev

Search

Multisite Registration

  • Participant
    Level: Enlightened
    Posts: 78
    Jay Anderson on #6984

    Hello,

    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.

    Website: TheBasketballCore.com

    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.

    Regards,

    Jay

  • Keymaster
    (BuddyDev Team)
    Posts: 24129
    Brajesh Singh on #6992

    Hi Jay,
    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.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 78
    Jay Anderson on #6995

    Hi Brajesh,

    Thanks for the compliment. The site is still a work in progress but it’s
    coming along.

    I’m open to suggestions about how to decide if the user is a player, team
    or league.

    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
    site.

    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,

    Jay

  • Keymaster
    (BuddyDev Team)
    Posts: 24129
    Brajesh Singh on #7026

    Hi Jay,
    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.

  • Participant
    Level: Enlightened
    Posts: 78
    Jay Anderson on #7037

    Hey Brajesh,

    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,

    Jay

  • Keymaster
    (BuddyDev Team)
    Posts: 24129
    Brajesh Singh on #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.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 78
    Jay Anderson on #7049

    Thanks Brajesh,

    I’ll get the form setup and I appreciate all the help.

    Jay

You must be logged in to reply to this topic.

This topic is: not resolved