Author Topic: k5n WebCalendar Automatic Login with Roundcube users Session or Cookie?  (Read 8004 times)

Offline Tonny

  • Newbie
  • *
  • Posts: 3
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
« Last Edit: March 19, 2010, 01:44:22 AM by Tonny »

Offline dziobak

  • Full Member
  • ***
  • Posts: 184
k5n WebCalendar Automatic Login with Roundcube users Session or Cookie?
« Reply #1 on: March 19, 2010, 03:54:27 AM »
check in config files, there must be two or more positions to insert domain name.

Offline Tonny

  • Newbie
  • *
  • Posts: 3
There are two setting files which contains to set default domain name...
« Reply #2 on: March 21, 2010, 10:00:07 PM »
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

Offline dziobak

  • Full Member
  • ***
  • Posts: 184
k5n WebCalendar Automatic Login with Roundcube users Session or Cookie?
« Reply #3 on: March 22, 2010, 03:55:49 AM »
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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
k5n WebCalendar Automatic Login with Roundcube users Session or Cookie?
« Reply #4 on: March 22, 2010, 05:55:22 AM »
Do to spam you can't private messaging until you have 10 posts.

Offline dziobak

  • Full Member
  • ***
  • Posts: 184
k5n WebCalendar Automatic Login with Roundcube users Session or Cookie?
« Reply #5 on: March 22, 2010, 05:58:24 AM »
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
« Last Edit: March 22, 2010, 08:57:18 AM by dziobak »