MyBB Community Forums

Full Version: Java Registration Plugin Questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So, I want to restrict registration to registration with my Java Code. I was thinking about just closing down registry on the MyBB forum, and then just using Java to go into the MySQL database and and entries. But I was wondering if there was any better way to do this?
(2015-02-28, 08:03 PM)AGrimReaper Wrote: [ -> ]But I was wondering if there was any better way to do this?

No. Not sure what you're trying to improve though.
(2015-02-28, 08:36 PM)Destroy666 Wrote: [ -> ]
(2015-02-28, 08:03 PM)AGrimReaper Wrote: [ -> ]But I was wondering if there was any better way to do this?

No. Not sure what you're trying to improve though.

Alright. How should I generate the SALT and is it regular MD5 hashing of the password? Plus what fields do I need to put into the database to emulate the ./member.php?action=register
Answer to every question is in the user datahandler:
https://github.com/mybb/mybb/blob/featur....php#L1014
and in the functions it calls. If you want to completely emulate registration, you'd have to basically copy everything from it and convert it to Java.

But if you only need the basic fields, here's an example: http://community.mybb.com/thread-164422-...pid1128184

Moving to Third Party Integration since it's more suitable there.
(2015-02-28, 09:25 PM)Destroy666 Wrote: [ -> ]Answer to every question is in the user datahandler:
https://github.com/mybb/mybb/blob/featur....php#L1014
If you want to completely emulate registration, you'd have to basically copy everythinging from it and convert it to Java.

But if you only need the basic fields, here's an example: http://community.mybb.com/thread-164422-...pid1128184

Holy crap, I think that's everything that I needed. Thanks! I'll post more here the more I find out. I think instead of DataBase Entry Addition, I need to just create a PHP API for Java to use to be able to create a user.