The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
edited my first post again, and i tested it this time to check for errors,
it works sorry about those first errors, and the person with id 26 will be duplicated. |
#12
|
|||
|
|||
I have one other question... How would I modify this code one last time to give a value of "2" to the usergroupid fields-- This is so I don't have to manually give everybody permission later.. I think thats the right thing that needs changing? Is there anything else in the other fields that needs to be set in advance? I want to make sure I get this right now... I am migrating 7,000+ records.
Thanks Neil |
#13
|
|||
|
|||
PHP Code:
PHP Code:
|
#14
|
|||
|
|||
I don't seem to be having much luck with this. Now I get the following error:
Database error in vBulletin 2.2.1: Invalid SQL: INSERT INTO user (username, password, email, birthday,usergroupid) VALUES ('mike','efe6398127928f1b2e9ef3207fb82663','mike@n o.com', 1976-02-29), '2' mysql error: mysql error number: 0 Date: Wednesday 23rd of January 2002 12:42:40 PM Script: http://www.studentpilot.com/interact...forum/file.php Referer: Just to double check, this is exactly what the file looks like: PHP Code:
|
#15
|
|||
|
|||
I don't seem to be having a good coding day lol
try this PHP Code:
|
#16
|
|||
|
|||
Hmm... Well, that fixed the last problem... But now I have a new problem. Looking at the mysql database, one record is added with that code... Then it gets this message:
Database error in vBulletin 2.2.1: Invalid SQL: INSERT INTO userfield VALUES ('31','','','','') mysql error: mysql error number: 0 Date: Wednesday 23rd of January 2002 12:48:26 PM Script: http://www.studentpilot.com/interact...forum/file.php Referer: By the way, thanks for all of your help with this. I really appreciate it. Without your help I would be totally lost. Neil |
#17
|
|||
|
|||
how many custom fields have you created?
|
#18
|
|||
|
|||
There are five Custom Profile Fields:
Title Required Hidden Editable Maxlength Size Modify Total Time No No Yes 250 25 [edit] [remove] Ratings No No Yes 250 25 [edit] [remove] I Fly No No Yes 250 25 [edit] [remove] Location No No Yes 250 25 [edit] [remove] Occupation No No Yes 250 25 [edit] [remove Neil |
#19
|
|||
|
|||
I checked your register page, you have 5 custom fields according to that.
Use this version then PHP Code:
|
#20
|
|||
|
|||
IT worked!!! Imported 7,024 new users :-)
You saved me a ton of time and a headache -- thanks for all the help! NEil |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|