[imp] Re: Horde/IMP Login
Fernando Seijas
webmaster at slke.org
Mon Dec 2 22:01:13 2002
Hello Hammad,
Thank you a lot for your help. I am changing the login design.
Do you know if there any module ready to include to IMP in order to read the
messages from others emails accounts. For example, our clients have a lot of
free accounts andf they want to redirect from IMP their messages from those
accounts.
Thank you in advance.
Fernando Seijas
Webmaster
SLKE.ORG
Mensaje citado por Hammad <hammad@brisksolutions.com>:
>
> Quoting Fernando Seijas <webmaster@slke.org>:
>
> > 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?
>
>
> horde/imp/templates/login/login.inc
>
> You can search for word: "Welcome". You can also change it dynamically like
> I
> have, my clients for mail.xyz.com, see there welcome page with their logo
> and
> other clients for mail.abc.com, see something different
>
> -Hammad
>
>
>
> > 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
> > >
> > >
> > > -------------------------------------------------
> > >
> > >
> >
> >
> > --
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> >
>
>
>
More information about the imp
mailing list