Roundcube Community Forum

 

Calendar plugin

Started by rosali, December 29, 2008, 10:43:58 AM

Previous topic - Next topic

alainpp

Yes, i did route to my existing calendar installation.

I did copy from the app folder, but that mess up my calendar installation (it starts asking me to reinstall the calendar and never go through), so i went back to the original files.

rosali

And if you route it to the plugin folder?
Regards,
Rosali

alainpp

Quote from: rosali;17388And if you route it to the plugin folder?

If I do that I don't the the "user not found" message when I login, but the user is not created either in the webcalendar database, and when I try to see my calendar I get this error: "No Input file specified"

rosali

#63
Route it inside MyRoundCube and adjust ...

#1 ./myplugins/collection/calendar/app/includes/settings.php

<?php
/* updated via install/index.php on Fri, 20 Feb 2009 17:48:59 +0100
install_password: 7c7d2949bfce237294aa0040cb4ecdcf
db_type: mysql
db_host: localhost
db_database: webcalendar
db_login: root
db_password: none
db_persistent: false
readonly: false
user_inc: user-imap.php
use_http_auth: false
single_user: false
mode: prod
# end settings.php */
?>


!!! install_password is a md5 hash of WebCalendar Installation Password !!!

... and

#1 ./myplugins/collection/calendar/app/includes/user-imap.php


// Set some global config variables about your system.
$user_can_update_password false;
$admin_can_add_user false;
$admin_can_delete_user true// will not affect IMAP server info
$admin_can_disable_user false;

// Allow auto-creation of WebCalendar Accounts for fully authenticated users
$allow_auto_create true;

//
// 'auth_imap' configuration settings "borrowed" from the Meeting Room Booking System
//  https://sourceforge.net/projects/mrbs
//  GNU General Public License (GPL)
//
// This file contains all the functions for getting information
// about users via IMAP
//
$default_domain 'liebl.ath.cx'// Fall back Domain for Login
$imap_host 'localhost'// Where is the IMAP server
$imap_port '143';          // The IMAP server port

Regards,
Rosali

alainpp

I changed the settings and now i get the same error when i do login in my webmail "No such user", the user is never created in the webmail database.

CarlosG

In FF everything correct, but since IE comes the login page and when I identify, I exit, continue "Redirecting to ... here" and if I eject me again :mad:

Help, please! ;)

Thanks

rosali

Well, it looks like this plugin is buggy. But I can't reproduce the issues. Neither those reported by alainpp nor those reported by CarlosG ...

Is there anyone of you guys who is willing to give me remote access to your servers?
Regards,
Rosali

CarlosG

Hello, Rosali. I apologize. :(

My fault, it is in IE7, the problem was that he had touched a file (config) and erasing a line of code without realizing. :-X 0:)

Sorry.

I must say it is a system that is fine, try a little publicity because it is ideal for our organization.

Thanks for everything.

rosali

#68
Thanks! There is no promotion for MyRoundCube, because it is a "One man show". I just share what I've coded for myself!

EDIT: In addition most things will be redundant as soon we have RC v0.3 with a proper plugin API!
Regards,
Rosali

alainpp

Do you still want access to my server or do you want to wait until the next realease?

rosali

Update SVN 2348. If it still does not work, please PM'me access data to your server.
Regards,
Rosali

alainpp

#71
I'll start saying thanks to Roland for helping me with the calendar pluggin.

1. First, install webcalendar from the original site.

After this, configure the calendar pluggin. This is what Roland recommends me and i also did:

2. In the file: ./myplugins/collection/calendar/config.inc you need to leave:

$rcmail_config['calendar_url'] = "./myplugins/collection/calendar/app/";

Even if you did install the webcalendar in another place. I also recommend install it in another place just in case you want to use the calendar without roundcube, but always doing reference to the same database (if you want).

3. Then in the file: ./myplugins/collection/calendar/app/includes/settings.php

You will need to put the information of your database connection, the same information when you did the default installation of your webcalendar. This file contains this structure:

/* updated via install/index.php on Fri, 20 Feb 2009 17:48:59 +0100
install_password: 7c7d2949bfce237294aa0040cb4ecdcf
db_type: mysql
db_host: youdomain.com or localhost
db_database: webcalendar_databasename
db_login: root (or your user name)
db_password: yourpassword
db_persistent: false
readonly: false
user_inc: user-imap.php
use_http_auth: false
single_user: false
mode: prod
# end settings.php */

rosali

#72
URGENT:

Current Calendar plugin may crash your apache on PHP 5.2.8 ... apache2.2 service stops after trying to create child processes!

Easy to fix: http://www.roundcubeforum.net/myroundcube/3797-myroundcube-known-bugs.html
Regards,
Rosali

alainpp

#73
Hi Roland,

i'm getting this error with the new release ( SVN_2398 ) when i try to go to the calendar:

"Request Failed"

and it redirect to the inbox page.

rosali

#74
Same procedure as every time? Zip your installation and PM'me the link.
Regards,
Rosali