--- common.inc 2004-12-28 12:04:14.000000000 +0100 +++ common.inc 2005-01-27 17:08:48.667292000 +0100 @@ -965,8 +965,8 @@ if ($object->uid && $object->name) { // Shorten the name when it is too long or it will break many tables. - if (strlen($object->name) > 20) { - $name = truncate_utf8($object->name, 15) .'...'; + if (strlen($object->name) > variable_get('user_name_crop', 10)) { + $name = truncate_utf8($object->name, variable_get('user_name_crop', 10) + 5) .'...'; } else { $name = $object->name;