Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do I create user records?


  • ggwarpig
    Participant

    @ggwarpig

    I run a service that has it’s own user data. I want my users to be able to login to bbpress using the same username/password that they use for my service. I figure ill just generate a user record in the bb_users table when someone signs up for my service. So…

    1) Besides adding the record to the bb_users table, is there anything else I need to do?

    2) How are the passwords encrypted?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Why not just use bbPress native functions and adapt code? :)


    ggwarpig
    Participant

    @ggwarpig

    I tried =( i cant even find bb_generate_password. Where is it!?

    If I do figure out how to encrypt the password correctly and add it to the user table am I going to run into any other issues?

    Read through register.php in bbPress’ base directory and function bb_new_user under functions.bb-pluggable.php in bb-includes to get an understanding of how normal registration works.

    Normally the user is given an auto-generated password, but the function used in the registration function will hash anything anyway.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar