Author Topic: Plaxo integration (Ticket #1449767)  (Read 9303 times)

Offline awhitby

  • Newbie
  • *
  • Posts: 1
Plaxo integration (Ticket #1449767)
« 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
>
> " class="bbc_link" target="_blank">http://www.plaxo.com/css/m/js/util.js">
> " class="bbc_link" target="_blank">http://www.plaxo.com/css/m/js/basic.js">
> " class="bbc_link" target="_blank">http://www.plaxo.com/css/m/js/abc_launcher.js">
>
>
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.

Offline clintox

  • Newbie
  • *
  • Posts: 7
Re: Plaxo integration (Ticket #1449767)
« Reply #1 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.

Offline F.R.@.N.K

  • Newbie
  • *
  • Posts: 2
Re: Plaxo integration (Ticket #1449767)
« Reply #2 on: March 23, 2007, 07:17:14 AM »
Great idea! Thanks allot!

Offline hauke

  • Newbie
  • *
  • Posts: 3
Re: Plaxo integration (Ticket #1449767)
« Reply #3 on: April 16, 2008, 11:24:17 AM »
Hi,

could you update this for the 0.1.1 release? Thanks.

hauke

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Plaxo integration (Ticket #1449767)
« Reply #4 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
« Last Edit: May 02, 2008, 08:42:40 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Plaxo integration (Ticket #1449767)
« Reply #5 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?
 
  

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Plaxo integration (Ticket #1449767)
« Reply #6 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
« Last Edit: May 02, 2008, 09:24:58 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline hauke

  • Newbie
  • *
  • Posts: 3
Plaxo integration (Ticket #1449767)
« Reply #7 on: May 04, 2008, 05:00:29 AM »
Quote from: rosali;11775
Update for 0.1.1 stable:


Thank you!

cheers
hauke

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Plaxo integration (Ticket #1449767)
« Reply #8 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
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

gameover

  • Guest
Plaxo integration (Ticket #1449767)
« Reply #9 on: March 30, 2011, 10:38:54 AM »
That's a great idea. This works perfectly............
« Last Edit: March 31, 2011, 06:19:54 AM by gameover »