WordPress.org

Ready to get started?Download WordPress

Forums

Multi-Site - Auto register new user on primary site issue (6 posts)

  1. Center11Forward
    Member
    Posted 5 months ago #

    Hi,

    I am faced with an issue with my multi-site setup.

    Through advice on here and elsewhere, I am successfully using the multisite user management plugin to automatically register a user on the primary domains blog when they sign up for their own subdomain blog.

    So in other words - user signs up through primarydomain.com and gets assigned subdomain1.primarydomain.com. They are an admin on their sub-domain and a subscriber on the primary site. Thats all working fine.

    The issue I am faced with can be seen in the following screenshot:

    https://dl.dropboxusercontent.com/u/70814425/MultiSite%20Issue.png

    As you can see, when the end-user goes to primarydomain.com, they are now given a new admin bar option - My Sites. From their, they can access options for their own subdomain or they can access a dashboard for the primary domain. From that dashboard, they are able to create a new site.

    I don't want the end user to have any access to the primary domains dashboard/have the ability to create a new site. All I want is for the user to be able to comment on blog posts etc on the main site and automatically be assigned an account on the BB Press forum.

    Any ideas on what i could do? The current setup is very confusing for an end-user and is likely to cause all sorts of issues...

    Let me know if you need any more info or if I wasn't clear on anything.

    Thanks.

  2. I just tested on my site, and if you have either of these options set

    Logged in users may register new sites.
    Both sites and user accounts can be registered.

    then you get that "Create a New Site" link

    HOWEVER. My sub-site users are not added to the main domain at all, so I'm not sure how you did that.

    Removing the create a site link, though, will need to be done either by an admin CSS or perhaps via a plugin like http://wordpress.org/plugins/limit-blogs-per-user/ to limit blogs.

  3. Center11Forward
    Member
    Posted 5 months ago #

    Hi Mika,

    Thank you for the prompt reply.

    Upon further inspection, it's not the multisite user management plugin that automatically adds the users to the main domain; it is in fact the user registration add-on of the Gravity Forms plugin that I am using for the signup process. In the settings, you have an option 'Current Site Role (required)' where you can set what role (you can also select no role) they will have on the current site (i.e. the main domain).

    That plugin you linked to limit blogs works in that it removes the add a site link from the main site dashboard.

    I wonder though if removing any access/links to that main domain dashboard would be the optimal approach in creating less confusion for an end user...

    Seems like it would be tricky to remove the 'Dashboard' links for the main domain while retaining those links when they are logged into their own sub-domain back end...

  4. Eeeeh maybe? I used to use wp-hide-dashboard to keep people out of the network things, but generally only the inquisitive even notice.

  5. Center11Forward
    Member
    Posted 5 months ago #

    Thanks for the advice. Think id prefer to go the hide dashboard route and avoid getting e-mails from users confused about what's going on.

Reply

You must log in to post.

About this Topic