Roundcube Community Forum

 

Calendar PlugIn

Started by sz, May 08, 2007, 06:06:13 AM

Previous topic - Next topic

subzonic


truderinger

#31
Hallo,

thanks to rccalendar. I install rcc and I see this. I click on the button writte and the system say

SERVICE CURRENTLY NOT AVAILABLE!

Error No. 1f4)


My roundcube works very fine. I fond this with google:

-------------------------------------
Check your MYSQL table 'users' under the 'preferences' field, it is set to NOT NULL to begin with, however the INSERT string that creates a users upon login doesn't populate the field, therefore we have to change the table structure to the following...

CREATE TABLE users (

    user_id int(10) UNSIGNED NOT NULL AUTO_INCREMENT, username varchar(128) NOT NULL, mail_host varchar(128) NOT NULL, alias varchar(128) NOT NULL, created datetime NOT NULL DEFAULT '0000-00-00 00:00:00', last_login datetime NOT NULL DEFAULT '0000-00-00 00:00:00', language varchar(5) NOT NULL DEFAULT 'en', preferences text NOT NULL DEFAULT , PRIMARY KEY(user_id)

) TYPE=MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;
----------------------------------

My database is o.k.. Whats wrong? Thanks for our help!

Jimi Bondi

stefa.rossi

Is there a calendar for Roundcube Webmail v0.2-alpha?

lacri

has anyone this great plugin for RC 0.2.2 or 0.3 ?
i think this is a beautifull calendar script for RC.

looks been a little bit nicer more than the calendar from myroundcube

lacri

i have ported this to the current SVN ... hmm calender dosnt work the iframe is empty no javascript or php errors ... i have add to func the output handlers

$OUTPUT
->add_handlers(array(
  
'calendarframe' => 'rcmail_calendar_frame',
        
'calendarlist' => 'rcmail_calendar_list',
        
'daycontent' => 'rcmail_day_content',
        
'weekcontent' => 'rcmail_week_content',
        
'monthcontent' => 'rcmail_month_content',
        
'seteventbuttons' => 'rcmail_set_event_buttons',
        
'createeventformstart' => 'rcmail_create_event_form_start',
        
'createeventformend' => 'rcmail_create_event_form_end'
        
));


and i remove the parse_template calls and add the $OUTPUT->send(); calls only the calendar admin page will work i have also create a calendar and is correct in the DB.

Only by opening the page is nothing shown.

lacri

#35
now works the port, and i work on some improvements.

here is a screenshoot of current status ... :)

when is finish i will post the calendar files with changes

lacri

#36
here is a new screenshoot to show the current status

mass little style optimizations
new see week number
higlight weekends and current day
and many other

since now RC 0.3 trunk supports in the API new Tasks
i will port this PlugIn into API as new Styled API PlugIn.

alo

Hi,
there some news about rccalendar for rc 0.3 and php5. Could i help in some way?

thanks,
alo

flattery

So how many years does it take to actually make a plugin.  I am assuming that after this much time that it is actually abandoned.

I am unable to find a calendar plugin for RoundCube which really surprises me as a calendar is hugely integral with webmail.  Gmail, Hotmail, Outlook, and so on... they all have calendars.

So since no one else is up to this task I guess I will need to start working on one if I don't find one soon and it won't take years to get into a usable plugin.

toetag

<[ a desert to an irishman is an empty glass. ]>

flattery

I did a little bit, but it doesn't seem to integrate well.  Even on the demo you have to login to webcalendar separately.

Unless I am wrong. Perhaps I am missing something or some setting, but I am looking for something to be seamless.

flattery

I thought I had it working seamless with some code modification, but I was apparently wrong in thinking that $_SESSION['validuser'] gives me a unique ID for the current user.

I assumed this was the variable to use, but when I logged in with two different users I got the same variable.

So can anyone tell me how to get the id or username or something unique for the current user?  I have been searching the code and trying things but nothing that I find seems to work.

flattery

Well I got it to work for me seamlessly.  Had to hack up the code a little since I don't know how to grab the user_id, but it works.

Just through in a cookie to initialize the current user_id and then grabbed it in webcalendar.

Nice calendar when it works right.

rosali

Please post your hacks!
Regards,
Rosali

flattery

Well basically I set it up as single user mode and then in the config.php file I set the user.

I will post my hack in a few days when I get some time, but it does need a little more work and it is definitely a hack.