2021-05-16, 10:11 PM
2021-05-16, 11:17 PM
Quote:Can I use a special database?
mydatabase = > users
password method: md5(real password + salt)
What???
Do you want to adapt any users from an existing database into MyBB?
[ExiTuS]
2021-05-16, 11:53 PM
(2021-05-16, 11:17 PM)[ExiTuS] Wrote: [ -> ]Quote:Can I use a special database?What???
Do you want to adapt any users from an existing database into MyBB?
[ExiTuS]
Why not?
2021-05-18, 10:36 PM
No reply :/
2021-05-19, 06:53 PM
I see at least five difficulties to this possibility:
- MyBB uses a different password hashing method than the one you cite for the table you want to use. You could get around this with a plugin that hooked in to MyBB's
create_password
hook.
- MyBB (probably - I don't speak the language used in the image you shared) uses a different table name for its
users
table. You could get around this by renaming the table you want to use to be compatible with MyBB's table naming (if possible) or by making changes to core code (probably way too many for this approach to be viable).
- MyBB's table has more columns than the table you want to use has. You could get around this by adding those missing columns to the table you want to use, and then having whichever application shares the table update those columns appropriately.
- MyBB's table uses different names for columns in your table with the same meaning - e.g., your table uses
joindate
whereas MyBB'susers
table usesregdate
for the semantically equivalent column. You could probably only handle this problem by making changes to MyBB's core code.
- MyBB has no knowledge of many of the columns in the table you want to use, so it would not be able to provide values for them by default. I haven't checked to be sure but I suspect that you might be able to handle this problem with a plugin that hooked in to various core MyBB hooks, but potentially this would include changes to MyBB's core code.