Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 19
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    134

    Default Horde: default configuration

    Is there any way to ?
    1. Set a default config for all Horde users (like language and others)
    2. To access admin page of Horde as administrator

    Thanks

  2. #2
    Member NovemberRain's Avatar
    Join Date
    Sep 2003
    Location
    Istanbul
    Posts
    59
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    That would be good!

    But unfourtunately no, there isn't a way to to that

    Cpanel doesn't care much about other languages.

    There isn't even a way to setup a default cpanel language for hosting accounts!
    Last edited by NovemberRain; 11-22-2005 at 09:59 AM.

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    16

    Default

    Sure there's a way to edit some of that stuff. For languages, edit:

    /usr/local/cpanel/base/horde/config/nls.php

    For other default preferences (like to set it to got the inbox by default):

    /usr/local/cpanel/base/horde/config/prefs.php

    If you want to do the inbox default thing, change the initial_application value to "imp" instead of "horde".

  4. #4
    Member
    Join Date
    Jan 2004
    Posts
    134

    Default Thanks

    Thank you, it does function OK!!!

  5. #5
    Member FeeL's Avatar
    Join Date
    Apr 2004
    Location
    Rio de janeiro
    Posts
    142
    cPanel/Enkompass Access Level

    Reseller Owner

    Exclamation dafault lang

    The dafault lang for hord issue has been fixed, editing the
    /usr/local/cpanel/base/horde/config/nls.php
    file,

    just changed from
    $nls['defaults']['language'] = '';
    to
    $nls['defaults']['language'] = 'pt_BR';

    and now everithing is in portuguese, by default!

    (dont forget to always backup, people)

    Thanks
    -----------
    FeeL Buarque
    SysAdmin.

  6. #6
    Member
    Join Date
    Apr 2007
    Posts
    47

    Default

    Great, it is a one line edit and it works in spanish.

    /usr/local/cpanel/base/horde/config/nls.php
    file,

    just changed from
    $nls['defaults']['language'] = '';
    to
    $nls['defaults']['language'] = 'es_ES';

    Thanks.

  7. #7
    aisagtr
    Guest

    Default

    No matter how we changed the default or login with another language at the prompt, the language is ALWAYS ENGLISH.

    Anyone having the same problem here?

  8. #8
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    Is there a way to lock these changes so they are not overwritten on a horde update?

    Also can we disable a plugin like "Information". I still don't see what the point of it is.
    Last edited by rligg; 02-21-2008 at 02:40 PM.

  9. #9
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by rligg View Post
    Is there a way to lock these changes so they are not overwritten on a horde update?

    Also can we disable a plugin like "Information". I still don't see what the point of it is.
    Read the /usr/local/cpanel/src/3rdparty/gpl/README-horde file as it explains how to prevent cPanel from altering your horde config.

    For the language question asked above, you also need to change the language in the user preferences within Horde.

  10. #10
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    Quote Originally Posted by cpanelkenneth View Post
    Read the /usr/local/cpanel/src/3rdparty/gpl/README-horde file as it explains how to prevent cPanel from altering your horde config.

    For the language question asked above, you also need to change the language in the user preferences within Horde.
    How about disabling a plugin?

    Those instructions don't make sense to me. I simply want to edit 2 files. I do not want them overwritten.


    /usr/local/cpanel/base/horde/config/config.php

    /usr/local/cpanel/base/horde/config/nls.php

    I get lost as to how we get to:

    Immediately after step 3 in the General Install Procedure outline, and before step 4, update-horde checks for the existence of /var/cpanel/horde/install

    in the instructions. It is here I am lost. Chattr + i the files possibly? Would this work since cpanel wipes out the directory?
    Last edited by rligg; 02-22-2008 at 11:33 AM.

  11. #11
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    Cpannelkenneth,
    Can you please address my post above.

  12. #12
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    This is untested, but may work.
    1. Modify the two files you want customized
    2. cd /usr/local/cpanel/base
    3. tar czvf overlay.tar.gz horde/config/conf.php horde/config/nls.php
    4. cp overlay.tar.gz /var/cpanel/horde

    Now, each time Horde is updated, the files in overlay.tar.gz will be restored over the new install.
    Last edited by cpanelkenneth; 03-07-2008 at 03:33 PM. Reason: Fixed typo

  13. #13
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    Thanks. I will give it a try.

  14. #14
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    Quote Originally Posted by cpanelkenneth View Post
    This is untested, but may work.
    1. Modify the two files you want customized
    2. cd /usr/local/cpanel/base
    3. tar czvf overlay.tar.gz horde/config/config.php horde/config/nls.php
    4. cp overlay.tar.gz /var/cpanel/horde

    Now, each time Horde is updated, the files in overlay.tar.gz will be restored over the new install.
    Strangely I am getting errors trying to do this:

    [root@lw base]# tar czvf overlay.tar.gz horde/config/config.php
    tar: horde/config/config.php: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors

    Everything exists. No strange permissions.

  15. #15
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by rligg View Post
    Strangely I am getting errors trying to do this:

    [root@lw base]# tar czvf overlay.tar.gz horde/config/config.php
    tar: horde/config/config.php: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors

    Everything exists. No strange permissions.
    It's a typo. The actual file is:

    horde/config/conf.php

Similar Threads & Tags
Similar threads

  1. How change the default mailman configuration
    By m0rpheu5 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-18-2011, 07:23 AM
  2. Restoring user Horde configuration?
    By calande2 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-10-2006, 01:31 PM
  3. Anti-Spam and the default cPanel configuration
    By paljets in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-08-2005, 03:57 AM
  4. Horde's configuration files are missing or unreadable
    By smile in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-16-2005, 04:42 PM
  5. How do spammers get past the :FAIL: default configuration?
    By Canned_Heat in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 01-11-2004, 07:47 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube