Roundcube Community Forum

 

Display name

Started by naitro, August 27, 2009, 08:36:43 AM

Previous topic - Next topic

naitro

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.

Julius Caesar

Go to Personal Settings > Identities and modify the settings for the identitiy. By default the username is used for Display Name.
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

naitro

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.

Julius Caesar

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.
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

JohnDoh

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 which might do what your want or could be modded to do it.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

MadCoke

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

Julius Caesar

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.
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

MadCoke

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 (testuser@test.com not Test User). So I just want firstname and surname, is it possible?

/Dan

Julius Caesar

Quote from: MadCoke;20893I already managed to do that but it shows the users login name (testuser@test.com not Test User). So I just want firstname and surname, is it possible?

Where are the first name and the surname stored?
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

MadCoke

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.

Julius Caesar

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).
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he