Roundcube Community Forum

 

Plaxo integration (Ticket #1449767)

Started by awhitby, February 10, 2007, 08:10:14 AM

Previous topic - Next topic

awhitby

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.

clintox

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.

[email protected]


hauke

Hi,

could you update this for the 0.1.1 release? Thanks.

hauke

rosali

#4
Update for 0.1.1 stable:

#1 - config/main.inc.php

// 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











b) in body


 
  |
 
  |
 
 
 
  |
 
 
 
 
 



#3 - new folder/file plaxo/plaxo_cb.html









#4 - create missing labels in localization folder

-Roland
Regards,
Rosali

bpat1434

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?
 
 

rosali

#6
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
Regards,
Rosali

hauke

Quote from: rosali;11775Update for 0.1.1 stable:

Thank you!

cheers
hauke

rosali

Quote from: hauke;11806Thank 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)

require_once &quot;config_check.php&quot;;

#2-config/config_check.php (new file)


// 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)
















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

gameover

#9
That's a great idea. This works perfectly............