News and Announcements > General Discussion
help with Plugin Global Address Book
medik8ed:
Hello. I am hoping some of you can double check my php settings and point out any mistakes I may have.... I am not a programmer and know little php unfortunately. I'm trying to setup webmail for my volunteer group and they're all waiting patiently for me!
I've got RoundCube 0.7.2 installed and working fine. We need a global address book to share our common email addresses, so I installed the JohnDoh/Roundcube-Plugin-Global-Address-Book. I downloaded the readily available version from the https://github.com/JohnDoh/Roundcube-Plugin-Global-Address-Book site but I can't find the version info so I hope it is the current and matching version to my RC.
I've done all the suggested changes to the php files and they look right to me. I have an admin address *****@saanichsar.ca to manage the global list.
Any ideas?
Thanks for any help
Jason
from the main.inc.php:
// ----------------------------------
// PLUGINS
// ----------------------------------
// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = ('globaladdressbook/globaladdressbook');
from the config.inc.php:
<?php
/**
* GlobalAddressbook configuration file
*/
// the name of the dummy which holds the global address book, if the user does not exist it will be created
// the name can contain the following macros that will be expanded as follows:
// %d is replaced with the domain part of the username (if the username is an email address or default mail domain if not)
// %h is replaced with the imap host (from the session info)
// eg. to create one global address book per domain: global_addressbook@%d
$rcmail_config['globaladdressbook_user'] = '[global_addressbook_user]';
// make global address book read only
$rcmail_config['globaladdressbook_readonly'] = false;
// allow groups in global address book
$rcmail_config['globaladdressbook_groups'] = true;
// global address book admin user
// admin user(s) can always add/edit/delete entries, overrides readonly
// either a single username, an array of usernames, or a regular expression, see README for more info
$rcmail_config['globaladdressbook_admin'] = '*****@saanichsar.ca';
// show addresses from the global address book in the auto complete menu when composing an email
$rcmail_config['globaladdressbook_autocomplete'] = true;
?>
SKaero:
The plugin name in the plugins array is incorrect it should be just be "globaladdressbook".
medik8ed:
Thanks. I had that previously but it wasn't working either. I've changed it back. Still does not work. Do I need to do something within RoundCube? I don't see anything related to a global address book in settings or address book. do I need to create it still? I tried creating a "global" group within the Personal Address book of the admin email, but that doesn't appear in the other email address addressbooks.
// ----------------------------------
// PLUGINS
// ----------------------------------
// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = ('globaladdressbook');
SKaero:
Whats in your error log?
medik8ed:
[17-Jun-2012 16:55:58 -0400]: PHP Error: Failed to load plugin file /home/users/web/b1935/ipg.saradmin/email/plugins/globaladdressbook/globaladdressbook/globaladdressbook/globaladdressbook.php in /hermes/bosweb/web193/b1935/ipg.saradmin/email/program/include/rcube_plugin_api.php on line 196 (POST /email/?_task=login&_action=login)
[17-Jun-2012 16:55:59 -0400]: PHP Error: Failed to load plugin file /home/users/web/b1935/ipg.saradmin/email/plugins/globaladdressbook/globaladdressbook/globaladdressbook/globaladdressbook.php in /hermes/bosweb/web193/b1935/ipg.saradmin/email/program/include/rcube_plugin_api.php on line 196 (GET /email/?_task=mail)
[17-Jun-2012 16:56:00 -0400]: PHP Error: Failed to load plugin file /home/users/web/b1935/ipg.saradmin/email/plugins/globaladdressbook/globaladdressbook/globaladdressbook/globaladdressbook.php in /hermes/bosweb/web193/b1935/ipg.saradmin/email/program/include/rcube_plugin_api.php on line 196 (GET /email/?_task=mail&_action=list&_mbox=INBOX&_refresh=1&_remote=1&_unlock=loading1339966560581&_=1339966560584)
[17-Jun-2012 16:56:00 -0400]: PHP Error: Failed to load plugin file /home/users/web/b1935/ipg.saradmin/email/plugins/globaladdressbook/globaladdressbook/globaladdressbook/globaladdressbook.php in /hermes/bosweb/web193/b1935/ipg.saradmin/email/program/include/rcube_plugin_api.php on line 196 (GET /email/?_task=mail&_action=getunread&&_remote=1&_unlock=0&_=1339966560604)
Navigation
[0] Message Index
[#] Next page
Go to full version