User email address display
5 answers - 683 bytes -

Hello
New to squirrelmail, I have searched but can't find what I am looking
for, so I thought I would try here.
I am wanting to have the currently logged in users email address
displayed somewhere in the panel so at a glance I can see what account
is being used. Currently it displays nothing about the user.
Is this possible, and if so, where would I find the information on how
this can be done?
Regards
Fred
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
No.1 | | 1384 bytes |
| 
3/27/07, Fred Zinsli <fred.zinsli (AT) shooter (DOT) co.nzwrote:
Hello
New to squirrelmail, I have searched but can't find what I am looking
for, so I thought I would try here.
I am wanting to have the currently logged in users email address
displayed somewhere in the panel so at a glance I can see what account
is being used. Currently it displays nothing about the user.
Is this possible, and if so, where would I find the information on how
this can be done?
1) From examples in the Login Manager (vlogin) plugin, you can do this
in the main config file:
$org_title = (isset($_SESSIN["username"]) ? $_SESSIN["username"] .
" - Mail" : "Mail");
Hrm, actually, this only appears to work if you use the vlogin plugin,
at least in 1.4.x. This is probably due to the relative positioning
of the plugin hook and when the session is set up.
2) Try one of the username plugins, but beware that they are a bit
dated by now and need some updating. I think at least one of them
requires an older version of the compatibility plugin (PLEASE
carefully research this on your own).
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
No.2 | | 2533 bytes |
| 
Tue, March 27, 2007 10:49, Paul Lesniewski said:
3/27/07, Fred Zinsli <fred.zinsli (AT) shooter (DOT) co.nzwrote:
>Hello
>>
>New to squirrelmail, I have searched but can't find what I am looking
>for, so I thought I would try here.
>>
>I am wanting to have the currently logged in users email address
>displayed somewhere in the panel so at a glance I can see what account
>is being used. Currently it displays nothing about the user.
>>
>Is this possible, and if so, where would I find the information on how
>this can be done?
>
1) From examples in the Login Manager (vlogin) plugin, you can do this
in the main config file:
$org_title = (isset($_SESSIN["username"]) ? $_SESSIN["username"] .
" - Mail" : "Mail");
Hrm, actually, this only appears to work if you use the vlogin plugin,
at least in 1.4.x. This is probably due to the relative positioning
of the plugin hook and when the session is set up.
2) Try one of the username plugins, but beware that they are a bit
dated by now and need some updating. I think at least one of them
requires an older version of the compatibility plugin (PLEASE
carefully research this on your own).
Urr. Running SM 1.4.4 (debian Sarge std release as security patched).
>From config.php
'csz.com' =array(
'org_name' ='CyberStrategies, Inc.'
,'org_logo' ='/images/site/cszSMlogo.png'
,'org_title' ='(isset($_SESSIN["username"]) ?
$_SESSIN["username"] . " - Mail" : "M
,'org_logo_width' ='239'
,'org_logo_height' ='100'
,'domain' ='csz.com'
,'imapServerAddress' ='localhost'
,'settingsWithEmbeddedPHP' =array(
'org_title',
'motd',
)
Where should the org_title appear. I'm not seeing it, but I've been known
to be blind.
William R. Mussatto, Senior Systems Engineer
http://www.csz.com
Ph. 909-920-9154 ext. 27
FAX. 909-608-7061
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
No.3 | | 2940 bytes |
| 
3/27/07, Wm Mussatto <mussatto (AT) csz (DOT) comwrote:
Tue, March 27, 2007 10:49, Paul Lesniewski said:
3/27/07, Fred Zinsli <fred.zinsli (AT) shooter (DOT) co.nzwrote:
>Hello
>>
>New to squirrelmail, I have searched but can't find what I am looking
>for, so I thought I would try here.
>>
>I am wanting to have the currently logged in users email address
>displayed somewhere in the panel so at a glance I can see what account
>is being used. Currently it displays nothing about the user.
>>
>Is this possible, and if so, where would I find the information on how
>this can be done?
>
1) From examples in the Login Manager (vlogin) plugin, you can do this
in the main config file:
$org_title = (isset($_SESSIN["username"]) ? $_SESSIN["username"] .
" - Mail" : "Mail");
Hrm, actually, this only appears to work if you use the vlogin plugin,
at least in 1.4.x. This is probably due to the relative positioning
of the plugin hook and when the session is set up.
2) Try one of the username plugins, but beware that they are a bit
dated by now and need some updating. I think at least one of them
requires an older version of the compatibility plugin (PLEASE
carefully research this on your own).
Urr. Running SM 1.4.4 (debian Sarge std release as security patched).
>
>From config.php
'csz.com' =array(
'org_name' ='CyberStrategies, Inc.'
,'org_logo' ='/images/site/cszSMlogo.png'
,'org_title' ='(isset($_SESSIN["username"]) ?
$_SESSIN["username"] . " - Mail" : "M
,'org_logo_width' ='239'
,'org_logo_height' ='100'
,'domain' ='csz.com'
,'imapServerAddress' ='localhost'
,'settingsWithEmbeddedPHP' =array(
'org_title',
'motd',
)
Where should the org_title appear. I'm not seeing it, but I've been known
to be blind.
Note that my suggestion was to try the code that I showed in the main
SM config file, but again, it doesn't appear to work unless done in a
plugin. Your question here is a Login Manager (vlogin) question. The
org_title is what goes in the actual browser window title bar. If
yours isn't working, make sure what you copied above is a
cut-and-paste error (it is truncated) and then try with
$useSessionBased and the multilogin patch.
-paul
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
No.4 | | 3581 bytes |
| 
Tue, March 27, 2007 11:19, Paul Lesniewski said:
3/27/07, Wm Mussatto <mussatto (AT) csz (DOT) comwrote:
>Tue, March 27, 2007 10:49, Paul Lesniewski said:
>3/27/07, Fred Zinsli <fred.zinsli (AT) shooter (DOT) co.nzwrote:
>>Hello
>>>
>>New to squirrelmail, I have searched but can't find what I am looking
>>for, so I thought I would try here.
>>>
>>I am wanting to have the currently logged in users email address
>>displayed somewhere in the panel so at a glance I can see what
>account
>>is being used. Currently it displays nothing about the user.
>>>
>>Is this possible, and if so, where would I find the information on
>how
>>this can be done?
>>
>1) From examples in the Login Manager (vlogin) plugin, you can do this
>in the main config file:
>>
>$org_title = (isset($_SESSIN["username"]) ? $_SESSIN["username"] .
>" - Mail" : "Mail");
>>
>Hrm, actually, this only appears to work if you use the vlogin plugin,
>at least in 1.4.x. This is probably due to the relative positioning
>of the plugin hook and when the session is set up.
>>
>
>>
>2) Try one of the username plugins, but beware that they are a bit
>dated by now and need some updating. I think at least one of them
>requires an older version of the compatibility plugin (PLEASE
>carefully research this on your own).
>>
>
>
>
>>
>Urr. Running SM 1.4.4 (debian Sarge std release as security patched).
>>
>>From config.php
>'csz.com' =array(
>'org_name' ='CyberStrategies, Inc.'
>,'org_logo' ='/images/site/cszSMlogo.png'
>,'org_title' ='(isset($_SESSIN["username"]) ?
>$_SESSIN["username"] . " - Mail" : "M
>,'org_logo_width' ='239'
>,'org_logo_height' ='100'
>,'domain' ='csz.com'
>,'imapServerAddress' ='localhost'
>,'settingsWithEmbeddedPHP' =array(
>'org_title',
>'motd',
>)
>>
>Where should the org_title appear. I'm not seeing it, but I've been
>known
>to be blind.
>
Note that my suggestion was to try the code that I showed in the main
SM config file, but again, it doesn't appear to work unless done in a
plugin. Your question here is a Login Manager (vlogin) question. The
org_title is what goes in the actual browser window title bar. If
yours isn't working, make sure what you copied above is a
cut-and-paste error (it is truncated) and then try with
$useSessionBased and the multilogin patch.
-paul
Thanks
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
No.5 | | 3787 bytes |
| 
Tue, March 27, 2007 11:19, Paul Lesniewski said:
3/27/07, Wm Mussatto <mussatto (AT) csz (DOT) comwrote:
>Tue, March 27, 2007 10:49, Paul Lesniewski said:
>3/27/07, Fred Zinsli <fred.zinsli (AT) shooter (DOT) co.nzwrote:
>>Hello
>>>
>>New to squirrelmail, I have searched but can't find what I am looking
>>for, so I thought I would try here.
>>>
>>I am wanting to have the currently logged in users email address
>>displayed somewhere in the panel so at a glance I can see what
>account
>>is being used. Currently it displays nothing about the user.
>>>
>>Is this possible, and if so, where would I find the information on
>how
>>this can be done?
>>
>1) From examples in the Login Manager (vlogin) plugin, you can do this
>in the main config file:
>>
>$org_title = (isset($_SESSIN["username"]) ? $_SESSIN["username"] .
>" - Mail" : "Mail");
>>
>Hrm, actually, this only appears to work if you use the vlogin plugin,
>at least in 1.4.x. This is probably due to the relative positioning
>of the plugin hook and when the session is set up.
>>
>
>>
>2) Try one of the username plugins, but beware that they are a bit
>dated by now and need some updating. I think at least one of them
>requires an older version of the compatibility plugin (PLEASE
>carefully research this on your own).
>>
>
>
>
>>
>Urr. Running SM 1.4.4 (debian Sarge std release as security patched).
>>
>>From config.php
>'csz.com' =array(
>'org_name' ='CyberStrategies, Inc.'
>,'org_logo' ='/images/site/cszSMlogo.png'
,'org_title' ='(isset($_SESSIN["username"]) ? $_SESSIN["username"]
" - Mail" : "Mail")'
>,'org_logo_width' ='239'
>,'org_logo_height' ='100'
>,'domain' ='csz.com'
>,'imapServerAddress' ='localhost'
>,'settingsWithEmbeddedPHP' =array(
>'org_title',
>'motd',
>)
>>
>Where should the org_title appear. I'm not seeing it, but I've been
>known
>to be blind.
>
Note that my suggestion was to try the code that I showed in the main
SM config file, but again, it doesn't appear to work unless done in a
plugin. Your question here is a Login Manager (vlogin) question. The
org_title is what goes in the actual browser window title bar. If
yours isn't working, make sure what you copied above is a
cut-and-paste error (it is truncated) and then try with
$useSessionBased and the multilogin patch.
-paul
you are right, the above untruncated version. (It still wrapps but at
least its all there)
Also version is 3.8.0-1.2.7
I'll download the current version and test.
Bill
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash