Support » Fixing WordPress » Multiple Blogs with the Same User table and WordPress 3.7

  • As the title suggests, I’m trying to set up multiple blogs on a site, where if you register for one, you register for them all, and according to the Codex, if I use the following code: `define( ‘CUSTOM_USER_TABLE’, ‘news_users’ );
    define( ‘CUSTOM_USER_META_TABLE’, ‘news_usermeta’ );`

    on all subsequent blogs after setting up the first one, it should allow me to carry over all the users, correct? However, when I put that into the config files for the WordPress blogs and try to install them, I keep getting an error that says “Please provide a valid username”.

    Except that the valid username field is nonexistent (it’s literally a text line that says “User(s) already exists.” So…how do I set this up? Am I missing a crucial step somewhere or was this feature phased out in preference to using a MU install of WordPress?

Viewing 4 replies - 1 through 4 (of 4 total)
  • ditto, having the same issue too.

    they need to update the docs,

    until the dev can figured out the solution for this issue, here’s some not recommended ugly workaround.

    1. Place anywhere inside wp-config.php

    $_POST['user_name'] = 'admin';

    2. Then restart your WP installation.
    3. After the installation has completed, u will need to removed the variables ($_POST['user_name'] = 'admin';).

    I also read somewhere that they updated the define statements to

    define( 'CUSTOM_USER_TABLE', $table_prefix.'my_users' );
    define( 'CUSTOM_USERMETA_TABLE', $table_prefix.'my_usermeta' );

    from the original (note the lacking underscore between USERMETA) is this still true or no?

    I’m not sure if there is any changes with the custom constant. They should really try to fixed the orphan role issue for multisite using the same user meta table.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multiple Blogs with the Same User table and WordPress 3.7’ is closed to new replies.