Author Topic: user identity with welcome message  (Read 4354 times)

Offline stefanb

  • Newbie
  • *
  • Posts: 3
user identity with welcome message
« on: March 13, 2008, 10:50:18 AM »
 :) Hi, I'm newby about RoundCube but I love it from the first moment. It's very light and very ... web2!!
Ok, ok!! :D
I'm not a web programmer, but I like to see on the main page, after the login (like Yahoo or Gmail) my username.
I explained how to do this (in italian) on my site: http://banu.it/blog/?p=21
And here you get a sample screenshot: http://banu.it/blog/wp-content/gallery/articoli/welcome.jpg
So, I will try to explain it (again) in english. It's very simle.
Just for this, I have changed the header's default skin file “/skins/default/includes/header.html" with this code:
Code: [Select]
<table style=&quot;text-align: left; width: 100%;&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>
<tbody> <tr> <td style=&quot;height: 55px; width: 170px;&quot;>
<roundcube:button command=&quot;mail&quot; image=&quot;/images/roundcube_logo.png&quot; alt=&quot; RoundCube Webmail &quot; width=&quot;165&quot; height=&quot;55&quot; />
</div></td> <td><div>Welcome <span style=&quot;font-weight: bold;&quot;><roundcube:object name=&quot;username&quot; /></span>
</div></td> </tr> </tbody> </table> <roundcube:object name=&quot;message&quot; id=&quot;message&quot; />

Note: this hack it's working with the last version of Roundcube

Offline Rudy

  • Jr. Member
  • **
  • Posts: 17
Re: user identity with welcome message
« Reply #1 on: March 21, 2008, 08:39:51 AM »
Thank you, this is a really great little plugin! :)

Offline xaviertirado

  • Newbie
  • *
  • Posts: 2
Re: user identity with welcome message
« Reply #2 on: March 24, 2008, 11:51:44 PM »
nice arrange thx dude

Offline BandonRandon

  • Newbie
  • *
  • Posts: 6
just user first name
« Reply #3 on: February 07, 2009, 02:48:20 AM »
hello,

this is great but is there a way to grab the users first name from the database or roundcube: object something like:

Code: [Select]
<roundcube:object name=&quot;firstname&quot; /> Thanks,
Brandon
« Last Edit: February 07, 2009, 02:51:09 AM by BandonRandon »