The MU forums have moved to WordPress.org

Inserting value 'meta' into wp_signups (2 posts)

  1. jamessketch
    Member
    Posted 16 years ago #

    Hello,

    Signinup process inserts into table wp_signups values into these fields:
    domain, path, title, user_login, user_email, registered, activation_key, meta

    I need to know how to 'create' the meta value so I can insert a user externaly straight to database.

    Thank you for any suggestions.
    James

  2. PhoenixRises
    Member
    Posted 16 years ago #

    From your post I'm assuming that both applications are running on the same server. If this is the case my suggestion is to use functions from WPMU, that way you know the new user is valid for WordPress and saves a lot of time.

    The functions you'll be looking for are "wpmu_create_user( $user_name, $password, $email)" and "update_usermeta( $user_id, $meta_key, $meta_value )"

    Hope that helps.

About this Topic

  • Started 16 years ago by jamessketch
  • Latest reply from PhoenixRises