MyBB Community Forums

Full Version: Outside Registration Script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.

I have a website that uses MyBB, but isn't directly connected to it (doesn't share the theme, any users or anything alike). What I am trying to do is to make a registration script that will register a user on both my site and the forum. So I have the 2 scripts but I want to combine them. Does anybody know where MyBB has it's registration script? Or better, does anybody know which tables MyBB adds data to when a user registers? The only one I could think of is mybb_users Big Grin which is obvious...

Thanks.
I suggest taking a look at inc/datahandlers/user.php, in particular the insert_user function. That should show you everything MyBB does when adding a user.
Yup thanks. I used the function directly like shown in the member.php file. Thank you very much... by the way, I love your plugins Wink