Roundcube Community Forum

Third Party Contributions => Old Style Plug-Ins => Topic started by: awhitby on February 10, 2007, 08:10:14 AM

Title: Plaxo integration (Ticket #1449767)
Post by: awhitby on February 10, 2007, 08:10:14 AM
Hi,

Like the user who raised this ticket, I store my addresses in Plaxo (synchronised with Outlook). Plaxo has produced an address book widget that integrates with other web pages to return addresses stored in Plaxo (or AOL, Yahoo, hotmail, gmail, etc). The Plaxo instructions are really simple, so I had a go at integrating it into roundcube (the version hosted by Westhost, which appears to be 0.1-20060914).

To do this I created a directory in the root roundcube directory called plaxo and added the following file plaxo_cb.html (make sure all the permissions are right):

[~/www/roundcube/plaxo]$ cat plaxo_cb.html






[~/www/roundcube/plaxo]$

In addition, in skins/default/templates I made the following diffs:

[~/www/roundcube/skins/default/templates]$ diff compose.html.backup compose.html
24a25,38
>
>
>
>
>
>
67,68c81,85
< [Bcc]

<
---
> [Bcc]

>
> > '/roundcube/plaxo/plaxo_cb.html'); return false">[Add]
>
[~/www/roundcube/skins/default/templates]$

Replace '/roundcube/plaxo/plaxo_cb.html' with whatever the absolute path to the first file above is on the webserver.

Apologies for the fairly crappy description - I mainly did this for myself but thought someone else might be able to use it. Perhaps someone can develop this up into a proper plugin or whatever, if others find it useful.

Andrew.
Title: Re: Plaxo integration (Ticket #1449767)
Post by: clintox on March 22, 2007, 02:29:20 PM
What a great idea. This works perfectly. Thanks for posting this. In addition to your Plaxo address book, this widget allows you to import addresses from AOL, Hotmail, Yahoo, Gmail, and Outlook.
Title: Re: Plaxo integration (Ticket #1449767)
Post by: F.R.@.N.K on March 23, 2007, 07:17:14 AM
Great idea! Thanks allot!
Title: Re: Plaxo integration (Ticket #1449767)
Post by: hauke on April 16, 2008, 11:24:17 AM
Hi,

could you update this for the 0.1.1 release? Thanks.

hauke
Title: Plaxo integration (Ticket #1449767)
Post by: rosali on May 02, 2008, 08:40:58 AM
Update for 0.1.1 stable:

#1 - config/main.inc.php
Code: [Select]

// use Plaxo addressbook widget
$rcmail_config['plaxo_widget'] = TRUE;
// RoundCube Base URL
$rcmail_config['roundcube_url'] =  &quot;http://localhost/webmail/work/&quot;;
$rcmail_config['roundcube_path'] = &quot;/webmail/work/&quot;;


#2 - skins/default/templates/compose.html

a) between head tags
Code: [Select]











b) in body
Code: [Select]


 
  |
 
  |
 
 
 
  |
 
 
 
 
 



#3 - new folder/file plaxo/plaxo_cb.html
Code: [Select]









#4 - create missing labels in localization folder

-Roland
Title: Plaxo integration (Ticket #1449767)
Post by: bpat1434 on May 02, 2008, 08:56:51 AM
Wow, that's utterly fantastic.  Have you created a Trac ticket for this with these exact directions (or a link to these) so that it could possibly be added to 0.1.2?
Title: Plaxo integration (Ticket #1449767)
Post by: rosali on May 02, 2008, 09:21:45 AM
Yes, I submitted a feature request ticket.

BTW, you can use Plaxo widget also to import various addressbooks into RC ... That's on my TODO's for later on.

-Roland
Title: Plaxo integration (Ticket #1449767)
Post by: hauke on May 04, 2008, 05:00:29 AM
Quote from: rosali;11775
Update for 0.1.1 stable:


Thank you!

cheers
hauke
Title: Plaxo integration (Ticket #1449767)
Post by: rosali on May 04, 2008, 09:13:17 AM
Quote from: hauke;11806
Thank you!

cheers
hauke
Here is a hack if you run RoundCube not on SSL (avoid annoying browser unsecure warning):

#1-config/main.inc.php (add at very bottom)
Code: [Select]

require_once &quot;config_check.php&quot;;

#2-config/config_check.php (new file)
Code: [Select]


// disable ads on SSL connections
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == TRUE){
  $rcmail_config['google_ads'] = FALSE;
  $rcmail_config['ssl_append'] = "s";
}
else{
  $rcmail_config['ssl_append'] = "";
}
?>

#3-skins/default/template/compse.html (between head tags)
Code: [Select]
















NOTICE: If you use this hack you have to look frequently about updates of http://www.plaxo.com/css/m/js/abc_launcher.js !!!

-Roland
Title: Plaxo integration (Ticket #1449767)
Post by: gameover on March 30, 2011, 10:38:54 AM
That's a great idea. This works perfectly. (http://www.makeawebguide.com/). (http://www.millwala.com). (http://www.berita-f1.co.cc/). (http://www.whyweight4fatloss.com/). (http://www.easydrugstore.biz/en-us.php). (http://www.dubaicityinfo.com/Hotels/). (http://www.carpartswarehouse.com/honda-parts/). (http://joshuaknowles.com). (http://www.flashgamehole.com/Kids-Games/en/). (http://jobs4york.co.uk). (http://www.thetransactiongroup.net/high-risk/). (http://jobs4derby.co.uk)