[imp] Re: Horde/IMP Login

Fernando Seijas webmaster at slke.org
Mon Dec 2 20:35:12 2002


Hello,

ED, THANKS A LOT FOR YOUR WONDERFULL SOLUTION!!!!!
It is working perfectly! Now, our clients will have an easy way to login.

Just a question. A design question.
Now the clients see their name server. It is right, but the screen position 
Welcome Phrase:
"Welcome to SLKE Webmail" is changed to:
"Welcome to SLKE
Webmail"

Is there any posibility to customizer the login page in order to change the 
position of the welcome phrase and login boxes? What is the file to customize?

Thank you for your help.


Fernando Seijas
Webmaster
SLKE.ORG


Mensaje citado por "eculp@encontacto.net" <eculp@encontacto.net>:

> Quoting Fernando Seijas <webmaster@slke.org>:
> 
>  | Hello again!
>  | 
>  | Thank you for you help, but I can not do it. I will explain more exactly
> my
>  | configuration:
> Fernando,
> 
> The url are you using to access horde/imp and the complete
> login for a user would probably help?  example:  
> 
>   URL to horde/imp login :  ourmail.slke.org
>   Login for a user :    fernando@mymail.slke.org
> 
> I have made some changes below that may help you follow the function.
> 
>  | 
>  | I use IMP 3.0 and the conf.php contains this part:
>  | 
> 
> I've changed the script and it will hopefully be easier to follow:
> 
> $conf['hooks']['vinfo'] = 'imp_get_vinfo';
> 
> if (!function_exists('imp_get_vinfo')) {
>      function imp_get_vinfo ($type = 'username') {
>          global $conf, $imp;
> 
> $vdomain = strtolower(preg_replace('|^mail\.|i', '',
> $_SERVER['HTTP_HOST']));
> // The above is based on your url and removes mail.domain.com. 
> 
>          if ($type == 'username') {
>              return $imp['user'] . '@' . 'subdomain' . $vdomain;
> // The above adds a subdomain to the root vdomain.  Same below.
>         } elseif ($type == "vdomain") {
>             return 'subdomain' . $vdomain;
>         } else {
>             return new PEAR_Error('invalid type: ' . $type);
>         }
>     }
> }
> 
> 
> Good luck,
> 
> ed
> 
> 
> -------------------------------------------------
> 
> 



More information about the imp mailing list