Roundcube Community Forum

 

Switch Calendar User

Started by Asimov6, June 19, 2010, 05:45:51 AM

Previous topic - Next topic

Asimov6

Hi,

First, thanks for roundcube!

I have a question: I installed the calendar plugin. At the demo site I saw that it is posible to switch to a calendar of another user. When I press the 'Switch Calendar' button on my calendar, I only see my own user.

How can I switch to other user's calendars?

Thank for you time.

Asimov

dziobak

This option is when sharing calendars...a user should give you link to his calendar and you have to add it to calendar feeds.

Asimov6


Asimov6

Quote from: dziobak;28168This option is when sharing calendars...a user should give you link to his calendar and you have to add it to calendar feeds.

It is not working for me. Here is what I do:

Go to calendar feeds of user1, click on the checkbox next to 'confidential feed access'
Copy the shown url
Go to calender feeds of user2, click on add feed and paste the url
Click on save

The added feed doesn't show up in the list and I can't see the user shared calendar.

Any idea what is going wrong?

dziobak

have you got errors in error log?

Asimov6

no, no errors in error.log

Asimov6

Sorry, there are errors:

[19-Jun-2010 22:43:36] PHP Warning:  array_combine() [function.array-combine]: Both parameters should have an equal number of elements in /var/www/roundcube/plugins/calendar/calendar.php on line 1059
[19-Jun-2010 22:43:36] PHP Warning:  Invalid argument supplied for foreach() in /var/www/roundcube/plugins/calendar/calendar.php on line 1066

Asimov6

When I do a print_r with the $categories and the $feeds array in the function saveSettings, I notice that $categories has 1 element and $feeds has two.
The $feeds array has the first element empty and the second element is the supplied feed url.

LMSSML

#8
Hi there Asimov6


Did you do it succesfully sharing calendar between users ?

And how did you did it ?

When I had the url to my other second user The calendar feeds goes gray and nothing appear.

This is what my error log do:

mailserver roundcube: PHP Fatal error:  Call to undefined function curl_init() in /var/www/rc4/plugins/calendar/calendar.php on line 989


Is that normal ?


Thansk in advanced

SKaero

Make sure curl is installed and enabled in your php.ini

LMSSML

Hi thanks for the awnser.

Could you explain how to activate the curl on php ?

Couldn't  catch that.
Thanks

LMSSML

#11
Have done


I have installed the curl lib to php

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl php5-mcrypt

Althout I got another error

  mailserver roundcube: PHP Fatal error:  Call to undefined function curl_init() in /var/www/rc4/plugins/calendar/calendar.php on line 989
 mailserver roundcube: PHP Warning:  Invalid argument supplied for foreach() in /var/www/rc4/plugins/calendar/calendar.php on line 1096

ANy help ?

dziobak

Do you know what google is? Everyone want to help you....
PHP: Installing/Configuring - Manual

clone

Quote from: Asimov6;28163Hi,

First, thanks for roundcube!

I have a question: I installed the calendar plugin. At the demo site I saw that it is posible to switch to a calendar of another user. When I press the 'Switch Calendar' button on my calendar, I only see my own user.

How can I switch to other user's calendars?

Thank for you time.

Asimov

i just wanted to ask the same question.
what for is this option if you only see the logged in user in the select box? :confused:

ps: anyway a very nice plugin 2tu! ;)

AngelKing

I have the same issue, but when i change the user i become a time out. I see the user feed, but i cant change to them.

php5-curl is installed.

System: Debian Lenny amd64
Webfront: ispcp 1.0.7
Roundcube: 0.5.2
Plugin Bundele: roundcube-0.5.2-bundle-v2.1

I have check the logs, but no errors.

Have you any Idea?

Thank you very much!