Roundcube Community Forum

 

Display logged account

Started by darkcoder, July 13, 2006, 11:12:30 PM

Previous topic - Next topic

amorino

Hello guys,
This hack works fine with RC2?

Thank you a lot

amorino

I try it with RC2 but it does'nt work :(

Any help please?

Thank you

amorino


Scubes13

Anyone have any idea how to make this work in roundcube 0.2-stable?

Thanks.

Julius Caesar

#34
In the 0.2-stable version you can use the following by default:

email of selected identity
loginname
imap server
Julius Caesar

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

zamri

Julius,

where to put that codes?

Julius Caesar

Quote from: zamri;17604where to put that codes?

Depends on where you want to show it.

In theme Groupvice, I show it on top of the mailbox list:

From the mail.html
<div id=&quot;mailboxlist-container&quot;>
   <ul id=&quot;mailboxlistgw&quot;>
      <li id=&quot;rcmliID&quot; class=&quot;home even&quot;>
         <roundcube:object name=&quot;username&quot; />
      </li>
   </ul>
   <roundcube:object name=&quot;mailboxlist&quot; id=&quot;mailboxlist&quot; maxlength=&quot;30&quot; />
</div>


But you can add it also to the header.html

These files are located in the ../skins/ directory.
Julius Caesar

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

zamri

I want to put username (mail address) alongside taksbar. What file(s) to edit?

Julius Caesar

Quote from: zamri;17637I want to put username (mail address) alongside taksbar. What file(s) to edit?

If you use the default skin it should be the file ./skins/default/includes/taskbar.html:

I.E.:

<div id=&quot;taskbar&quot;>
  [B]<roundcube:object name=&quot;username&quot; />&nbsp;[/B]
  <roundcube:button command=&quot;mail&quot; label=&quot;mail&quot; class=&quot;button-mail&quot; />
  <roundcube:button command=&quot;addressbook&quot; label=&quot;addressbook&quot; class=&quot;button-addressbook&quot; />
  <roundcube:button command=&quot;settings&quot; label=&quot;settings&quot; class=&quot;button-settings&quot; />
  <roundcube:button command=&quot;logout&quot; label=&quot;logout&quot; class=&quot;button-logout&quot; />
</div>
Julius Caesar

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

rcubefan

Quote from: Julius Caesar;17409In the 0.2-stable version you can use the following by default:

email of selected identity

This object is displaying the loginname, not the email of the (default) identity. Is there a variable to snag the email address in the identity? So, for example, the loginname is johnh@logindomain, but the email in the identity is johnh@id-domain. How can I display johnh@id-domain?

Julius Caesar

The available list can be found here, but it does not include a loginname.
Julius Caesar

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

rcubefan

Thanks for that link, very useful. But there seem to be no variables to pull the email address or name from the primary identity.

The loginname gives you the email address with which the user is logged in, not the email address stored with the identity.