WordPress.org

Ready to get started?Download WordPress

Forums

How to Set Default for Username Only (5 posts)

  1. agreda
    Member
    Posted 11 months ago #

    Hey everyone, I searched but couldn't find a way to do this...

    Is there a way to set the registration default on the signup page to "Just a username" instead of "Gimme a site."?

    I could have sworn there was a setting for this long ago, but now I can't find it. I do want new users to have the option to create a site upon sign-up, but I just don't want that to be the default.

    I know there is the option to only allow sites to be created by logged in users, but I don't want to make them have to log in and then create their site. I just want the default radio button selection to be for a username only so they can check "Gimme a Site" and do so on the next screen when registering.

    We are just getting far too many blogs created that people are never using. And our db is getting so large that I'm now getting 500 errors in PHP MyAdmin when trying to optimize tables or run other commands.

    I'd rather not hard code the radio button default selection, so maybe there is a plugin or simple way to do this that I am missing.

    Thanks in advance for any feedback or suggestions!

  2. Is there a way to set the registration default on the signup page to "Just a username" instead of "Gimme a site."?

    Yes. Network Admin -> Network Settings

    Under Registration Settings

    Change Allow new registrations to "User accounts may be registered."

    There's also "Logged in users may register new sites." which I think does the 'register an ID' and then afterwards you can do a site.

    You may want to also get a plugin to approve all new users.

  3. agreda
    Member
    Posted 11 months ago #

    Thanks for the quick reply Mika, however...

    Change Allow new registrations to "User accounts may be registered."

    This option removes the radio buttons altogether, disallowing site creation. My goal is to allow them to create a site during registration, but not have that be the default.

    There's also "Logged in users may register new sites."

    With this option selected, visiting the sign-up page results in: "You must first log in, and then you can create a new site."

    Does anybody know if there is a way to show both radio buttons but have the default selected option be a username only?

  4. agreda
    Member
    Posted 11 months ago #

    I figure I could edit wp-signup.php as follows...

    <input id="signupblog" type="radio" name="signup_for" value="blog" />
    <label class="checkbox" for="signupblog">Gimme a site!</label>
    <br />
    <input id="signupuser" type="radio" name="signup_for" value="user"  checked="checked" />
    <label class="checkbox" for="signupuser">Just a username, please.</label>

    But I'd rather not hack core files, to facilitate upgrades. Any suggestions or plugin recommendations are welcome.

  5. You could make your own signup page.

    http://halfelf.org/2012/multisite-registration/ talks about how to make per-site registration, which pretty much can do that.

    You also may see if we have that filtered. I can't remember off the top of my head.

Reply

You must log in to post.

About this Topic