The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
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( 0 => 'NONE', 1 => 'username', 2 => 'id', 3 => 'email', 4 => 'password', 5 => 'lastactivity', 6 => 'lastvisit', 7 => 'ipaddress', 8 => 'pet1', Code:
($userfield[$user_id]['field8'] |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|