The MU forums have moved to WordPress.org

How to automatically create blogs for new users (10 posts)

  1. briansailors
    Member
    Posted 14 years ago #

    We loaded 2.8.5 just fine, and were able to get the active directory/ldap add on to work.

    I have looked around and cannot find how to allow users to create their own blogs. Users can login, submit comments, edit the main blog page if allowed, etc.

    But for the life of me I cannot figure out how to allow users to create their own blogs.

    I apologize if this is a noob question, but I have been unable to find this anywhere.

  2. DeannaS
    Member
    Posted 14 years ago #

    Site admin - Options - Allow New Registrations.

    We use "Only logged in users can create blogs."

    If you do that in conjunction with using the AD/LDAP plugin, you've effectively made a network that only allows internal folk to use blogs.

    You'll also probably want to set the option in the ldap tag to disallow blog admins to add new (local) users.

  3. briansailors
    Member
    Posted 14 years ago #

    deanna: thanks, we tried that no luck. this is what we already have set.

    is there something else I can look at?

    the system logs in users just fine, creates their accounts, but no options in their dashboard to add a blog.

    Everything else seems to be working great.

    any advice is really appreciated.

  4. briansailors
    Member
    Posted 14 years ago #

    Ok, this seems to be related to my LDAP plugin. if I disable the plugin and register directly, I can create a blog.

    deanna: which one are you using?

  5. DeannaS
    Member
    Posted 14 years ago #

    We're using a modified version of this one:
    http://sourceforge.net/projects/wpmu-ldap/

    It doesn't handle AD groups out of the box, but modified it to do so. I can send it to you - deanna dot schneider at gmail dot com.

    But, there typically isn't anything on the dashboard to create a blog. Have you tried just going to wp-signup.php?

    (I have another plugin that just adds a "create a blog" button on the dashboard, too.)

  6. briansailors
    Member
    Posted 14 years ago #

    I managed to get the ldap integration piece working. Part of the issue was my theme I think. Changed to default and things seem to be working better.

    I would be very interested int eh create a blog dashboard plugin.

  7. DeannaS
    Member
    Posted 14 years ago #

    <?php
    /*
    Plugin Name: cets_dashboard_message.
    Description: Adds a message area to the dashboard.
    Author: Deanna Schneider
    Version: 1.1
    Author URI: http://deannaschneider.wordpress.com
    
    WPMU2.6 & 2.7
    
    This is a "works for me" mu-plugin, like it, fix it, enhance it, share it, . . . or lump it.
    
    */
    
    add_action( 'activity_box_end', 'cets_dashboard_message', 1);
    
    function cets_dashboard_message() {
    	//if (!is_site_admin()) { // site admins can do this other ways
    	?>
    
    	<p class="sub musub">Quick Options</p>
        <p><a href="/wp-signup.php" class="button"><?php _e('Create a New Blog'); ?></a> Need a blog/site for your project?</p>
    
    	<?php
        //} // end if not is site admin
    
    }
    
    ?>
  8. briansailors
    Member
    Posted 14 years ago #

    How would I install this?

    And thanks!

  9. andrea_r
    Moderator
    Posted 14 years ago #

    save it as a file with a .php extension, put it in the mu-plugins folder.

  10. briansailors
    Member
    Posted 14 years ago #

    Excellent. Thanks for all the help.

About this Topic

  • Started 14 years ago by briansailors
  • Latest reply from briansailors