Not Solved [Performance] how inject users from other database
#1
Not Solved
please can someone tell me how to inject users from another database.

Case: I have a mysql table with users to be registered in the forum.

This table contains, name, password, gender, email, date of birth.
** password (4 characters as minimum)

The records will be added via php (cron), and users will be set only as registered, to have access to the forum,
 other permissions will be updated by the forum administrator.


I would greatly appreciate if anyone can give me some guidance, or some script...

Ah.... and yes... i find a example or guindace in forum, but no result.

can anyone help? Or at least say that this is impossible, so look for another forum that allows you to do that.
Reply
#2
Not Solved
can anyone help? Or at least say that this is impossible, so look for another forum that allows you to do that.
Reply
#3
Not Solved
Passwords in salt? or, plain text?
Reply
#4
Not Solved
If passwords in your original table are hashed, the only way is to inject the users without password (or with an arbitrary one) and force them to ask for a new one
Tchat en français
Do not ask me help through PM or Discord

Reply
#5
Not Solved
All your user fileds mentioned are fine to be imported into a MyBB database.

If passwords are plaintext or md5-hashed, you are also okay to re-use them:
You need to manually generate a salt key and convert the passwords with the MyBB password routine to make them valid. This can simply be done within the database using an SQL statement (UPDATE).

[ETS]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)