Skip to:
Content
Pages
Categories
Search
Top
Bottom

default to ‘just a username’

  • Avatar of Kunal17
    Kunal17
    Participant

    @kunal17

    Not sure if this is a WPMU or a buddypress question (since it falls in register.php which is a buddypress file)

    In my buddypress install, whenever a new user registers, the option is set at ‘Gimme a blog’ as default. Is there a way to set it at the other option instead?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Site Admin->Options->Allow new registrations

    Avatar of Kunal17
    Kunal17
    Participant

    @kunal17

    Hmm, that would remove the option entirely. Is there anyway just to change the default radio button? Thanks.

    Avatar of Andrea Rennick
    Andrea Rennick
    Participant

    @andrea_r

    “Allow new registrations

    - Disabled

    - Enabled. Blogs and user accounts can be created.

    - Only user account can be created.

    - Only logged in users can create new blogs.”

    See the one that says “Only user account can be created.”? Check it. Save.

    Avatar of BeLogical
    BeLogical
    Participant

    @belogical

    I’m not sure you all are understanding his question. He wants users to be able to sign up with the option for blogs and a username, but wants the radio button to default to a user registration, and not a blog+username. The way I see it, that isn’t an option other than a core WPMU hack.

    Avatar of BeLogical
    BeLogical
    Participant

    @belogical

    /wp-content/plugins/buddypress/bp-core/bp-core-signup.php

    line # 237, change from the old line to the new line.

    old line:

    <input id="signupuser" type="radio" name="signup_for" value="user" <?php echo $signup['user'] ?> />

    new line:

    <input id="signupuser" type="radio" checked name="signup_for" value="user" <?php echo $signup['user'] ?> />

    Avatar of Kunal17
    Kunal17
    Participant

    @kunal17

    That works! Thanks BeLogical.

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Just ran into this issue myself.

    Should be an option in “BuddyPress > General Setup”.

    I’ll add a trac ticket for this.

    [EDIT]

    Trac ticket added – http://trac.buddypress.org/ticket/835

    Avatar of Peterverkooijen
    peterverkooijen
    Participant

    @peterverkooijen

    Should be an option in “BuddyPress > General Setup”.

    Absolutely. Was wondering about this. Where can I leave my vote of support?

    Is BeLogical’s hack safe as a temporary solution or can it cause all kinds of unforeseen mayhem?

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Hey Peter,

    It’s safe, but when upgrading to the newest BP version, you’ll have to remember to make this change again.

    Either that, or until some option in the admin area is made.

    I’m using BeLogical’s fix plus a CSS hack to hide the “Create a Blog” field right now.

    There is no voting system, Peter. Although you can leave a message on the trac:

    http://trac.buddypress.org/ticket/835

    You can login with your existing BP username and password there.

Viewing 9 replies - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.