Roundcube Community Forum

Release Support => Release Discussion => Topic started by: naitro on August 27, 2009, 08:36:43 AM

Title: Display name
Post by: naitro on August 27, 2009, 08:36:43 AM
Hi,

Someone can tell me, from what parameter catch the app the "Display Name" that appear on "Sender" name ?

My Roundcube catch automatically the username (" username ") for the Display Name, and i want to the app select the Complet Name.

My application connec to local host, on a Courier IMAP server, that get data from a local LDAP server.

Thx & regards.
Title: Display name
Post by: Julius Caesar on August 27, 2009, 09:31:53 AM
Go to Personal Settings > Identities and modify the settings for the identitiy. By default the username is used for Display Name.
Title: Display name
Post by: naitro on August 28, 2009, 01:31:47 AM
Thx Julius Caesar .. but , there are not possible change the parameter on the code, manually, to get another Display Name ?

My webmail users, are not very friendly with the technology .. hehe

Regards.
Title: Display name
Post by: Julius Caesar on August 28, 2009, 05:07:09 AM
The display named is also stored in the mysql table "identities" in the column "name". Maybe you can create an sql query to update that information from another source.
Title: Display name
Post by: JohnDoh on August 28, 2009, 05:21:06 AM
check out version 0.3 with the plugin API, there is a plugin /trunk/roundcubemail/plugins/new_user_identity/new_user_identity.php ? RoundCube Webmail (http://trac.roundcube.net/browser/trunk/roundcubemail/plugins/new_user_identity/new_user_identity.php) which might do what your want or could be modded to do it.
Title: Display name
Post by: MadCoke on September 02, 2009, 12:26:09 AM
I'm not sure if it's the same thing that I'm looking for, I would like the users full name (first and surname) to show on the main page. I have managed to get the "username" but I can't find out how to get the "real" name.

/Dan
Title: Display name
Post by: Julius Caesar on September 02, 2009, 05:15:56 AM
Quote from: MadCoke;20888I'm not sure if it's the same thing that I'm looking for, I would like the users full name (first and surname) to show on the main page. I have managed to get the "username" but I can't find out how to get the "real" name.

/Dan

You can use the RC object: to display the named used in the the field "Display Name" from the identities.
Title: Display name
Post by: MadCoke on September 02, 2009, 07:08:51 AM
Quote from: Julius Caesar;20891You can use the RC object: to display the named used in the the field "Display Name" from the identities.
I already managed to do that but it shows the users login name ([email protected] not Test User). So I just want firstname and surname, is it possible?

/Dan
Title: Display name
Post by: Julius Caesar on September 02, 2009, 07:34:50 AM
Quote from: MadCoke;20893I already managed to do that but it shows the users login name ([email protected] not Test User). So I just want firstname and surname, is it possible?

Where are the first name and the surname stored?
Title: Display name
Post by: MadCoke on September 03, 2009, 12:08:44 AM
Quote from: Julius Caesar;20896Where are the first name and the surname stored?
I'm using a Leopard Server LDAP for the login and adressbook,if it's that you mean.
Title: Display name
Post by: Julius Caesar on September 03, 2009, 02:49:56 AM
Quote from: MadCoke;20905
Quote from: Julius CaesarWhere are the first name and the surname stored?
I'm using a Leopard Server LDAP for the login and adressbook,if it's that you mean.

Then you should be able to use the plugin mention by JohnDoh,  maybe with a few modifications to match your ldap server. With this plugin you can store the firstname and surname in the the field used by .

Please note that this plugin does not update existing users, just new users and this plugin is only available for version 0.3 of RoundCube (or higher).