problem is fixed by Mystics @vbulletin-germany.com
http://www.vbulletin-germany.com/for...99&postcount=5
Announcement
Collapse
No announcement yet.
userfields from wbb 2.3.6 to vB
Collapse
X
-
I've created a new userfield "test" via admincp and changed the name of my custom field in bb3_userfields to field4 varchar(250)
Now my tables and code looks like this, but the database is still empty in all fields. Does someone have any idea?
source table: bb3_userfields
userid int(11)
field1 varchar(250)
field2 varchar(250)
field3 varchar(250)
field4 varchar(250)
target table: vb3_userfield
userid int(10)
temp mediumtext
field1 mediumtext
field2 mediumtext
field3 mediumtext
field4 mediumtext
field5 mediumtext
PHP Code:$user_fields = $this->get_wBB_user_fields($Db_target, $target_database_type,
$target_table_prefix, $user_id);
$try->add_default_value('Occupation',$user_fields[1]);
$try->add_default_value('Location',$user_fields[2]);
$try->add_default_value('Interests',$user_fields[3]);
$try->add_default_value('test',$user_fields[4]);
Leave a comment:
-
userfields from wbb 2.3.6 to vB
Hi
I've just done a migration from wbb 2.3.6 to vB 3.8.4 and I've recognized that my standard userfields are not migrated.
Is there a chance to get them migrated? Because I also have a custom userfield which is required in my new vb forum.
source table: bb3_userfields
userid int(11)
field1 varchar(250)
field2 varchar(250)
field3 varchar(250)
my_custom_userfield varchar(250)
target table: vb3_userfield
userid int(10)
temp mediumtext
field1 mediumtext
field2 mediumtext
field3 mediumtext
field4 mediumtext
my_custom_userfield mediumtext (or should this be set to varchar 250?)
I have identified file impex\upload\impex\systems\wBB\004.php for userimport and the following code.
PHP Code:// TODO: get them from the user fields
$user_fields = $this->get_wBB_user_fields($Db_target, $target_database_type,
$target_table_prefix, $user_id);
$try->add_default_value('Occupation', $user_fields[1]);
$try->add_default_value('Location', $user_fields[2]);
$try->add_default_value('Interests', $user_fields[3]);
thanks
BonemanTags: None
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Leave a comment: