Prueba / myroundcube

Automatically exported from code.google.com/p/myroundcube
0 stars 0 forks source link

[companyaddressbook] - Enter one-line summary #725

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Token: 41096282a0f6d770b23fdab127521c7d (Don't modify this token!)
Version: 1.0.14 (06-12-2013)
PHP: 5.5.9-1ubuntu4.3
RCMAIL: 0.9.5
Database: mysql
SERVER: Apache/2.4.7 (Ubuntu)
----
I.  Issue Description:
I installed companyaddressbook plugin but its not work. How could I find the 
problem?

II. Steps to reproduce the Issue:
1. I downloaded plugin (plugin manager)
2. I copied files to plugin folder
3. I enabled plugin in plugin manager

<?php

/* Admin User
   ----------
   The admin user is able to create, edit and delete Roundcube users
   and their default identities.
*/
// $rcmail_config['companyaddressbook_admin'] = 'admin@domain.tld';
$rcmail_config['companyaddressbook_admin'] = 'admin@mahikari.org.br';

/* The following mail host is accessible by the admin user
   Placeholders: %u = local part of username
*/
$rcmail_config['companyaddressbook_host'] = 'localhost';

/* The following domains are accessible by the admin user */
$rcmail_config['companyaddressbook_domains'] = array(
  'mahikari.org.br' => array('name' => 'Sukyo Mahikari do Brasil'),
  'smlasystems.org.br' => array('name' => 'SmlaSystems')
);

/* Show the company addressbook to regular users.
   Possible settings are:
   (1) 'admin': Show default identities of users hosted in 'companyaddressbook_domains'
                if the identities belong to these domains.
   (2) 'user':  Show only identities which match the domain part of the user
   (3) array:   An array with same structure as 'companyaddressbook_domains'
   (4) false:   Disable 'companyaddressbook' for regular users
*/
$rcmail_config['companyaddressbook_users'] = 'admin';
/*
  $rcmail_config['companyaddressbook_users'] = array(
  'domain1.tld' => array('name' =>'Company 1'),
  'domain2.tld' => array('name' => 'company 2'),
);
*/

/* Hide identities for regular users which match the following regular 
expressions */
$rcmail_config['companyaddressbook_hide'] = array(
  '/demo[0-9]/i',
  '/globalcontacts/i',
  '/public_user/i',
);

/* Show the identity email addess as type ...
   (1) 'work'
   (2) 'private' or
   (3) 'other'
*/
$rcmail_config['companyaddressbook_email_type'] = 'work';

/* Use the company addressbook for autocompletion */
$rcmail_config['companyaddressbook_autocomplete'] = true;

/* Make organization field mandatory */
$rcmail_config['companyaddressbook_require_organization'] = true;

/**************************************************************************
 * 
 * The following settings require users_myroundcube plugin to be effective 
 *
 **************************************************************************/

/* Implemented IMAP backend drivers
   --------------------------------
   'hmail_com': hMailserver COM API  (Roundcube and hMailserver run on the same Windows box)
   'hmail_db' : hMailserver database (Roundcube runs on *NIX - Note: This driver can't delete accounts)

   PHP coders! Additional drivers are welcome. Please have a look to
               ./plugins/users_myroundcube/drivers/foo/driver.php
               for details. Thank you!
*/
$rcmail_config['companyaddressbook_driver'] = 'foo';

/* IMAP server database (not required for 'hmail_com') */
$rcmail_config['companyaddressbook_db_dsnw'] = 
'mysql://root:password@localhost/hmailserver?new_link=true';

/* Default mailbox size (MB) */
$rcmail_config['companyaddressbook_mailboxsize'] = 5;

?>

Original issue reported on code.google.com by rbat...@gmail.com on 27 Aug 2014 at 8:04

GoogleCodeExporter commented 8 years ago
This is a bug tracker and not a support forum. Goto 
https://forum.myroundcube.com.

Original comment by myroundc...@gmail.com on 28 Aug 2014 at 3:43