Author Topic: Display logged account  (Read 37613 times)

Offline amorino

  • Newbie
  • *
  • Posts: 8
Re: Display logged account
« Reply #30 on: February 16, 2008, 05:29:26 PM »
Hello guys,
This hack works fine with RC2?

Thank you a lot

Offline amorino

  • Newbie
  • *
  • Posts: 8
Re: Display logged account
« Reply #31 on: February 16, 2008, 08:39:45 PM »
I try it with RC2 but it does'nt work :(

Any help please?

Thank you

Offline amorino

  • Newbie
  • *
  • Posts: 8
Re: Display logged account
« Reply #32 on: February 19, 2008, 12:57:13 PM »
Please any idea my freinds?

Offline Scubes13

  • Jr. Member
  • **
  • Posts: 48
Display logged account
« Reply #33 on: March 02, 2009, 01:54:34 AM »
Anyone have any idea how to make this work in roundcube 0.2-stable?

Thanks.

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Display logged account
« Reply #34 on: March 02, 2009, 03:42:58 AM »
In the 0.2-stable version you can use the following by default:

email of selected identity
loginname
imap server
« Last Edit: March 02, 2009, 03:57:23 AM by Julius Caesar »
Julius Caesar

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

Offline zamri

  • Jr. Member
  • **
  • Posts: 16
Display logged account
« Reply #35 on: March 11, 2009, 07:40:27 AM »
Julius,

where to put that codes?

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Display logged account
« Reply #36 on: March 11, 2009, 07:48:02 AM »
Quote from: zamri;17604
where 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
Code: [Select]
<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

Offline zamri

  • Jr. Member
  • **
  • Posts: 16
Display logged account
« Reply #37 on: March 11, 2009, 10:37:59 AM »
I want to put username (mail address) alongside taksbar. What file(s) to edit?

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Display logged account
« Reply #38 on: March 11, 2009, 11:06:03 AM »
Quote from: zamri;17637
I 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.:

Code: [Select]
<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

Offline rcubefan

  • Newbie
  • *
  • Posts: 3
Display logged account
« Reply #39 on: August 11, 2011, 10:46:47 PM »
Quote from: Julius Caesar;17409
In 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?

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Display logged account
« Reply #40 on: August 12, 2011, 04:22:22 AM »
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

Offline rcubefan

  • Newbie
  • *
  • Posts: 3
Display logged account
« Reply #41 on: August 12, 2011, 08:50:31 AM »
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.