Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: rcampbe on September 26, 2009, 11:48:51 PM

Title: webcalendar plugin
Post by: rcampbe on September 26, 2009, 11:48:51 PM
Is there a way to use the calendar plug-in from myroundcube with roundcube v0.3? If not, is there another plug-in that will allow me to access webcalendar from roundcube?
Title: webcalendar plugin
Post by: rosali on September 27, 2009, 12:15:34 AM
No, there is no way yet. It is on my ToDo's ...
Title: webcalendar plugin
Post by: rcampbe on September 27, 2009, 01:12:25 PM
Ok, thanks for the response.
Any idea for the time frame?
Title: webcalendar plugin
Post by: rosali on September 28, 2009, 12:48:45 AM
Hopefully since end of October.
Title: webcalendar plugin
Post by: jasb on October 04, 2009, 02:11:50 PM
Hi,
This calendar plugin work work with the values on the DB right?
It would be interesting if it had a way to connect to a MS Exchange calendar.
What do you say?
Title: webcalendar
Post by: genkiz on November 22, 2009, 05:30:41 PM
I could install the webcalendar but i get calendar login page instead of auto login. Probably I did something wrong during install?
I have also tested your dev demo site and on your site the auto login works but if I change time zone and language in webcal admin I lost these setting on logoff logon.
Any idea how could I solve at least the time zone and the auto logon problem?
thanks
genkiz

settings.php looks ok, but
Quote
/* updated via install/index.php on Sun, 22 Nov 2009 23:17:14 +0100
install_password: *********************
db_type: mysql
db_host: localhost
db_database: webcal
db_login: webcal
db_password: *******
db_persistent: false
db_cachedir: /tmp
readonly: false
user_inc: user-myroundcube.php
use_http_auth: false
single_user: false
mode: prod
# end settings.php */
Title: webcalendar plugin
Post by: rosali on November 23, 2009, 05:31:27 AM
Quote from another thread:

Quote

The following simple fix stopped all my trouble with the integrated login:

webcalendar.php

PHP Code:
    $rcmail->output->set_env('webcal_user', $rcmail->user->data['username']);
    $rcmail->output->set_env('webcal_enc_user', substr(base_convert( md5(trim($rcmail->user->data['username'])), 16, 36 ),0,25));
//Begin fix
    if($rcmail->user->data['password'])
      $rcmail->output->set_env('webcal_pass', $rcmail->user->data['password']);
    else
      $rcmail->output->set_env('webcal_pass', $_SESSION['password']);
//End fix
    $langs = $rcmail->config->get('cal_language');
    $lang = $langs[$_SESSION['language']];  
Check @ RoundCube Webmail :: Welcome to RoundCube Webmail ... demo user login and first time login of a new registered user should work now.
__________________
Regards,
Rosali

__________________


Wecalendar Timezone is always synchronisized with RoundCube Timezone.

A new release including the login fix will be available next weekend.
Title: webcalendar plugin
Post by: genkiz on November 23, 2009, 06:11:24 AM
thanks this worked but i figured out i need a reminder tool with alert sending options to other addresses instead of the calendar :(
Title: webcalendar plugin
Post by: mstar on December 09, 2009, 09:20:19 AM
Hi, for me does not work. It is still appearing the login screen??
Title: webcalendar plugin
Post by: rosali on December 09, 2009, 09:32:36 AM
@ mstar:

Could you give me remote access (imap test account, phpmyadmin and ftp access to Roundcube folder - full permissions)?
Title: webcalendar plugin
Post by: mstar on December 09, 2009, 09:34:41 AM
Hi, sry. The System in in my VirtualBox. What data do you need? I can send you this.

Thanks
Title: webcalendar plugin
Post by: rosali on December 09, 2009, 09:37:36 AM
As said:

#1 Login credentials for an imap account
#2 webcalender and roundcube database access by phpmyadmin
#3 FTP access to roundcube folder

PM'me the details.
Title: webcalendar plugin
Post by: mstar on December 09, 2009, 09:51:58 AM
Sry. I installed everything locally on VirtualBox.
If you say what you need I can send you the data.

Thanks
Title: webcalendar plugin
Post by: rosali on December 09, 2009, 09:55:50 AM
Zip whole plugin folder. Also export webcalendar database.
Title: webcalendar plugin
Post by: mstar on December 09, 2009, 10:12:50 AM
you have a PM :)
Title: Encoding
Post by: dziobak on December 16, 2009, 07:53:25 AM
Hey

I'm a polish user of Roundcube and I have problem with encoding calendar plugin. Roundcube works on UTF-8 and the calendar uses Latin2 encoding, and there are problems with installing and logon.
The calendar has been installed when I have changed the browser encoding to Latin2 (on UTF didn't work). Now when I go to calendar, it shows a logon site. It doesn’t use Roundcube session.

(Sorry if I made mistakes in post)

Can you help me with this?
Title: webcalendar plugin
Post by: rosali on December 16, 2009, 09:01:37 AM
Could you give me remote access (Imap Test accout, FTP, PHPMyAdmin)? PM'me details.
Title: webcalendar plugin
Post by: dimago on March 01, 2010, 12:59:02 PM
Im try to use a webcalendar..

I configured my config.inc.php like this..


// comment the following if you use calendar_switch plugin

 $rcmail_config['use_calendar'] = 'webcalendar';

/* admin accounts */
$rcmail_config['cal_admins'] = array(
  "admin1" => "diego.gomes@dominio.com.br",
  "admin2" => "roundcube@dominio.com.br"
); //lowercase !!!

/* calendar language map ... extend ... */
$rcmail_config['cal_language'] = array();
$rcmail_config['cal_language']['default'] = 'Pt-BR';
$rcmail_config['cal_language']['en_US'] = 'English-US';
$rcmail_config['cal_language']['de_DE'] = 'German';

/* calendar default timezone */
$rcmail_config['cal_default_timezone'] = 'Ameirca/Sao Paulo';
$rcmail_config['cal_default_offset'] = -3;

/* calendar imap host */
$rcmail_config['cal_imap_host'] = "192.168.55.100";

/* calendar imap port */
$rcmail_config['cal_imap_port'] = "143";

/* calendar default domain: Fall back Domain for Login */
$rcmail_config['cal_default_domain'] = "dominio.com.br";

?>

My timezone is -3 Brazil...

well i login with my account diego.gomes and when I got to Calendar, I get this error...

[01-Mar-2010 14:48:23] PHP Fatal error:  Call to undefined function timezone_name_from_abbr() in /pkg/httpsites01/var/www/webmail/plugins/webcalendar/webcalendar.php on line 201


any idea?

Thanks
Title: webcalendar plugin
Post by: rosali on June 28, 2011, 11:47:07 AM
This plugin is deprecated.

Follow up:

http://www.roundcubeforum.net/7-third-party-contributions/46-api-based-plugins/6782-jquery-fullcalendar-plugin-forked-rosali.htm