thx glued2 for your reply.
i set work on my wb and added custom fields for user registration.
here is a small HowTo for others interested in adding custom fields:
1. open /account/signup_form.phpadd your desired colums to the form. most suitable copy whole <tr> tag, replace e.g. '<?php echo $TEXT['EMAIL']; ?>' with e.g. 'your phone number: ', and use name="phone" in the <input>-tag in this example.
2. open /account/signup2.phpgoto line 41: here after '$email = $admin->get_post('email');' add your fields with e.g.: '$phone = $admin->get_post('phone');'
goto line 46: there you must add queries like: if($phone == "") { admin->print_error("fehler", $js_back); }
goto line 106 (note: the line numbers will change if you add code

):
change:
$query = "INSERT INTO ".TABLE_PREFIX."users (group_id,active,username,password,display_name,email) VALUES ('$group_id', '$active', '$username','$md5_password','$display_name','$email')";
to e.g.
$query = "INSERT INTO ".TABLE_PREFIX."users (group_id,active,username,password,display_name,email,phone) VALUES ('$group_id', '$active', '$username','$md5_password','$display_name','$email','$phone')";
3. open /framework/class.login.phpgoto line 164 and add lines like '$_SESSION['PHONE'] = $results_array['phone'];' there.
4. open /framework/class.wb.phpgoto line 143 and add lines like:
// Get the current phone number
function get_user_phone() {
return $_SESSION['PHONE'];
}
5. open /account/preferences_form.phpgoto line 38, copy the whole <tr> tag, paste it below then modify the <input> tag to e.g.:
<input type="text" name="phone" style="width: 380px;" maxlength="255" value="<?php echo $admin->get_user_phone(); ?>" />
6. open /account/details.phpgoto 30 line, there add a line like: $phone= $admin->get_post('phone');
goto line 42 and add 'phone' = '$phone' to the $query
goto line 50 and add '$_SESSION['PHONE'] = $phone;'
7. open your phpMyAdminadd the required fields to your database in the table 'users' (i used varchar(255)) - in this example you must add the field 'phone'. sql-syntax: ALTER TABLE `users` ADD `phone` VARCHAR( 255 ) NOT NULL ;
note: i use wb 2.6.1 and i use the bugfix from this tread:
http://forum.websitebaker.org/index.php/topic,2030.0.html