<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Roundcube &#8211; Markus Görres</title>
	<atom:link href="https://www.markus-goerres.de/tag/roundcube/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.markus-goerres.de</link>
	<description>Engineer (lighting, IoT, languages, data analytics)</description>
	<lastBuildDate>Wed, 25 Jul 2018 20:00:21 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>

<image>
	<url>https://www.markus-goerres.de/wp-content/uploads/2023/11/cropped-Markus-Goerres_2023_512-512-32x32.jpg</url>
	<title>Roundcube &#8211; Markus Görres</title>
	<link>https://www.markus-goerres.de</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Roundcube with Google Addressbook</title>
		<link>https://www.markus-goerres.de/2015/06/25/roundcube-with-google-addressbook/</link>
		
		<dc:creator><![CDATA[markus]]></dc:creator>
		<pubDate>Wed, 24 Jun 2015 22:16:24 +0000</pubDate>
				<category><![CDATA[IoT, Open Source, Data Analytics, Gadgets]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Roundcube]]></category>
		<guid isPermaLink="false">http://www.markus-goerres.de/?p=731</guid>

					<description><![CDATA[Using Google for Roundcube For Roundcube, a famous open-source webmail program, a built-in-addressbook is used for contacts, e-mail-addresses and phone numbers. If you have also a Google-account, maybe with an Android phone, you would have to synchronize your contacts manually.]]></description>
										<content:encoded><![CDATA[<h1>Using Google for Roundcube<a href="https://www.markus-goerres.de/wp-content/uploads/2015/06/Bildschirmfoto-vom-2015-05-31-204954.png"><img decoding="async" class="alignright size-full wp-image-732" src="https://www.markus-goerres.de/wp-content/uploads/2015/06/Bildschirmfoto-vom-2015-05-31-204954.png" alt="Bildschirmfoto vom 2015-05-31 20:49:54" width="278" height="161" /></a></h1>
<p>For <a href="http://roundcube.net/" target="_blank">Roundcube</a>, a famous open-source webmail program, a built-in-addressbook is used for contacts, e-mail-addresses and phone numbers. If you have also a Google-account, maybe with an Android phone, you would have to synchronize your contacts manually. The plugin <a href="https://www.markus-goerres.de/2013/12/27/roundcube-with-google-contacts/" target="_blank">google_contacts</a> does not work anymore, perhaps due to changes in the Google API. A alternative is <a href="https://github.com/stwa/google_addressbook" target="_blank">google_addressbook</a> to sync your Google addresses in readonly mode with Roundcube.</p>
<p>The steps to install and use it:</p>
<ol>
<li>Download the plugin <a href="https://github.com/stwa/google_addressbook" target="_blank">google_addressbook</a>, extract the zip-file and copy the folder <em>plugins\google_addressbook</em> in the plugin folder of your roundcube installation.</li>
<li>Create the database table using the SQL statements in the SQL directory. In my case for MYSQL: “CREATE TABLE `contacts_google` (<br />
`contact_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,<br />
`changed` datetime NOT NULL DEFAULT &#8218;1000-01-01 00:00:00&#8216;,<br />
`del` tinyint(1) NOT NULL DEFAULT &#8218;0&#8216;,<br />
`name` varchar(128) NOT NULL DEFAULT &#8220;,<br />
`email` text NOT NULL,<br />
`firstname` varchar(128) NOT NULL DEFAULT &#8220;,<br />
`surname` varchar(128) NOT NULL DEFAULT &#8220;,<br />
`vcard` longtext NULL,<br />
`words` text NULL,<br />
`user_id` int(10) UNSIGNED NOT NULL,<br />
PRIMARY KEY(`contact_id`),<br />
CONSTRAINT `user_id_fk_contacts_google` FOREIGN KEY (`user_id`)<br />
REFERENCES `users`(`user_id`) ON DELETE CASCADE ON UPDATE CASCADE,<br />
INDEX `user_contacts_google_index` (`user_id`,`del`)<br />
) ;”</li>
<li>You need <a href="https://github.com/google/google-api-php-client" target="_blank">Google APIs Client Library for PHP</a>. Copy it into the vendor folder that it looks like &#8222;<em>your_roundcube\vendor\google\apiclient\src\Google</em>&#8222;. The <a href="https://developers.google.com/api-client-library/php/start/installation" target="_blank">libraries must be included in<br />
your PHP.ini</a> if possible. When you have no access to your PHP.ini or get an error message of missing functions or similar, you have to autoload the API once at the beginning of google_func.php, after line 10:<br />
require_once(dirname(__FILE__) . &#8218;/../../vendor/google/apiclient/src/Google/autoload.php&#8216;);</li>
<li>Activate the plugin in your configuration main.inc.php: $rcmail_config[‘plugins’] = array(google_addressbook);<a href="https://www.markus-goerres.de/wp-content/uploads/2015/06/Bildschirmfoto-vom-2015-06-25-000945.png"><img decoding="async" class="alignright size-medium wp-image-733" src="https://www.markus-goerres.de/wp-content/uploads/2015/06/Bildschirmfoto-vom-2015-06-25-000945-300x155.png" alt="Bildschirmfoto vom 2015-06-25 00:09:45" width="300" height="155" srcset="https://www.markus-goerres.de/wp-content/uploads/2015/06/Bildschirmfoto-vom-2015-06-25-000945-300x155.png 300w, https://www.markus-goerres.de/wp-content/uploads/2015/06/Bildschirmfoto-vom-2015-06-25-000945.png 309w" sizes="(max-width: 300px) 100vw, 300px" /></a></li>
<li>Log-in your roundcube webmailer, go to “Settings-&gt;Addressbook”, activate Google Addressbook and automatic syncronisation on Startup. Further you have to click on the link to get the Google Auth Code you have to insert.</li>
<li>Your next lock-in will take a few seconds longer as Roundcube is syncing your contacts with Google.</li>
</ol>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
