Batch Create 1.1 Beta

Hey guys!

Here is a beta version of Batch Create 1.1 with new features and enhancements. Feel free to try it and let us know how it works for you.

Changelog:
- New feature: allows addition of users to existing blogs
- New feature: allows choosing the role of users
- Enhancement: support for .csv and .xls files
- Enhancement: internationalization
- Enhancement: compatibility with WordPress 2.8 - 3.1
- Enhancement: log plugin actions in a file when queue is processed
- Enhancement: admin page rewrite so that it works correctly without js enabled
- Enhancement: rewrite code per our coding standards

  • lukebream
    • WPMU DEV Initiate

    Hi Ulrich

    I have just installed this and I cannot get it to work. I have uploaded the .php file aand also the folder to my mu-plugins directory.

    I tried to upload both my own .csv file and also the test one that you put into the download. In both cases I get the success message "Items added to queue."

    But I do not see on the screen the message to action the blog set up ??

    I have added a screen shot of what im seeing.

    Im running wp 3.01 on a fresh installation

    regards

    Luke

  • lukebream
    • WPMU DEV Initiate

    Hi Ulrich

    Thanks for coming back to me,

    i did install the previous version of the plugin first. but got the same error. Then when i was searching for a solution on this forum I came across your beta test of new version so I installeed that.

    Has the table 'batch_create_queue' been created in your site database?

    Not as far as I know...unless it happens automatically ? How do I check / create this table /

  • sarah101
    • Design Lord, Child of Thor

    @ lukebream - Check your database with phpMyAdmin if you have access to it. Look for the "wp_batch_create_queue" table. My table auto-installed when I installed the plugin and went to the batch create admin page. Everything appears to be working fine with WPMS 3.0.4.

  • Smartson
    • Design Lord, Child of Thor

    Hi

    I have installed the final version and checked that the table been created. Still the same result. I have enclosed some screenshots and the source code from the page after uploading the file.

    Any suggestions what I can do?

    Regards

    martin

  • Smartson
    • Design Lord, Child of Thor

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="sv-SE">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Batch Create ‹ Smartson Testpilot — WordPress</title>
    <script type="text/javascript">
    //<![CDATA[
    addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
    var userSettings = {
    'url': '/',
    'uid': '2',
    'time':'1296748516'
    },
    ajaxurl = 'http://smartsontestpilot.se/wp-admin/admin-ajax.php',
    pagenow = 'ms-admin_page_batch-create',
    typenow = '',
    adminpage = 'ms-admin_page_batch-create',
    thousandsSeparator = ' ',
    decimalPoint = ',',
    isRtl = 0;
    //]]>
    </script>
    <link rel='stylesheet' target='_blank' href='http://smartsontestpilot.se/wp-admin/load-styles.php?c=1&dir=ltr&load=global,wp-admin,ms&ver=8a7749191ac4671457867d636b401bd8' type='text/css' media='all' />
    <link rel='stylesheet' id='colors-css' target='_blank' href='http://smartsontestpilot.se/wp-admin/css/colors-fresh.css?ver=20100610' type='text/css' media='all' />
    <!--[if lte IE 7]>
    <link rel='stylesheet' id='ie-css' target='_blank' href='http://smartsontestpilot.se/wp-admin/css/ie.css?ver=20100610' type='text/css' media='all' />
    <![endif]-->
    <script type="text/javascript">
    /* <![CDATA[ */
    function selectcb(thisobj,var1){
    var o = document.forms[thisobj].elements;
    if(o){
    for (i=0; i<o.length; i++){
    if (o[i].type == 'checkbox'){
    o[i].checked = var1;
    }
    }
    }
    }
    /* ]]> */
    </script>
    <script type='text/javascript' src='http://smartsontestpilot.se/wp-admin/load-scripts.php?c=1&load=jquery,utils&ver=0e4de088c1d51cff99f6e17399d2c995'></script>

    <script type='text/javascript' src='http://smartsontestpilot.se/wp-content/plugins/wp-stats-dashboard/resources/js/swfobject.js?ver=2.2'></script>

    <script type="text/javascript">
    jQuery(document).ready(function() { jQuery('#user_info').remove(); });
    </script>
    <script type="text/javascript" language="javascript">
    /* <![CDATA[ */

    function wpsd_load_stats() {
    wpsd_loading();
    jQuery("#wpsd-stats-ranking").load("http://smartsontestpilot.se/wp-content/plugins/wp-stats-dashboard/classes/ajax.php",
    function (responseText, textStatus, XMLHttpRequest) {
    wpsd_loaded();
    }
    );
    };

    function wpsd_load_stats_refresh() {
    wpsd_loading();
    jQuery("#wpsd-stats-ranking").html('');
    jQuery("#wpsd-stats-ranking").load("http://smartsontestpilot.se/wp-content/plugins/wp-stats-dashboard/classes/ajax.php?wpsd_update_cache=true",
    function (responseText, textStatus, XMLHttpRequest) {
    wpsd_loaded();
    }
    );
    };

    function wpsd_loading() {
    jQuery("#wpsd-loading").show();
    };

    function wpsd_loaded() {
    jQuery("#wpsd-loading").hide();

    //jQuery('#wpsd-trend-visualize').trigger('visualizeRefresh');
    };

    function wpsd_load_trend(type) {

    var data = {
    action: 'wpsd_load_trend',
    type: type
    };

    jQuery.post(ajaxurl, data, function(response) {
    jQuery('#wpsd_trend').html(response);
    });
    };

    function wpsd_load_clicks() {

    var data = {
    action: 'wpsd_load_clicks'
    };

    jQuery.post(ajaxurl, data, function(response) {
    jQuery('#wpsd_clicks_inner').html(response);
    });
    };

    function wpsd_load_postviews() {

    var data = {
    action: 'wpsd_load_postviews'
    };

    jQuery.post(ajaxurl, data, function(response) {
    jQuery('#wpsd_postviews_inner').html(response);
    });
    };

    function wpsd_load_referers() {

    var data = {
    action: 'wpsd_load_referers'
    };

    jQuery.post(ajaxurl, data, function(response) {
    jQuery('#wpsd_referers_inner').html(response);
    });
    };

    function wpsd_load_searchterms() {

    var data = {
    action: 'wpsd_load_searchterms'
    };

    jQuery.post(ajaxurl, data, function(response) {
    jQuery('#wpsd_searchterms_inner').html(response);
    });
    };

    function wpsd_load_compete() {

    var data = {
    action: 'wpsd_load_compete'
    };

    jQuery.post(ajaxurl, data, function(response) {
    jQuery('#wpsd_compete_inner').html(response);
    });
    };

    function wpsd_load_blogpulse() {

    var data = {
    action: 'wpsd_load_blogpulse'
    };

    jQuery.post(ajaxurl, data, function(response) {
    jQuery('#wpsd_blogpulse_inner').html(response);
    });
    };

    function wpsd_load_blogpulse_conv() {

    var data = {
    action: 'wpsd_load_blogpulse_conversations'
    };

    jQuery.post(ajaxurl, data, function(response) {
    jQuery('#wpsd_blogpulse_conversations_inner').html(response);
    });
    };

    function wpsd_load_rss() {

    var data = {
    action: 'wpsd_load_rss'
    };

    jQuery.post(ajaxurl, data, function(response) {
    jQuery('#dl_posts_inner').html(response);
    });
    };

    function wpsd_find_profile() {

    jQuery('#wpsd_profile_loading').show();

    var data = {
    action: 'wpsd_find_profile',
    name: jQuery('#profile-name').val()
    };

    jQuery.post(ajaxurl, data, function(response) {

    jQuery('#wpsd_profile_finder_content').html(response);

    jQuery('#wpsd_profile_btn_save').show();

    jQuery('#wpsd_profile_loading').hide();
    });
    };

    function wpsd_rpc_get_key() {

    var data = {
    action:'wpsd_rpc_get_key',
    username:jQuery('#txt_rpc_get_key_username').val(),
    password:jQuery('#txt_rpc_get_key_password').val()
    };

    jQuery.post(ajaxurl, data, function(response) {

    jQuery('#results_rpc_get_key').html(response);

    jQuery('#txt_rpc_get_stats_key').val(response);
    });
    };

    function wpsd_rpc_get_stats() {

    var data = {
    action:'wpsd_rpc_get_stats',
    key:jQuery('#txt_rpc_get_stats_key').val(),
    type:jQuery('#txt_rpc_get_stats_type').val()
    };

    jQuery.post(ajaxurl, data, function(response) {
    jQuery('#results_rpc_get_stats').html(response);
    });
    };

    jQuery(document).ready(function(){
    wpsd_load_stats();

    jQuery('#btn_wpsd_reload_2').click(function() {
    wpsd_load_stats_refresh();
    });

    jQuery('#btn_rpc_get_key').click(function() {
    wpsd_rpc_get_key();
    });

    jQuery('#btn_rpc_get_stats').click(function(){
    wpsd_rpc_get_stats();
    });

    wpsd_load_clicks();
    wpsd_load_postviews();
    wpsd_load_referers();
    wpsd_load_searchterms();
    wpsd_load_compete();
    //wpsd_load_rss();
    wpsd_load_blogpulse();
    wpsd_load_blogpulse_conv();
    });
    /* ]]> */
    </script>
    <style type="text/css">
    .sumdiv {
    width: 55%;
    margin: auto;
    border: 1px solid #eee;
    padding: 1%;
    }

    .sumdiv table {
    margin-bottom: 1em;
    border-bottom: 2px solid #ccc;
    padding-bottom: 1em;
    }

    .statsdiv table,.sumdiv table {
    width: 100%;
    }

    .statsdiv p {
    font-size: 12px;
    }

    #statsdash {
    font-size: 14px;
    }

    .statsdiv tr.alternate {
    background-color: #E6F0FF;
    }

    .statsdiv tr,.statsDay tr {
    height: 22px;
    }

    .statsDay th {
    text-align: left;
    border-bottom: 2px solid #ccc;
    }

    .statsdiv .label,.statsDay .label {
    padding-left: 8px;
    }

    .statsdiv .more {
    text-align: center;
    }

    .statsdiv .more a {
    border-bottom: none;
    }

    .selector {
    float: right;
    }
    </style>

    <style type="text/css">
    fieldset.wpsd {
    border: 1px solid #BBB;
    border-bottom-left-radius: 11px 11px;
    border-bottom-right-radius: 11px 11px;
    border-top-left-radius: 11px 11px;
    border-top-right-radius: 11px 11px;
    margin: 1em 0px;
    padding: 0px 1em 1em;
    }

    fieldset.wpsd legend {
    color: #999;
    font-weight: bold;
    padding: 0px 5px;
    }
    #side-sortables fieldset.wpsd {
    width:200px;
    }
    </style>

    <!-- daily views -->
    <script type="text/javascript">

    var wpsd_flashvars = {
    data: "../wp-content/plugins/wp-stats-dashboard/view/admin/graph.php"
    };
    var wpsd_params = {
    menu: "true",
    scale: "default",
    allowfullscreen: "false",
    allowscriptaccess: "never",
    wmode: "transparent",
    salign: "TL",
    quality: "high",
    play: "true"
    };
    var wpsd_attributes = {
    id: "my_wpsd_chart",
    name: "my_wpsd_chart"
    };

    swfobject.embedSWF("http://smartsontestpilot.se/wp-content/plugins/wp-stats-dashboard/resources/swf/open-flash-chart.swf", "wpsd_chart_container", "100%", "150", "9.0.0","expressInstall.swf", wpsd_flashvars, wpsd_params, wpsd_attributes);

    </script>

    <!-- trends -->
    <script type="text/javascript">

    var wpsd_flashvars_t = {
    data: "../wp-content/plugins/wp-stats-dashboard/view/admin/graph_trend.php"
    };
    var wpsd_params_t = {
    menu: "true",
    scale: "default",
    allowfullscreen: "false",
    allowscriptaccess: "always",
    wmode: "transparent",
    salign: "TL",
    quality: "high",
    play: "true"
    };
    var wpsd_attributes_t = {
    id: "my_wpsd_trend_chart",
    name: "my_wpsd_trend_chart"
    };

    swfobject.embedSWF("http://smartsontestpilot.se/wp-content/plugins/wp-stats-dashboard/resources/swf/open-flash-chart.swf", "wpsd_trend", "100%", "150", "9.0.0","expressInstall.swf", wpsd_flashvars_t, wpsd_params_t, wpsd_attributes_t);

    function wpsd_reload_trend(type) {

    //alert(type);
    tmp = findSWF("my_wpsd_trend_chart");

    // tmp.reload();
    tmp.reload("../wp-content/plugins/wp-stats-dashboard/view/admin/graph_trend.php?type="+type);
    }

    function findSWF(movieName) {
    if (navigator.appName.indexOf("Microsoft")!= -1) {
    return window["ie_" + movieName];
    } else {
    return document[movieName];
    }
    }

    </script><!-- Vipers Video Quicktags v6.3.0 | http://www.viper007bond.com/wordpress-plugins/vipers-video-quicktags/ -->
    <style type="text/css">
    .vvqbox { display: block; max-width: 100%; visibility: visible !important; margin: 10px auto; } .vvqbox img { max-width: 100%; height: 100%; } .vvqbox object { max-width: 100%; }
    </style>
    <script type="text/javascript">
    // <![CDATA[
    var vvqflashvars = {};
    var vvqparams = { wmode: "opaque", allowfullscreen: "true", allowscriptaccess: "always" };
    var vvqattributes = {};
    var vvqexpressinstall = "http://smartsontestpilot.se/wp-content/plugins/vipers-video-quicktags/resources/expressinstall.swf";
    // ]]>
    </script>
    <script type="text/javascript">
    jQuery(document).ready(function(){
    jQuery('#dashboard_right_now a.button').css('display','none');
    });
    </script>
    <link rel='stylesheet' target='_blank' href='http://smartsontestpilot.se/wp-content/plugins/ozh-admin-drop-down-menu/inc/adminmenu.css.php?p=%2Fwp-content%2Fplugins%2Fozh-admin-drop-down-menu%2Finc%2F&a=%2Fwp-admin%2F&i=1&w=1&m=0&c=0&h=0&f=1&g=%23676768&n=0&d=left' type='text/css' media='all' />
    <script type="text/javascript"><!--//--><![CDATA[//><!--
    var oam_toomanypluygins = 30;
    var oam_adminmenu = false;
    jQuery(document).ready(function() {
    // Do we need to init everything ?
    var ozhmenu_uselesslinks = jQuery('#user_info p').html();
    if (ozhmenu_uselesslinks) {
    oam_adminmenu = true;
    }
    })
    //--><!]]></script>
    <script src="http://smartsontestpilot.se/wp-content/plugins/ozh-admin-drop-down-menu/inc/js/adminmenu.js" type="text/javascript"></script></head>
    <body class="wp-admin no-js ms-admin_page_batch-create">

    <script type="text/javascript">
    //<![CDATA[
    (function(){
    var c = document.body.className;
    c = c.replace(/no-js/, 'js');
    document.body.className = c;
    })();
    //]]>
    </script>

    <div id="wpwrap">
    <div id="wpcontent">
    <div id="wphead">

    <img id="header-logo" src="http://smartsontestpilot.se/wp-includes/images/blank.gif" alt="" width="32" height="32" />
    <h1 id="site-heading" >

    <span id="site-title">Smartson Testpilot</span>

    </h1>

    <div id="wphead-info">
    <div id="user_info">
    <p>Hej, Martin Hellgren | Logga ut</p>
    </div>

    <div id="favorite-actions"><div id="favorite-first">Nytt inlägg</div><div id="favorite-toggle">
    </div><div id="favorite-inside"><div class='favorite-action'>Utkast</div>
    <div class='favorite-action'>Ny sida</div>

    <div class='favorite-action'>Ladda upp</div>
    <div class='favorite-action'>Kommentarer</div>
    <div class='favorite-action'>Empty Caches</div>
    </div></div>
    </div>
    </div>

    <div id="wpbody">

    <ul id="adminmenu">

    <li class="wp-first-item wp-has-submenu wp-has-current-submenu wp-menu-open menu-top menu-top-first menu-icon-site menu-top-first menu-top-last" id="menu-site">

    <div class='wp-menu-image'>
    </div><div class="wp-menu-toggle">
    </div>Superadmin
    <div class='wp-submenu'><div class='wp-submenu-head'>Superadmin</div>

    </div>

    <li class="wp-menu-separator">

    <li class="wp-has-submenu menu-top menu-icon-dashboard menu-top-first menu-top-last" id="menu-dashboard">
    <div class='wp-menu-image'>
    </div><div class="wp-menu-toggle">
    </div>Panel
    <div class='wp-submenu'><div class='wp-submenu-head'>Panel</div>

    </div>
    <li class="wp-menu-separator">

    <li class="wp-has-submenu open-if-no-js menu-top menu-icon-post menu-top-first" id="menu-posts">
    <div class='wp-menu-image'>
    </div><div class="wp-menu-toggle">
    </div>Inlägg
    <div class='wp-submenu'><div class='wp-submenu-head'>Inlägg</div>

    </div>
    <li class="wp-has-submenu menu-top menu-icon-media" id="menu-media">
    <div class='wp-menu-image'>
    </div><div class="wp-menu-toggle">
    </div>Media

    <div class='wp-submenu'><div class='wp-submenu-head'>Media</div>

    </div>
    <li class="wp-has-submenu menu-top menu-icon-links" id="menu-links">
    <div class='wp-menu-image'>
    </div><div class="wp-menu-toggle">
    </div>Länkar
    <div class='wp-submenu'><div class='wp-submenu-head'>Länkar</div> </div>
    <li class="wp-has-submenu menu-top menu-icon-page" id="menu-pages">

    <div class='wp-menu-image'>
    </div><div class="wp-menu-toggle">
    </div>Sidor
    <div class='wp-submenu'><div class='wp-submenu-head'>Sidor</div>

    </div>
    <li class="menu-top menu-icon-comments menu-top-last" id="menu-comments">
    <div class='wp-menu-image'>
    </div><div class="wp-menu-toggle">
    </div>Kommentarer <span id='awaiting-mod' class='count-0'><span class='pending-count'>0</span></span>
    <li class="wp-menu-separator">

    <li class="wp-has-submenu menu-top menu-icon-appearance menu-top-first" id="menu-appearance">

    <div class='wp-menu-image'>
    </div><div class="wp-menu-toggle">
    </div>Utseende
    <div class='wp-submenu'><div class='wp-submenu-head'>Utseende</div>

    </div>
    <li class="wp-has-submenu menu-top menu-icon-plugins" id="menu-plugins">
    <div class='wp-menu-image'>
    </div><div class="wp-menu-toggle">
    </div>Tillägg <span class='update-plugins count-8'><span class='plugin-count'>8</span></span>

    <div class='wp-submenu'><div class='wp-submenu-head'>Tillägg <span class='update-plugins count-8'><span class='plugin-count'>8</span></span></div>

    </div>
    <li class="wp-has-submenu menu-top menu-icon-users" id="menu-users">
    <div class='wp-menu-image'>
    </div><div class="wp-menu-toggle">
    </div>Användare
    <div class='wp-submenu'><div class='wp-submenu-head'>Användare</div> </div>

    <li class="wp-has-submenu menu-top menu-icon-tools" id="menu-tools">
    <div class='wp-menu-image'>
    </div><div class="wp-menu-toggle">
    </div>Verktyg
    <div class='wp-submenu'><div class='wp-submenu-head'>Verktyg</div>

    </div>

    <li class="wp-has-submenu menu-top menu-icon-settings menu-top-last" id="menu-settings">
    <div class='wp-menu-image'>
    </div><div class="wp-menu-toggle">
    </div>Inställningar
    <div class='wp-submenu'><div class='wp-submenu-head'>Inställningar</div>

    </div>

    <li class="wp-menu-separator-last">

    <li class="wp-has-submenu menu-top toplevel_page_w3tc_general menu-top-first" id="toplevel_page_w3tc_general"><div class='wp-menu-image'><img src="http://smartsontestpilot.se/wp-content/plugins/w3-total-cache/inc/images/logo_small.png" alt="" /></div><div class="wp-menu-toggle">
    </div>Performance
    <div class='wp-submenu'><div class='wp-submenu-head'>Performance</div>

    </div>

    <li class="wp-has-submenu menu-top toplevel_page_wp-stats-dashboard menu-top-last" id="toplevel_page_wp-stats-dashboard"><div class='wp-menu-image'><img src="http://smartsontestpilot.se/wp-content/plugins/wp-stats-dashboard/resources/images/stats-icon-16.png" alt="" /></div><div class="wp-menu-toggle">
    </div>WPSD
    <div class='wp-submenu'><div class='wp-submenu-head'>WPSD</div>

    </div>

    <div id="wpbody-content">
    <div id="screen-meta">
    <div id="contextual-help-wrap" class="hidden">
    </div>

    <div id="screen-meta-links">
    <div id="contextual-help-link-wrap" class="hide-if-no-js screen-meta-toggle">
    Hjälp
    </div>
    </div>
    </div>

    <style type="text/css">
    #oamsub_ozh_admin_menu a {background:url(http://smartsontestpilot.se/wp-content/plugins/ozh-admin-drop-down-menu/inc/images/ozh.png) center left no-repeat;}
    </style>
    <div id="ozhmenu_wrap"><ul id="ozhmenu"> <li class='ozhmenu_toplevel' id='oam_menu-site'><div class="wp-menu-image">
    </div><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Superadmin</span>

      <li class='toplevel_label'>Superadmin
      <li class='ozhmenu_sublevel ' id='oamsub_ms-admin'>Admin

      <li class='ozhmenu_sublevel ' id='oamsub_ms-sites'>Webbplatser
      <li class='ozhmenu_sublevel ' id='oamsub_ms-users'>Användare
      <li class='ozhmenu_sublevel ' id='oamsub_ms-themes'>Teman
      <li class='ozhmenu_sublevel ' id='oamsub_ms-options'>Inställningar
      <li class='ozhmenu_sublevel ' id='oamsub_ms-upgrade-network'>Uppdatera
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_admin-ads'>Admin Ads

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_admin-message'>Admin Message
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_batch-create'>Batch Create
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_blog_templates'>Blog Templates
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_global-header'>Global Header
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_login-image'>Login Image
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_wpmudev'>WPMU DEV 8

    <li class='ozhmenu_toplevel' id='oam_menu-dashboard'><div class="wp-menu-image">
    </div><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Panel</span>

      <li class='toplevel_label'>Panel
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_index'>Panel
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_my-sites'>Mina webbplatser
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_update-core'>Uppgraderingar 8
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_wpsd'>Dashboard Stats

    <li class='ozhmenu_toplevel' id='oam_menu-posts'><div class="wp-menu-image">
    </div><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Inlägg</span>

      <li class='toplevel_label'>Inlägg
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_edit'>Inlägg
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_post-new'>Skapa nytt
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_edit-tags_taxonomy_category'>Kategorier
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_edit-tags_taxonomy_post_tag'>Inläggsetiketter

    <li class='ozhmenu_toplevel' id='oam_menu-media'><div class="wp-menu-image">
    </div><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Media</span>

      <li class='toplevel_label'>Media
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_upload'>Bibliotek
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_media-new'>Lägg till
    <li class='ozhmenu_toplevel' id='oam_menu-links'><div class="wp-menu-image">
    </div><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Länkar</span>

      <li class='toplevel_label'>Länkar

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_link-manager'>Länkar
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_link-add'>Lägg till ny
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_edit-link-categories'>Länkkategorier

    <li class='ozhmenu_toplevel' id='oam_menu-pages'><div class="wp-menu-image">
    </div><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Sidor</span>

      <li class='toplevel_label'>Sidor
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_edit_post_type_page'>Sidor

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_post-new_post_type_page'>Skapa ny

    <li class='ozhmenu_toplevel' id='oam_menu-comments'><div class="wp-menu-image">
    </div><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Kommentarer <span id='awaiting-mod' class='count-0'><span class='pending-count'>0</span></span></span>
    <li class='ozhmenu_toplevel' id='oam_menu-appearance'><div class="wp-menu-image">
    </div><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Utseende</span>

      <li class='toplevel_label'>Utseende
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_themes'>Teman
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_widgets'>Widgets

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_nav-menus'>Menyer
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_custom-background'>Bakgrund
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_core_functions'>TheSource Theme Options
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_theme-editor'>Redigerare

    <li class='ozhmenu_toplevel' id='oam_menu-plugins'><div class="wp-menu-image">
    </div><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Tillägg <span class='update-plugins count-8'><span class='plugin-count'>8</span></span></span>

      <li class='toplevel_label'>Tillägg <span class='update-plugins count-8'><span class='plugin-count'>8</span></span>

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_plugins'>Tillägg
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_plugin-install'>Lägg till nytt
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_plugin-editor'>Redigerare
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_wp-spamfree_wp-spamfree'>WP-SpamFree

    <li class='ozhmenu_toplevel' id='oam_menu-users'><div class="wp-menu-image">
    </div><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Användare</span>

      <li class='toplevel_label'>Användare

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_users'>Användare
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_user-new'>Lägg till ny
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_profile'>Din profil
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_add-new-users'>Add New Users
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_ameta-list_ulist_1'>Users: Details
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_ameta-list_ulist_2'>Users: Member status and dates

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_ameta-list_ulist_3'>Users: Post and Comment Counts
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_user-role-editor'>User Role Editor
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_allow-multiple-accounts_allow-multiple-accounts'>Multiple Accounts

    <li class='ozhmenu_toplevel' id='oam_menu-tools'><div class="wp-menu-image">
    </div><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Verktyg</span>

      <li class='toplevel_label'>Verktyg
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_tools'>Verktyg

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_import'>Importera
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_export'>Exportera
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_network'>Nätverk
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_batch-cat_admin'>Batch Cat
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_codestyling-localization_codestyling-localization'>Localization
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_simple-import-users_simple-import-users'>Import Users

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_wp-phpmyadmin_wp-phpmyadmin'>phpMyAdmin
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_wp-table-reloaded'>WP-Table Reloaded
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_search-and-replace_search-and-replace'>Search & Replace
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_regenerate-thumbnails'>Regen. Thumbnails

    <li class='ozhmenu_toplevel' id='oam_menu-settings'><div class="wp-menu-image">
    </div><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Inställningar</span>

      <li class='toplevel_label'>Inställningar
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_options-general'>Allmänt
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_options-writing'>Skriva
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_options-reading'>Läsa
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_options-discussion'>Diskussion
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_options-media'>Media

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_options-privacy'>Skydd
      <li class='ozhmenu_sublevel ' id='oamsub_ozh_admin_menu'>Admin Menu
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_google-analytics'>Google Analytics
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_adminimize_adminimize'> Adminimize
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_ameta-admin'>User Lists Settings
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_batch-cat_admin'>Batch Cat Settings

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_change-wp-mail-from-details_change-mail-from'>Change Email Details
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_graphical-statistics-report_graphical-statistics-report'>Graphical Statistics
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_JF3_Maint_Redirect'>JF3 Maint Redirect
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_multi-site-site-list-shortcode_Options'>Mult-site Site List
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_parseshortcode-options'>Parse Shortcodes Options
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_screenstepslive_screenstepslive'>ScreenSteps Live

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_wp-about-author_wp-about-author-admin'>WP About Author
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_wp-spamfree_wp-spamfree'>WP-SpamFree
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_better-rss-widget-settings'>Better RSS Widget
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_vipers-video-quicktags'>Video Quicktags
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_wp-engine-snapshot_admin'>WPEngine Snapshot
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_wpengine-common_admin'>WPEngine System

    <li class='ozhmenu_toplevel' id='oam_toplevel_page_w3tc_general'><img class="wp-menu-image" src="http://smartsontestpilot.se/wp-content/plugins/w3-total-cache/inc/images/logo_small.png" alt="" /><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>Performance</span>

      <li class='toplevel_label'>Performance
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_w3tc_general'>General Settings
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_w3tc_pgcache'>Page Cache
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_w3tc_minify'>Minify
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_w3tc_dbcache'>Database Cache

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_w3tc_objectcache'>Object Cache
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_w3tc_browsercache'>Browser Cache
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_w3tc_mobile'>User Agent Groups
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_w3tc_cdn'>CDN
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_w3tc_faq'>FAQ
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_w3tc_support'>Support

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_w3tc_install'>Install
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_w3tc_about'>About

    <li class='ozhmenu_toplevel' id='oam_toplevel_page_wp-stats-dashboard'><img class="wp-menu-image" src="http://smartsontestpilot.se/wp-content/plugins/wp-stats-dashboard/resources/images/stats-icon-16.png" alt="" /><span class='compact' style='display:none'> </span><span class='full' style='display:inline'>WPSD</span>

      <li class='toplevel_label'>WPSD
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_wp-stats-dashboard'>Inställningar
      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_wpsd_profile_finder'>Profile finder

      <li class='ozhmenu_sublevel oam_plugin' id='oamsub_wpsd_export'>Exportera

    </div><div class="update-nag">WPMU DEV updates are available: These may be critical for the security or performance of this site so please review your available updates today » <small>Dismiss</small></div> <div id="message" class="updated"><p><span style="font-size: 15pt;">Välkommen till Smartsons Testpilotsblogg. Börja med att läsa vår <span style="font-weight: bold; font-size: 15pt;">guide</span> (öppnas i nytt fönster/flik) hur du skall göra för att komma igång med bloggandet.</span></p></div>
    <div class="error default-password-nag"><p>Notice: The latest version of the Gravatar Signup Encouragement plugin has new options. Default settings have been configured for these options. Would you like to review and update these new options?</p><p>Yes (edit Gravatar Signup Encouragement settings) | No (use pre-configured default settings)</p></div><div id="message" class="updated fade"><p>Items added to queue.</p></div><div class="wrap"><h2>Batch Create</h2>

    <form action="?page=batch-create&action=process" method="post" enctype="multipart/form-data">
    <p>Use the form below to upload a .csv or a .xls file.</p>
    <p>Download sample files: .csv, .xls.</p>
    <p>

    <input type="file" name="csv_file" id="csv_file" size="20" />
    <input type="hidden" name="max_file_size" value="100000" />
    <input type="hidden" name="_wp_http_referer" value="/wp-admin/ms-admin.php?page=batch-create&updatedmsg=Items+added+to+queue.&updated=true" />
    </p>
    <p class="submit">
    <input name="Submit" value="Upload »" type="submit" />
    </p>
    </form>

    <h3>Detailed Instructions</h3> <h4>BLOG_NAME,BLOG_TITLE,USER_NAME,USER_PASS,USER_EMAIL,USER_ROLE</h4> <p><b>BLOG_NAME</b> = The name of the blog you want created or the user added to (if that blog already exists). If you do not want the user to have a blog, please set this to 'null' without the quotation marks. No spaces allowed. This will be part of the URL for the blog (ex. blog_name.myblogs.org or myblogs.org/blog_name).</p> <p><b>BLOG_TITLE</b> = The title of the blog. This can be changed later.</p> <p><b>USER_NAME</b> = The login or username of the user. No spaces allowed. This can't be changed later.</p> <p><b>USER_PASS</b> = If you would like a password auto-generated please set this to 'null' without the quotation marks. No spaces allowed. The user will get an email with the password.</p> <p><b>USER_EMAIL</b> = You must provide a valid email for each user.</p> <p><b>USER_ROLE</b> = The user role (when the user is added to an existing blog). Set to subscriber, contributor, author, editor, or administrator.</p> <h4>Examples:</h4> <p><b>User with blog and preset password:</b>
    demoblogname1,Demo Blog Title 1,username1,userpass1, useremail@domain.com,administrator</p> <p><b>User with blog and auto-generated password with default role of editor:</b>
    demoblogname2,Demo Blog Title 2,username2,null,useremail2@domain.com,editor</p> <p><b>User without blog</b>:
    null,null,username3,userpass3,useremail3@domain.com,null</p> <p><b>User added to existing blog as an author:</b>
    demoblogname4,null,username4,userpass4,useremail4@domain.com,author</p> <p><b>Together in a file these would look like:</b>
    demoblogname1,Demo Blog Title 1,username1,userpass1,useremail@domain.com,administrator
    demoblogname2,Demo Blog Title 2,username2,null,useremail2@domain.com,editor
    null,null,username3,userpass3,useremail3@domain.com,null
    demoblogname4,null,username4,userpass4,useremail4@domain.com,editor</p> <h4>Please Note:</h4> <p>Spam filters, especially strict ones for institutional email addresses, may well block username and login information from reaching users.

    In this case you should either try to use free webmail accounts that won't block the emails (such as gmail.com, hotmail.com or mail.yahoo.com) or preset passwords.

    If your users do not have email accounts you can still set them up using a gmail.com address and adding a number for each different user. For example: myname+1@gmail.com, myname+2@gmail.com, myname+3@gmail.com

    The system will treat each of these as a separate email account but they will all arrive at myname@gmail.com.</p></div>

    <div class="clear"></div></div><!-- wpbody-content -->
    <div class="clear"></div></div><!-- wpbody -->
    <div class="clear"></div></div><!-- wpcontent -->
    </div><!-- wpwrap -->

    <div id="footer">
    <p id="footer-left" class="alignleft">Thank you for using Admin Drop Down Menu, a wonderful plugin by Ozh
    </p>
    <p id="footer-upgrade" class="alignright">Hämta Version 3.0.4</p>
    <div class="clear"></div>
    </div>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>

    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-11856908-3");
    pageTracker._initData();
    pageTracker._trackPageview();
    </script>
    <p>Welcome to Awesome WordPress Hosting!</p><script type='text/javascript'>
    /* <![CDATA[ */
    var commonL10n = {
    warnDelete: "You are about to permanently delete the selected items.\n \'Cancel\' to stop, \'OK\' to delete."
    };
    try{convertEntities(commonL10n);}catch(e){};
    /* ]]> */
    </script>
    <script type='text/javascript' src='http://smartsontestpilot.se/wp-admin/load-scripts.php?c=1&load=hoverIntent,common,jquery-color&ver=8d4336116da1b3c12fcc9cfa3493d4f5'></script>

    <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
    </body>
    </html>

  • Smartson
    • Design Lord, Child of Thor

    Hi

    I removed the table manually from the database and did a reinstall and now it works :slight_smile:

    There is however a specific issue that causes us a lot of problem.

    We import a lot of users. When importing we set the user namn to their e-mail adress.

    If the user change her e-mailadress on the profile page and we try to import her again (this we happen all the time due to the fact when making och new import we don´t know how has been imported before) the import process hangs.

    So if the import file is martinwed@smartson.se,martinwed@smartson.se

    and my profile is martinwed@smartson.se,martinwed@hotmail.com

    the import process stops.

    Is this someting you can fix and would be possible to add function in the future where you can export the queue so it will be easy to see which import post that causes the problem.

    Also perhaps a possible solution for us is to disable users to change their e-mail on the profile page, any suggestions of plug-ins or hacks that provides this function.

  • alberti
    • Site Builder, Child of Zeus

    Ulrich,

    Plugin installed properly, I'm using your excel template, and it works... except I have a strange glitch.

    In the excel file, I put the name of the domain: sub1.domain1.com. However, here is what batch create makes for me: sub1.domain1.multisiteroot.com

    In other words it puts the whole domain string in front of the main install domain, creating a sub-sub-sub domain, which is not what I desire.

    I have 100s of root domains and 100s of subdomains. How do I use batch create properly?

    Thanks!

  • Ulrich
    • The Crimson Coder

    @Smartson

    Is this someting you can fix and would be possible to add function in the future where you can export the queue so it will be easy to see which import post that causes the problem.

    The import process stops because the username already exists. You can view the latest entry processed in the log 'wp-content/uploads/batch-create/batch_create.log'.
    I think it would be nice if the process continues instead of stoping and the error was just logged. I will consider improving that in a future version.

    @alberti
    I replied here https://premium.wpmudev.org/forums/topic/batch-create-multiple-root-domains

  • Smartson
    • Design Lord, Child of Thor

    Hi

    The plugin works fine, execept one thing. I am trying to add a user to an existing blog http://smartsontestpilot.se/gooh/ using the enclosed file, but it won't work

    2011-02-28 14:51:11 - User: hellgrenmartin@hotmail.com created!
    2011-02-28 14:51:11 - Unable to add user hellgrenmartin@hotmail.com to blog smartsontestpilot.se/gooh/

    I also wonder if it is possible to disable the welcome mail when a new user is added, since I want to send that from another system.

    Regards

    martin

  • JohnLibonati
    • Flash Drive

    I am having the same issue as Lukebream et al. concerning...

    I cannot get Batch Create to work. I installed from the Batch Create download page.

    I get the success message "Items added to queue."

    But I do not see on the screen the message to action the blog set up.

    Refer to Lukebream's screenshot above.

    I am running WP 3.1.2

    I am not a programmer, so please put answers in layman's terms and include all steps necessary to add files or whatever this fix seems to take.

    Please advise. Thanks.

    -John

  • Kruzen
    • The Incredible Code Injector

    Hey there,

    What would it take to add adding categories to the batch create spreadsheet?

    So you could create a site with default categories for each?

    So say I had one subsite about hot dogs and I wanted to create 5 categories of hot dogs and another subsite about beef and I wanted 5 categories of beef.

    Hot Dogs, categories: kilbasa, pork sausage, turkey, kosher, etc
    Beef, categories: whatever, whatever, whatever.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.