MyBB Community Forums

Full Version: Password
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have an intranet that folks sign into. I want to be able to create a username/password to mybb the same as their intranet login. Can you direct me as to how I can add a user to the mybb database directly from my php based intranet? Thank you!
(2014-12-16, 09:25 AM)acidrain Wrote: [ -> ]here bro this can be usefull http://www.stevedawson.com/scripts/password-protect.php

Quote:Can you direct me as to how I can add a user to the mybb database directly from my php based intranet?



OP, take a look at the code in member.php for the data handler: https://github.com/mybb/mybb/blob/featur...r.php#L141
Thanx .. but not an answer to my question.

(2014-12-16, 09:25 AM)acidrain Wrote: [ -> ]here bro this can be usefull http://www.stevedawson.com/scripts/password-protect.php

Thanx but quite a bit more complex than what I am hoping for ...just need something really simple to provide the password encryption/hash so that we can do a simple insert. Since our bb won't be public we don't need all the verification, etc.

OP, take a look at the code in member.php for the data handler: https://github.com/mybb/mybb/blob/featur...r.php#L141
[/quote]