The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
importing users (clean passwords)
Hi there,
I want to import users from system X into vbulletin. The passwords of the users are not encrypted. So how can I encrypt the passwords so that they are in the format of vbulletin ?? greetings, alex |
#2
|
|||
|
|||
What is System X?
Do you only want to import users? How are the users stored in System X? |
#3
|
||||
|
||||
Do you know PHP? If you do, loop each password until you have them encrypted, in the form of md5(md5($password . $salt)).
|
#4
|
|||
|
|||
Well yeah,
System X is just any kind of system with clean passwords. I imported users now this way: PHP Code:
The users can log in without any problems But there's one thing I noticed... the post count doesn't get increased !?? Also, the overall amount of user doesn't gets displayed in the stats... but I can see all users in the 'user overview'. Bye, Alex |
#5
|
|||
|
|||
Unless there is no other option, you should not do this by inserting rows into the user table manually.
Creating a new user requires more tehn only a row in the user table. If it is a 1 time action, use ImpEx, probably using the CSV file import option. Otherwise use the vBulletin DataManagers to create the account. |
#6
|
|||
|
|||
Well...yeah... but how do I use the datamange to create user accounts ??
|
#7
|
|||
|
|||
See our Articles section.
|
#8
|
|||
|
|||
thanx a lot !
But I've run into the problem, that $vbulletin is null.. therefore I can't import the users. Look at this: https://vborg.vbsupport.ru/showthread.php?t=143583 |
#9
|
|||
|
|||
See the other thread you started on this.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|