johndoh / roundcube-globaladdressbook Goto Github PK
View Code? Open in Web Editor NEWAdd an SQL based global address book to Roundcube.
Home Page: https://plugins.roundcube.net/#/packages/johndoh/globaladdressbook
Add an SQL based global address book to Roundcube.
Home Page: https://plugins.roundcube.net/#/packages/johndoh/globaladdressbook
Hi!
Thanks for good plugin.
Possible to prevent access of certain users to their domain global address book?
Hi,
I installed a plugin, that works for all users visible to the general book. All users can create or delete records.
But when I write a letter, then I would want that worked AutoComplete mailbox. And this function does not work.
Search going only in my personal book, but not in the global
php 5.3
Roundcube Webmail 0.9.5
[28-Feb-2014 16:30:22 +0600]: PHP Error: Failed to load config from /usr/share/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (GET /mail/?_task=mail&_action=refresh&_remote=1&unlock=loading1393583487273&=1393583487277)
[28-Feb-2014 16:30:39 +0600]: PHP Error: Failed to load config from /usr/share/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (POST /mail/?_task=mail&_action=autocomplete?_task=&_action=)
[28-Feb-2014 16:30:39 +0600]: PHP Error: Failed to load config from /usr/share/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (POST /mail/?_task=mail&_action=autocomplete?_task=&_action=)
[28-Feb-2014 16:30:51 +0600]: PHP Error: Failed to load config from /usr/share/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (POST /mail/?_task=mail&_action=autocomplete?_task=&_action=)
I can create group,but can't create group in group.
I want to connect our SQL backend which has email addresses to the addressbook, such that search by domain is possible. However I do not find any place in the config file of global_addressbook to add the SQL. Please suggest where this is to be done.
Sorry to be sending as an issue but i could not find any other place to pose this question.
some other settings ar also egnored..
for example read only, adresbook admin, adresbook user...
I'm not sure If this is the best place to ask for new features.... If not please close this!
It would be nice to have a options that would enable "auto adding" of new roundcube users to the Global Address List.
And maybe select a default Group for this Contacts...
Thanks!
first I try to let group contain some others groups . I failed .
so if add some other globaladdressbooks. with names. ep. onebook,two book, work book, friend book.
how can i do this?.
I have had the same problem on both Stable: 0.7.2 and Beta: 0.8-beta as the one described in #11 I get the following message in chrome;
Server error
The website encountered an error while retrieving http://[removed]. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
It recognises my login's and works fine when I disable the plugin and I get the login page but that is all. I'm wondering if this is a recurring problem since I set up fresh installations on a different server and received the same problem.
Over all it stops RoundCube in its tracks which it a real upset as I like the elegance of this plugin.
I had the plugin installed in RC 0.9.3 in a hosted environment, and using the admin user to create some addressbook entries, everything looks fine. When I checked the RC error log, I see quite a lot of PHP error entries for Global Address Book:
"PHP Error: Failed to load config from /home1/(my_userid)/public_html/JMail/plugins/globaladdressbook/config.inc.php in /home1/(my_userid)/public_html/JMail/program/lib/Roundcube/rcube_plugin.php on line 121 (GET /JMail/?_task=addressbook&_q=sharon&_headers=name%2Cfirstname%2Csurname%2Cemail%2C*&_source=0&_action=search&_remote=1&unlock=loading1378359312161&=1378359312168)"
This is the entry that I was trying to search for "sharon" from the address book. RC could correctly locate the user, it seems to be functioning normally but it seems whenever I perform something on the Global Address Book, an error occurs.
$config['globaladdressbook_user'] = '[global_addressbook_user]';
$config['globaladdressbook_readonly'] = true;
$config['globaladdressbook_groups'] = false;
$config['globaladdressbook_admin'] = 'louisli@(my_domain)';
$config['globaladdressbook_autocomplete'] = true;
$config['globaladdressbook_check_safe'] = true;
I made another test with a normal user (not admin), it seems the normal user could edit the contacts with the GAB.
I checked the path to the config.inc.php and it was correct and I did not modify the rcube_plugin.php file. Is there anything I could look into? Thanks.
Hello,
I migrated an old mail server on a new one. your plugin was installed on the old server and worked like a charm.
I dumped the roundcube DB following tables :
contactgroupmembers
contactgroups
contacts
identities
users
and reimported it on the new server. installed your plugin and configured it like it was configured on the old server.
But shared address book does not appear on the "contacts" page when I login on roundcube.
how can I debug that please ?
regards
Cédric
Hello,
i install this plugin on my server but i get this error message in the log files...
[14-Nov-2011 14:14:11] PHP Fatal error: Cannot access private property rcube_contacts::$name in /www/htdocs/vxxxxxx/email/plugins/globaladdressbook/globaladdressbook.php on line 73
what did i wrong??
In the GlobalAddressbook configuration file i filled this way:
$rcmail_config['globaladdressbook_user'] = '[global_addressbook_user]';
$rcmail_config['globaladdressbook_readonly'] = false;
$rcmail_config['globaladdressbook_groups'] = false;
$rcmail_config['globaladdressbook_admin'] = 'vxxxxxx';
$rcmail_config['globaladdressbook_autocomplete'] = true;
could you please help me??
Thanks Ralf99
Trying to import a vCard file around 5.7MB (16,888 records) to Global Address Book. At first, the .htaccess file wasn't letting me upload files larger than 5MB (Roundcube default setting). After upping the cap to 50MB in .htaccess, Roundcube/Global Address Book stalls for a while while uploading the file then switches to a blank screen. After reloading webmail, nothing has been imported to the Global Address Book other than the records that were already in there (68 records).
sorry for my english.
whatever I set as "globaladdressbook_user" - plugin anyway add new empty user and use it's user_id as globaladdressbook user, so existing contacts doesn't work (old globaladdressbook user has another user_id of course)
Freebsd 9.2 64bit, php-5.4.23 with php-fpm, mysql-5.5.35, nginx-1.4.4, roundcube-0.9.5,1
I'm not sure about globaladdressbook - just download it from master-tree, I think it is v1.8
last version of roundcube not working with global address book plugin
impossible to save new contact
Hello,
Since I have been updating Roundcube with versions 1.4.x the GlobalAddressBook plugin does not work anymore.
I am using the latest version of the plugin, 1.11. And I have tested it with Roundcube versions 1.4.2 and 1.4.4.
Apparently, once the email is sent, the window to enter the data of the new contacts does not open (if applicable)
Is it due to a configuration problem? Any incompatibility with new versions of Roundcube?
I have tried it with both Larry and Elastic skins.
Any suggestion?
Thank you.
Thank you very much for your great work.
Global Addressbook is more stable than the Carddav Solutions.
I would like to have a second "Globaladdressbook" (one for members, and one for non-members)
Would it be possible in any way?
Thanks, regards
Joerg
if i enable globaladdressbook in plugins array rc14 crashes.
btw. a globaladdressbook with carddav client (for my sabredav) would be great
PHP Fatal error: Cannot access private property rcube_contacts::$name in ...../globaladdressbook.php on line 73
I tried back tracking it but I am very new to RC. Can you take a look, we rely on this plugin heavily.
Thank you for your time and hard work. This plugin is handy
Hi,
This is zh_TW localization
<?php
/* Author: Philip Weir */
$labels = array();
$labels['globaladdressbook'] = '公用通訊錄';
$messages = array();
?>
http://myroundcube.googlecode.com
There is conflict if just adding the two address plugins at the same time I can not see adresses in the auto adressbook anymore.. With the new_user_dialog it seems like if I have it enabled it thinks that you are signed in as another user.. the "everyone" user used for the global addressbook
To make it work:
Class name rcube should be changed to rcmail on row:
I installed the current version 1.9 on RC version 1.1.4, I change the admin, and it works fine but the username (tried both existing and not existing) are not working.
I did search about this issue but no luck on how to fix this.
Thanks!
Please excuse me as I am waaaaayyyy new with the way Roundcube works. I am getting an error 500 after activating your plugin and I am not sure whether my RC version is not compatible, or it is the way I am activating the plugin. I have no other plugins. The directory the plugin is stored in is /plugins/globaladdressbook
Log:
[22-Jan-2013 13:43:11] PHP Parse error: syntax error, unexpected T_VARIABLE in /home/a4829462/public_html/mail/config/main.inc.php on line 386
Config plugin (Line 386):
$rcmail_config['plugins'] = array('globaladdressbook');
RC Version: 0.8.4
Please help me, I am a newb with roundcube; so cut me some slack. Also, I have looked at your other issues, but I think mine is a formatting issue in the config. Thanks!
I'm using the plugin with RC 1.0. It works fine, it's configured to allow all users to edit global entries. When trying to copy a contact to a private address book then it moves the whole contact from the global to the privat address book, i.e. the contact is not in the global address book any more. Is it needed to limit write/edit access to admin users to make a copy to the private address book?
// allow groups in global address book
$config['globaladdressbook_groups'] = true;
but i am still unable to greate a group in the global addressbook (option is grayd out.)
Hi. Is there any way to set created global address book as default in the list of contact groups?
Hi
I've noticed a small bug when logging in as a new user for the first time: After the call to rcube_user::create(), the current rcmail user is changed to the global address book user. This is a particular problem for us because our skin includes the username at the top of the page, which is retrieved using $rcmail->user->data['username'].
The problem goes away after refreshing the page, so I guess you could argue it's a bug in the Roundcube core, but the solution is very simple anyway:
// check if the global address book user exists
if (!($user = rcube_user::query($this->user_name, $this->host))) {
$rcmail_user_id = $rcmail->user->ID;
$user = rcube_user::create($this->user_name, $this->host);
$rcmail->user = new rcube_user($rcmail_user_id);
unset($rcmail_user_id);
}
Thanks
Marcus Don
I installed the latest ROundcube version 0.9.5 and made sure that I downloaded the correct version of the global address book from your site for Roundcube 0.9.5
After installation, I noticed that the name of the global address book is
[globaladdressbook]
and there is nothing that I can do to change it.
I deleted the global address book user from the database to let it re-create the address book, but it stays like this (see attached screen shot)
What can I do to fix it?
how can I commit the pt_BR language?
I have RoundCube 0.9.4 and installed GlobalAddressBook version 1.0.
Server Platform is Ubuntu 12.04 and client is OSX 10.8.5 with safari
Global AddressBook is default.
Everything works fine, except the autocomplete of the Global address book entries does not work.
Personal contacts work fine.
Autocomplete is enabled in the globaladdressbook config
When I created the groups, they show up and I can drag existing global address book entries into the group. But after I log out and re-login, the groups disappear from the address book although they are still in database. This is for global address book groups only.
Thank you.
Tell me why I can not delete a contact from the global contact book? I am the admin of this domain
Customized the config file, and whenever I activate the plugin Round Cube crashes and gives a Internal Error 500 message. New to Round Cube, is there something I'm doing wrong?
Hi John,
Kindly I have an issue in configuration of the config.inc.php file, whenever I try to configure the line, it display the contacts for all domain which found on roundcube
$config['globaladdressbook_user'] = '[global_addressbook@%mydomain.edu.ca]';
I'm already using a cpanel which have the roundcube,
kindly can you please advise for the solution if this one is correct or not
i get the error log
PHP Warning: Failed to load plugin file C:\Inetpub\wwwroot\domain.com/plugins\globaladdressbook\globaladdressbook.php in C:\Inetpub\wwwroot\domain.com\program\lib\Roundcube\rcube.php on line 1246
Hello,
I install your plugin in Roundcube Webmail 0.8-beta and I have a problem that when I try to login I get
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
so could you asset me in solving this problem please???
I have this calendar https://git.kolab.org/diffusion/RPK/ plugin and it will display birthdays from the Personal Addressbook but not from this Global Addressbook.
Actually, if I turn on both the personal addressbook birthdays and this global addressbook it prevents the ones from the personal addressbook from showing.
It is minor issue, nut sure which plugin is causing the issue.
global addressbook common for all roundcube installation users works but domain-wise address book setup doesn't seem to be working on online server. A replica setup of the online server when done offline, allows the users to be saved in unencrypted format and hence I guess the global addressbook works on offline server, but on online server it throws error "Failed to Create User". please advice solution
We use the Globaladressbook-Plugin and everybody can add or use these contacts.
But the birthdays are not sync with the calendar-plugin.
Versions installed:
Calendar 17.0.14
Calendar_plus 3.0.22
Globaladdressbook 1.6
The config-file have read-write permissions for everybody.
config.inc.php:
We have these errors in Roundcube/log/error:
[02-Apr-2014 10:44:54 +0200]: PHP Error: Failed to load config from /var/www/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (GET /roundcube/?_task=mail&_mbox=INBOX&_folderlist=1&_list=1&_action=refresh&_remote=1&unlock=loading1396428298722&=1396428298724)
[02-Apr-2014 10:44:56 +0200]: PHP Error: Failed to load config from /var/www/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (POST /roundcube/?_task=settings&_framed=1&_action=plugin.plugin_manager_getcredits?_task=&_action=)
[02-Apr-2014 10:45:26 +0200]: PHP Error: Failed to load config from /var/www/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (GET /roundcube/?_task=mail&_mbox=INBOX&_folderlist=1&_list=1&_action=refresh&_remote=1&unlock=loading1396428268003&=1396428268005)
[02-Apr-2014 10:45:26 +0200]: PHP Error: Failed to load config from /var/www/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (GET /roundcube/?_task=mail&_mbox=INBOX&_folderlist=1&_list=1&_action=refresh&_remote=1&unlock=loading1396428322208&=1396428322210)
[02-Apr-2014 10:45:26 +0200]: PHP Error: Failed to load config from /var/www/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (GET /roundcube/?_task=mail&_mbox=INBOX&_folderlist=1&_list=1&_action=refresh&_remote=1&unlock=loading1396428344558&=1396428344558)
[02-Apr-2014 10:45:29 +0200]: PHP Error: Failed to load config from /var/www/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (GET /roundcube/?_task=settings&_action=refresh&_remote=1&unlock=loading1396428327129&=1396428327131)
[02-Apr-2014 10:45:29 +0200]: PHP Error: Failed to load config from /var/www/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (POST /roundcube/?_task=settings&_framed=1&_action=plugin.plugin_manager_getcredits?_task=&_action=)
[02-Apr-2014 10:45:33 +0200]: PHP Error: Failed to load config from /var/www/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (GET /roundcube/?_task=settings&_action=plugin.calendar_get_reminders&_remote=1&unlock=0&=1396428332131)
[02-Apr-2014 10:45:34 +0200]: PHP Error: Failed to load config from /var/www/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (GET /roundcube/?_task=mail&_mbox=INBOX&_folderlist=1&_list=1&_action=refresh&_remote=1&unlock=loading1396428334404&=1396428334406)
[02-Apr-2014 10:45:35 +0200]: PHP Error: Failed to load config from /var/www/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (GET /roundcube/?_task=mail&_action=plugin.calendar_get_reminders&_remote=1&unlock=0&=1396428339331)
[02-Apr-2014 10:45:38 +0200]: PHP Error: Failed to load config from /var/www/roundcube/plugins/globaladdressbook/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (GET /roundcube/?_task=mail&_action=plugin.calendar_get_reminders&_remote=1&unlock=0&=1396428365167)
Hello,
the hosting provider is switched from php 5.5 to 7.0 and now roundcube with this plugin enabled does not work anymore.
for now i have disabled globaladdresbook plugin and roundcube is working again.
but we need the global addresbook functionality.
First of all, nice plugin mate!
Secondly, is there a way to populate the global address book (GAB) with the emails already created in roundcube? Cant seem to find a way to get the email accounts from the mail server.
Thanks in advance!
It would be nice to have groups in global address book, same as admin account.
Fatal error: Class 'rcube_addressbook' not found .....folder.....
You can add option for disabling address book ( or address completion ) in control panel?
Hi,
I just installed this plugin today (8/29/2013), and I'm running Roundcube 0.9.2. I'm having issues with the read only and autocomplete features. The address book shows up in everyone's account, which I'm SOO happy about; however, everyone is able to edit the contacts when I only have myself (as the admin) listed to be able to edit and read only is set to true. Also, I have autocomplete set to true, but it doesn't seem to be working. Attached is my config file for the plugin. Hopefully, I just have something set incorrectly. Thanks!
~ Matt R
Hello.
Plugin version 1.8 (2013-12-01, rc-1.0). It doesn't show groups created by admin account in othe inboxes. All the addresses are shown but no groups.
Thank you.
When I create a new entry in the global address book the following error occurs:
An error occurred while saving.
There are no errors in the log files.
The entry is created but some how a error is displayed in Roundcube.
In the sql log there is the following:
[27-Sep-2018 16:01:06 +0200]: [1] SELECT "vars", "ip", "changed", now() AS ts FROM "session" WHERE "sess_id" = 'kmpt69m175h62um8o3ph53e5r3';
[27-Sep-2018 16:01:06 +0200]: [2] SELECT * FROM "users" WHERE "user_id" = '97';
[27-Sep-2018 16:01:06 +0200]: [3] SELECT * FROM "users" WHERE "mail_host" = 'localhost' AND "username" = '[global_addressbook_user]';
[27-Sep-2018 16:01:16 +0200]: <3k5k23l5> [1] SELECT "vars", "ip", "changed", now() AS ts FROM "session" WHERE "sess_id" = '3k5k23l50pv6qfb27uoq8aohq0';
[27-Sep-2018 16:01:16 +0200]: <3k5k23l5> [2] SELECT * FROM "users" WHERE "user_id" = '37';
[27-Sep-2018 16:01:16 +0200]: <3k5k23l5> [3] SELECT * FROM "users" WHERE "mail_host" = 'localhost' AND "username" = '[global_addressbook_user]';
[27-Sep-2018 16:01:16 +0200]: <3k5k23l5> [4] SELECT COUNT(c."contact_id") AS rows FROM "contacts" AS c WHERE c."del" <> 1 AND c."user_id" = '19' AND (((("email" ILIKE '[email protected]%' OR "email" ILIKE '% [email protected] %' OR "email" ILIKE '% [email protected]'))));
[27-Sep-2018 16:01:16 +0200]: <3k5k23l5> [5] INSERT INTO "contacts" ("user_id", "changed", "del", "vcard", "name", "firstname", "surname", "email", "words") VALUES (19, now(), 0, 'BEGIN:VCARD
VERSION:3.0
N:atest;atest;;;
FN:atest atest
EMAIL;TYPE=INTERNET;TYPE=WORK:[email protected]
END:VCARD', 'atest atest', 'atest', 'atest', '[email protected]', ' atest [email protected]');
I use roudcube 1.2 and globaladdressbook 1.11.
Any hints would be great, thanks!
Christian
During implementation and testing your plugin, I felt the need for a different handling of permissions:
What I would need are three user groups with the following permissions:
Would it be possible with the actual release?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.