• When using CUSTOM_USER_TABLE during initial setup it is easiest to: Setup your first instance of WordPress. The define statements of the wp-config.php on the first instance pointing to where you currently store user data wp_users by default, and then copying that working wp-config.php to your next instance which will only require you to change the $table_prefix = variable. At this point the install will run as expected; however, do not use an e-mail address that is already in use by your original install. Use a different e-mail address. Once you have finished the setup process log in with the auto generated admin account and password. Then promote your normal account to the administrator level. Log out of admin. Log in as yourself. Delete the admin account and promote the other user accounts as is needed.

    does anyone know the reason a unique email address is necessary?

    thanks

    -DJ

    • This topic was modified 5 years, 9 months ago by damelco.
    • This topic was modified 5 years, 9 months ago by damelco.
    • This topic was modified 5 years, 9 months ago by damelco.
    • This topic was modified 5 years, 9 months ago by damelco.
    • This topic was modified 5 years, 9 months ago by damelco.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    WP allows logins via email, so email and userid have to have an unambiguous relationship.

    Thread Starter damelco

    (@damelco)

    thanks for chiming in Steven … though I’m not really any clearer on the process.

    but let me ask this …

    I thought CUSTOM_USER_TABLE option was to allow sharing user data across two domains/sites/installs … right?

    if the email address needs to be different for each login … and, like you said it can be used to login … what purpose is left to the CUSTOM_USER_TABLE option if it does not allow the ability to use the same user login data for each site?

    I am truly confused?

    Besides … I would sound like a tard if I told my users, “yes you can use the same account and password for both sites … but you need to get a second email address” ???

    what on earth am I missing here?!

    -DJ

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You didn’t mention anything about sharing.

    There’s a discussion here: https://www.ads-software.com/support/article/installing-multiple-blogs/#multiple-databases-same-users

    Thread Starter damelco

    (@damelco)

    I was under the presumption that is the fundamental purpose of CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE … was to allow multiple WordPress installs to share a single database … correct?
    because if it has some other primary purpose, perhaps that is why the email address issue is so perplexing?

    -DJ

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp-config.php – CUSTOM_USER_TABLE’ is closed to new replies.