Info
- 4 posts
- 2 voices
- Started 2 years ago by ggwarpig
- Latest reply from Adam Harley
How do I create user records?
-
- Posted 2 years ago #
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!
-
- Posted 2 years ago #
Why not just use bbPress native functions and adapt code? :)
-
- Posted 2 years ago #
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? -
- Posted 2 years ago #
Read through
register.phpin bbPress' base directory and functionbb_new_userunderfunctions.bb-pluggable.phpin 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.
-
You must log in to post.