1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

custom (horde) webmail screens?

Discussion in 'Plesk for Linux - 8.x and Older' started by rossgile, Sep 7, 2005.

  1. rossgile

    rossgile Guest

    0
     
    I'm using the default webmail application (Horde) that comes with Plesk.

    Can I customize each domain's webmail login screen? Right now, the Horde webmail screen is the same for all my client's webmails. Not every exciting.

    - rg
     
  2. rossgile

    rossgile Guest

    0
     
    No replies? It can't be done?
     
  3. Dangerous

    Dangerous Guest

    0
     
    Yes it can be done. If you know anything about php coding it's fairly easy to follow. But every time you update Plesk, all your changes will be overwriten.
     
  4. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    I'm not sure which OS you are using, but for RedHat you want to change the following in /etc/psa-horde/horde/registry.php

    Find the line: 'name' => _('Horde');

    and replace with:

    'name' => _(preg_replace('/^webmail./', '', $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME']) ),

    That should change the 'Welcome to Horde' message to 'Welcome to domain.com'
     
  5. rossgile

    rossgile Guest

    0
     
    great. it worked.

    now it shows "Welcome to <domain name>"

    now if I can add some kind of company logo, that would be cool.

    - rg
     
  6. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    I'm not exactly sure but I think you can play with the templates in /usr/share/psa-horde. Look for the folder for the theme you are using. You can determine which one you are using by checking /etc/psa-horde/horde/prefs.php. Look for the section that starts:

    // UI theme
    $_prefs['theme'] = array(
    'value' => 'YOURTHEME',
     
  7. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    Try checking /usr/share/psa-horde/templates/login/login.inc.

    I'm pretty sure this is the file you need to add your image to. But I think any image you put there will show for every domain.
     
  8. Garp

    Garp Guest

    0
     
    On Plesk 7.5.2, on CentOS 3.5 (RHEL install), the path of the registry.php is dirrerent, can someone confirm this?


    # vi /home/httpd/vhosts/webmail/horde/config/registry.php

    Current rights;

    -r--r--r-- 1 root root 12590 Apr 16 21:02 /home/httpd/vhosts/webmail/horde/config/registry.php


    'name' => _("Horde"),

    replace by

    'name' => _(preg_replace('/^webmail./', '', $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME']) ),


    Won't i mess up my config?
     
  9. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    The diffence in the location of registry.php is due to your plesk version. With 7.5.4 they moved it to the location posted here before. That being said, it will not mess up your config if that's all you change.
     
  10. Joelee

    Joelee Guest

    0
     
    Hi,
    I tried to do "Welcome to <domain name>", but my registry.php permission is 444, I also tried chmod 777 registry.php, but it didn't work. So how can I solve the problem please?

    Many thanks,
    Regards,
    Joe
     
  11. rookie878

    rookie878 Guest

    0
     
    I tried this on Plesk8 and all I get is "Welcome to". The domain is missing. Any ideas?
     
  12. DCoats

    DCoats Guest

    0
     
    To change the "welcome to Horde"

    When the above mentioned registry.php change doesn't work.

    change this line in /usr/share/psa-horde/imp/login.php :

    $title = sprintf(_("Welcome to %s"), $registry->get('name', ($imp_auth) ? 'horde' : null));

    with

    $rest = substr($_SERVER['SERVER_NAME'], 8);
    $title = sprintf(_("Welcome to %s"),$rest);

    ---

    Will make the greeting- "Welcome to domain.com" - with domain.com being whatever domain's webmail is being called.

    ---

    To remove (or replace) the default horde logo, edit the common-footer at /usr/share/psa-horde/templates/
     
  13. rossgile

    rossgile Guest

    0
     
    I was the originator of this ticket and started seeing the same problem "Welcome To" with no more domain. So...... I see that someone else had the same problem. Thanks guys for keeping this ticket current.

    - rg
     
  14. steve0

    steve0 Guest

    0
     
    You may be interested in HordeSkinsPlus which includes an add-on module for Plesk that lets you customize all of these features from within the Plesk control panel. It also skins horde to completely match the Plesk interface and will work on each domain individually.

    Check out the website here: http://www.sarito.com
     
Loading...