Roundcube Community Forum

 

k5n WebCalendar Automatic Login with Roundcube users Session or Cookie?

Started by Tonny, March 19, 2010, 01:30:37 AM

Previous topic - Next topic

Tonny

Roundcube 0.3.1 with k5n WebCalendar plugin.

Dear, anybody who have been using k5n webcalendar plugin with Roundcube Webmail.
When using  k5n webcalendar plugin with roundcube webmail accounts, There is some inconvenient,two step, login procedure.

So, I'd like to know how to automatic login to k5n webcalendar with userid that already logged in roundcube webmail.
In other words, using roundcube's session or cookie.

If anybody has solution to solve it, Please give me a really good lesson about this.

Thanks.
Tonny

PS: Not single_user_login

dziobak

check in config files, there must be two or more positions to insert domain name.

Tonny

One is "webcalendar/config/config.inc.php" the other  "webcalendar/app/includes/user-myroundcube.php" .

I've already set the domain name in each file however login procedure is same as  I've had before.

Could you give me a detail information about this?.

Thanks.
Tonny

dziobak

sorry, but i don't remember this. I had been posting private messages with Rosali about this, but forum admins turn off private messaging. I don't have a copy of it. Maybe Rosali can help you.

SKaero

Do to spam you can't private messaging until you have 10 posts.

dziobak

OK, so i have to write two posts and I'll give you the answer that could help you.


EDIT:
Someone have unblocked my private messaging (Thank you :-) ).
I have done two things

First I have edited this:
../plugins/webcalendar/mods/app/includes/user-myroundcube.php: line 42: $default_domain = 'mydefaultdomain.com'; remember about " ' " and " ; "
../plugins/webcalendar/config/config.inc.php: line 28: $rcmail_config['cal_default_domain'] = "mail4us.net"; remember about ' " ' and ' ; '

Second I have installed phpMyAdmin (on Rosali request) so there had been installed some dependences which may resolved the problem
the dependences with php: php5-5.2.11_1 php5-bz2-5.2.11_1 php5-ctype-5.2.11_1 php5-filter-5.2.11_1 php5-gd-5.2.11_2 php5-mbstring-5.2.11_1 php5-mcrypt-5.2.11_1 php5-mysql-5.2.11_1 php5-openssl-5.2.11_1 php5-pcre-5.2.11_1 php5-session-5.2.11_1 php5-simplexml-5.2.11_1 php5-spl-5.2.11_1 php5-zip-5.2.11_1 php5-zlib-5.2.11_1