Author Topic: Calendar plugin  (Read 66960 times)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #105 on: May 09, 2011, 08:18:58 AM »
See my footer.

All my plugins are hosted @ myroundcube - RoundCube Plugins - Google Project Hosting
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline vwmoose

  • Jr. Member
  • **
  • Posts: 10
Calendar plugin
« Reply #106 on: May 09, 2011, 10:12:08 AM »
A million apologies!  Don't know what I did there.  Your patience is welcomed thanks!

Phil

Offline vwmoose

  • Jr. Member
  • **
  • Posts: 10
Calendar plugin
« Reply #107 on: May 09, 2011, 11:02:11 AM »
OK, so now i'm up-to-date can I ask another question?    By enabling the CalDav option in Calendar settings I am presented with a few more fields e.g. username, passowrd, server url etc.

Now am I assuming that if I leave these blank and attempt to connect to my RoundCube Calendar via my iPhone I will be able to read the entries or have I failed to make my requirements clear and the CalDav option only allows me to connect to a CalDav server somewhere else and import the entries?

Cheers

Phil

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #108 on: May 09, 2011, 11:50:12 AM »
No, that's completely wrong.

CalDAV is a server application. Compare it with IMAP. So you need a provider - or you are you own provider - who has CalDAV running.

You can configure the Calendar to connect to the CalDAV service. If you configure your iPhone accordingly both devices should read/write from/into the same backend to be synced.

EDIT: It should be easy to Google's CalDAV service.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline athoomi

  • Jr. Member
  • **
  • Posts: 45
Calendar plugin
« Reply #109 on: May 19, 2011, 01:31:28 AM »
Hi,

new question :confused: :

I'd like to change an entry (e.g. Startdate changed 05.19 to 05.21). One possibility is to move the entry with drag and drop. But this doesn't work for May => July.

In "Edit Event" there is only a posibility to change the end-date (screenshot).


Any ideas?
« Last Edit: May 19, 2011, 01:33:47 AM by athoomi »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #110 on: May 19, 2011, 03:19:27 AM »
I prefer (approved) bug reports and enhancement requests at issue tracker (myroundcube - RoundCube Plugins - Google Project Hosting).

Support requests should be posted on this forum.

You are asking for an enhancement.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #111 on: May 20, 2011, 04:00:33 AM »
Check 2.6 bundle.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline billstif

  • Jr. Member
  • **
  • Posts: 37
New Calendar plugin with Caldav support
« Reply #112 on: May 25, 2011, 04:19:31 PM »
Rosali,

I assume that if I update to the latest version I will have to rerun the MySQL script?  If I do so, what impact, if any, will that have on my existing calendars?

Thanks,
Bill S.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #113 on: May 25, 2011, 11:44:02 PM »
You just have to create the `events_caldav` table and to add the 'caldav' field to `events` and `events_cache` tables.

Another approach is to export the existing events table and the to delete it. After that you run the whole script and finally re-import events table.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline billstif

  • Jr. Member
  • **
  • Posts: 37
Calendar feeds
« Reply #114 on: May 26, 2011, 12:59:35 AM »
Thanks, Rosali.  I was able to do all of that, and things work fine except that none of the calendar feeds I have added are showing.  These are feeds external to Roundcube.  Has anyone else had a similar problem?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #115 on: May 26, 2011, 03:18:48 AM »
Try most recent version (not bundled yet).

http://mail4us.net/plugins/calendar.zip
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline billstif

  • Jr. Member
  • **
  • Posts: 37
Working, sort of
« Reply #116 on: May 26, 2011, 01:25:31 PM »
I have to keep saving the categories and feeds until eventually the program reads them.  The problem may be related to this error message:

[26-May-2011 11:19:08] PHP Warning:  Invalid argument supplied for foreach() in /home4/billstif/public_html/meachamwriters/mail/plugins/calendar/calendar.php on line 699

which refer to these lines (699-700)

    foreach ($categories as $class => $color) {
      $select .= "\n";

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #117 on: May 28, 2011, 05:30:01 AM »
Try the following code to fix the error:

calendar.php:

  
function generateHTML() {
    
$rcmail rcmail::get_instance();
    
$categories $rcmail->config->get('categories');
    if(
$_SESSION['user_id'] != $_SESSION['caluserid']){
      
$user $this->getUser($_SESSION['caluserid']);
      
$prefs unserialize($user['preferences']);
      
$categories $prefs['categories'];
    }
    
$this->categories $categories;
    
$select "<select id=\"categories\" name=\"categories\">\n";
    if(
is_array($categories)){
      
$select .= "<option value=\"\">" $this->gettext('default') . "</option>\n";
      foreach (
$categories as $class => $color) {
        
$select .= "<option style=\"background-color:#$color;\" value=\"" $class "\">$class</option>\n";
      }
    }
    
$select .= "</select>";
    return 
$select;
  }
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline billstif

  • Jr. Member
  • **
  • Posts: 37
Color correction
« Reply #118 on: May 28, 2011, 02:37:14 PM »
Thanks, Rosali.  I've made the change, and that appears to have corrected the error issue.

Offline athoomi

  • Jr. Member
  • **
  • Posts: 45
Calendar plugin
« Reply #119 on: June 01, 2011, 04:08:56 AM »
Hi!

I've installed the new version.

Now I have the following problem:

Calendar-Settings:
Timeslots per hour: 4

If I add an event, there is no possibility to choose eg. 7.10, only 7.00, 7.15, 7.30, 7.45 and 7.59

Any ideas?