![]() |
About setting up an account system to MyBB Forum - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: About setting up an account system to MyBB Forum (/Thread-About-setting-up-an-account-system-to-MyBB-Forum) |
About setting up an account system to MyBB Forum - serveradmin - 09-22-2017 02:40 AM I want to set an auto account system which will create in-game accounts according to the registeration on my "Mybb" forums. Shortly, forum accounts will create in-game accounts. Is there a way to do that? I guess there is.. I've a little knowledge about mysql so that iff you can clearly explain it to me I'll be grateful. Best wishes RE: About setting up an account system to MyBB Forum - Coruja - 09-22-2017 04:51 AM the basic behavior to create the account can be easily done, but maybe an complete engine to sync perfectly every single data will be a hard task even for expert developers basically you will need to do all these checks: - setup sphere SQL to connect on this same SQL server - edit your MyBB account database to add an new entry like "account_is_created_ingame" = true/false, using "false" as default value - create an function on sphere that will run at every X minutes, to connect on SQL and search login/password of accounts with "account_is_created_ingame = false" - if the search return an value, create these accounts using the login/password from SQL and change the SQL entry to "account_is_created_ingame = true" with this code sphere will created the account when the MyBB account got created. But now the hard task is create more functions to sync the data of both accounts: - ingame account must be deleted when forum account got deleted - forum account must be deleted when ingame account got deleted - ingame password must be changed when forum password got changed - forum password must be changed when ingame password got changed - etc RE: About setting up an account system to MyBB Forum - Leonidas - 09-22-2017 09:47 AM I barely knew any mysql and got mine working, check out this page: https://forum.spherecommunity.net/Thread-Auto-account-PHP-web?highlight=f_acc_update |