The MU forums have moved to WordPress.org

Registration Privileges (8 posts)

  1. ezapmar
    Member
    Posted 16 years ago #

    I have searched about my problem on the site but i couldnt find it. If i repeat the same things on the forum i'm sorry for that.

    My problem is that;

    I just would like to freeze new registrations on my MU site for a short time. During this time, i would like to fix it like that only admin can create new blogs on my site.

    Shortly, i wanna block the others to create the blogs.

    How can i do that?

    Thank You So much
    Ezap Mar

  2. demonicume
    Member
    Posted 16 years ago #

    comment out all mention of signup.php. then break that page. i think adding psace before the <?php and after the ?> wil break it.

    i'm sure there's a more elegant way to do it!

    DemonC

  3. ezapmar
    Member
    Posted 16 years ago #

    Yeah, it's a way but as you said that there has to be another elegant and pratic way :)

  4. lunabyte
    Member
    Posted 16 years ago #

    in wp-signup.php, at the top, after:

    require('./wp-blog-header.php');

    add in:

    
    if ( !is_site_admin() ) {
         header("Location: http://mydomain.com/");
         exit();
    }
    

    Where you add in the link to your front page, or wherever. Maybe a WP page that simply says registrations are not currently being accepted, please check back soon.

  5. ezapmar
    Member
    Posted 16 years ago #

    thank your for anwers but;
    this code doesnt work unfortunatly. :S

  6. drmike
    Member
    Posted 16 years ago #

    What does it do and where specificly did you place it in the file?

  7. ezapmar
    Member
    Posted 16 years ago #

    it looks like ok, now. :)

    when i tried for the first time, it didn't work sorry.

    thanks for your support!

  8. ezapmar
    Member
    Posted 16 years ago #

    I have a new question about it now.

    When i added this code, it also blocks the registration of the users. I would like to block creation of new blogs but at the same time i would like to let the people as users or autors of the blogs.

    How can i do that?

About this Topic