Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: grepmaster on October 01, 2010, 03:53:09 AM

Title: global address book
Post by: grepmaster on October 01, 2010, 03:53:09 AM
hi,

is there any way to edit the global address book on roundcubemail 0.4.1?
my main intention is to group hundreds of users to a alias.
Title: global address book
Post by: JohnDoh on October 01, 2010, 01:18:06 PM
if you set `$rcmail_config['globaladdressbook_readonly'] = false;` in the plugin's config then sure, any one can edit it.
Title: global address book
Post by: grepmaster on October 04, 2010, 11:03:19 AM
eventhough i can see global addressbook on roundcube version 0.4.1, but there is no globaladdressbook plugin folder in roundcube's plugin directory

anyway, I tried adding
$rcmail_config['globaladdressbook_readonly'] = false;

in config/main.inc.php but I still cannot see the option to edit the globaladdressbook & group users in that globaladdressbook
Title: global address book
Post by: JohnDoh on October 05, 2010, 01:24:21 AM
Quotethere is no globaladdressbook plugin folder in roundcube's plugin directory
then you are not using the globaladdressbook plugin, check your configs and find out where it is getting that addressbook from.
Title: global address book
Post by: grepmaster on October 05, 2010, 08:07:21 AM
when i searched for addressbook, i could only fond these & there's no globaladdressbook stated
# grep -r addressbook /var/www/roundcubemail/config/
/var/www/roundcubemail/config/main.inc.php.dist:// An ordered array of the ids of the addressbooks that should be searched
/var/www/roundcubemail/config/main.inc.php.dist:$rcmail_config['autocomplete_addressbooks'] = array('sql');
/var/www/roundcubemail/config/main.inc.php:'compose_addressbook',
/var/www/roundcubemail/config/main.inc.php:'sharedaddressbook'
/var/www/roundcubemail/config/main.inc.php:// An ordered array of the ids of the addressbooks that should be searched
/var/www/roundcubemail/config/main.inc.php:$rcmail_config['autocomplete_addressbooks'] = array('sql', 'hpj.gov.my');


although I can see there's a global addressbook on my webmail (refer to attachment)
Title: global address book
Post by: SKaero on October 05, 2010, 11:22:59 AM
You seem to be looking at a different install of RoundCube, I noticed in your search that your path was: /var/www/roundcubemail/config/ however the url in the screen shot is [ip]/webmail/
Title: global address book
Post by: grepmaster on October 05, 2010, 11:43:22 AM
Quote from: skaero;30576You seem to be looking at a different install of RoundCube, I noticed in your search that your path was: /var/www/roundcubemail/config/ however the url in the screen shot is [ip]/webmail/

it's only an alias

# cat /etc/httpd/conf.d/roundcubemail.conf

Alias /mail "/var/www/roundcubemail/"
Alias /webmail "/var/www/roundcubemail/"
Alias /roundcube "/var/www/roundcubemail/"
<Directory &quot;/var/www/roundcubemail/&quot;>
    Options -Indexes
</Directory>
Title: global address book
Post by: JohnDoh on October 05, 2010, 01:02:02 PM
my guess is that its the sharedaddressbook plugin
Title: global address book
Post by: grepmaster on October 05, 2010, 10:04:10 PM
Quote from: JohnDoh;30584my guess is that its the sharedaddressbook plugin

i forgot to mention that this a from iRedMail 0.6.1 installation. The globaladdressbook is there even before the shareaddressbook was there and I'm using ldap authentication
Title: global address book
Post by: corbosman on October 06, 2010, 04:11:09 AM
Doesnt rc read a second config file as well, overriding the first?