![]() |
Impex User Import - import data into userfield table
I'm doing a user import using Impex's text import module. I'm trying to get Impex to import one of the columns in my CSV file into one of the columns in the 'userfield' table.
I used these threads as a reference. The vbulletin.com team refers you to other Impex modules which use code for custom imports. The syntax used may be different though because the impex versions are older and the modules are different. Also, they supply code for creating a custom field and filling it, whereas, I am simply filing in a field I already have, so I don't think I need the code to create a new field. http://www.vbulletin.com/forum/showthread.php?t=159437 http://www.vbulletin.com/forum/showthread.php?t=211656 So, I added the following line into my "txt_file/002.php" file - right before the line that says "// Check if user object is valid". Code:
$try->add_custom_value($userfield[$user_id]['field8'], trim($bits["$order_in_file[pet1]"])); Code:
username,password,email@email.com,1,2,blah Code:
var $_layout = array( Code:
($userfield[$user_id]['field8'] |
All times are GMT. The time now is 08:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|