Hi
I Tried to install calendar plugin for roundcube :
But nothing happened in roundcube. whats problem? is there anyway to install plugins from CB2?
I Tried to install calendar plugin for roundcube :
Code:
#yum install git php-sabre-*
#cd /tmp
#git clone https://git.kolab.org/diffusion/RPK/roundcubemail-plugins-kolab.git
#cd /var/www/html/roundcube/plugins/
#cp -r /tmp/roundcubemail-plugins-kolab/plugins/calendar .
#cp -r /tmp/roundcubemail-plugins-kolab/plugins/libcalendaring .
#cd calendar
#cp config.inc.php.dist config.inc.php
First backed up db: #mysqldump --user da_admin --password="123456" da_roundcube > /var/www/html/roundcube/plugins/calendar/da_roundcubeBK.sql
Restore plugin db:
#mysql --user=da_admin --password="123456" da_roundcube < /var/www/html/roundcubemail-1.3.1/SQL/mysql.initial.sql
#cd ../libcalendaring
#vi libvcalendar.php
Add this lines:
spl_autoload_register(function ($class) {
if (strpos($class, 'Sabre\\')===0) {
$file = '/usr/share/php/'.str_replace('\\', '/', $class).'.php';
@include $file;
}
}
But nothing happened in roundcube. whats problem? is there anyway to install plugins from CB2?