Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: max on December 13, 2009, 01:49:17 PM

Title: globaladdressbook host
Post by: max on December 13, 2009, 01:49:17 PM
hi,

i had the problem, that i could not log in as the user who admins the global addressbook, due to the fact, that in globaladdressbook.php the mail-host is supposed to be localhost.

i have changed a view lines of code to solve this issue.

in globaladdressbook.php

private $host;
/* original private $host = 'localhost'; */
after $this->user_name = $rcmail->config->get('globaladdressbook_user'); i added
$this->host = $rcmail->config->get('globaladdressbook_host');


in config.inc.php

$rcmail_config['globaladdressbook_host'] = 'put in your mail-host here';


maybe it could be a good idea to place these lines in the normal plugin as well.

kind regards
max
Title: globaladdressbook host
Post by: JohnDoh on December 18, 2009, 02:46:43 AM
any user can be made an "admin" of the global address book via the config, so they can create contacts in it, even if it is read only. i didnt think any one would ever need to log in as that user.
Title: globaladdressbook host
Post by: max on December 21, 2009, 11:28:34 AM
any "admin" user can change addresses in the globaladdressbook, but cannot import vcard-files.