The MU forums have moved to

Can't register: Stuck in a loop between login and signup page. (3 posts)

  1. Rage00001
    Posted 15 years ago #


    I have come across a strange problem where I hope you guys can provide some sort of assistance.

    Well.. the problem is that new users can’t register on my site when the option “Only logged in users can create new Blogs” are choosen on Site Admin > Options (wp-admin/wpmu-options.php).

    I have changed the setting on Site Admin -> Blogs -> Edit and marked 'Users May Register' to 1 on the main site.

    I do see the register link on the login page (/wp-login.php) but when I click on the link I’m transferred back to the standard signup page (/wp-signup.php) where I get this message:

    “You must first login, and then you can create a new blog.”

    If I click on the login link on that text I’m sent back to the login page (/wp-login.php) again, and could continue doing this as long as I please.

    I’m like stuck in a loop between login page (/wp-login.php) and signup page (/wp-signup.php) and as I’m not registered I have nowhere to go…

    I had the same problem both in WPMU 2.6.5 and 2.7 which I’m testing now.

    The settings “Only user account can be created.” and “Blogs and user accounts can be created.” Works just fine.

    But, what can I do to just allow registered and logged in users to create new blogs?

    Thanks :)

  2. andrea_r
    Posted 15 years ago #

    Blogs are created at the signup page - wp-signup.php.

    The regualr WP registration (wp-register.php) is NOT used in WPMU. The process is entirely different.

    If you pick “Only logged in users can create new Blogs” then only user accounts that alreayd exist can create a new blog. You can't have new user signups that way, unless you are adding them from the backend.

  3. Rage00001
    Posted 15 years ago #

    If that’s the case, then i suppose those options in Site Admin > Options should have been updated accordingly.

    I don’t see the point in having an option who clearly don’t have any function other than to confuse us.

    If it don’t work that way I suggest removing it from the menu.

    But I think I actually have a solution for this problem, but need a little help to solve it..
    It’s probably very easy too, but I don’t find out where to choose which checkbox that are checked…

    On the line 263 (WPMU 2.7)

    <input id="signupblog" type="radio" name="signup_for" value="blog" <?php echo $signup['blog'] ?> />
    <label class="checkbox" for="signupblog"><?php _e('Gimme a blog!') ?></label>

    <input id="signupuser" type="radio" name="signup_for" value="user" <?php echo $signup['user'] ?> />
    <label class="checkbox" for="signupuser"><?php _e('Just a username, please.') ?></label>

    If I just remove the option “'Gimme a blog!” a user would have no other alternative other than just register and getting their username.
    When they are registered they don’t use this fields at all so there should not be any conflicts there…

    But I need to get the correct checkbox checked, now it always choose “'Gimme a blog!”

    If 'Just a username, please was the only option, and checked there would be no other option available and this case would be soved.

    Thanks for all help

About this Topic

  • Started 15 years ago by Rage00001
  • Latest reply from Rage00001