Greetings. This skin looks amazing but it seems that I'm getting some troubles to get it working.
I'm using roundcube 1.1.2 running on Apache2 with PHP 5.3.6
I followed the instructions but when I use the plugin, it throws PHP errors.
I used this line in config.inc.php to activate the plugin
$config['plugins'] = array('mobile');
This are the errors found in Apache's error.log:
PHP Parse error: syntax error, unexpected '[', expecting ')' in /var/www/webmail/plugins/mobile/mobile.php on line 187
PHP Stack trace:
PHP 1. {main}() /var/www/webmail/index.php:0
PHP 2. rcmail::get_instance() /var/www/webmail/index.php:43
PHP 1. {main}() /var/www/webmail/index.php:0
PHP 2. rcmail::get_instance() /var/www/webmail/index.php:43
PHP 3. rcmail->startup() /var/www/webmail/program/include/rcmail.php:77
PHP 4. rcube_plugin_api->load_plugins() /var/www/webmail/program/include/rcmail.php:130
PHP 4. rcube_plugin_api->load_plugins() /var/www/webmail/program/include/rcmail.php:130
PHP 5. rcube_plugin_api->load_plugin() /var/www/webmail/program/lib/Roundcube/rcube_plugin_api.php:108
PHP 5. rcube_plugin_api->load_plugin() /var/www/webmail/program/lib/Roundcube/rcube_plugin_api.php:108
Any suggestion about what should I try?
Thanks in advance and go on with the nice job.
PD: A very similar error is thrown when using the NO mobile version of the skin (roudcube_skin_melanie2_larry) Maybe related?
This is thrown in this case:
PHP Parse error: syntax error, unexpected '[' in /var/www/webmail/plugins/melanie2_larry/melanie2_larry.php on line 46
PHP Stack trace:
PHP 1. {main}() /var/www/webmail/index.php:0
PHP 2. rcmail::get_instance() /var/www/webmail/index.php:43
PHP 3. rcmail->startup() /var/www/webmail/program/include/rcmail.php:77
PHP 2. rcmail::get_instance() /var/www/webmail/index.php:43
PHP 3. rcmail->startup() /var/www/webmail/program/include/rcmail.php:77
PHP 4. rcube_plugin_api->load_plugins() /var/www/webmail/program/include/rcmail.php:130
PHP 5. rcube_plugin_api->load_plugin() /var/www/webmail/program/lib/Roundcube/rcube_plugin_api.php:108
PD2: I was doing some extra research and it could be related with changes in syntax for dereferencing function? (PHP 5.3 vs PHP 5.4)
If this is the reason, it would be nice to have some kind of warning about PHP version requirements of the skin

More info about dereferencing changes:
http://php.net/manual/en/language.types.array.phpPlease, let me know if you intend to do it compatible with 5.3 (using the old style with temporary variable). In my case moving to higher PHP could be problematic for other php based pages hosted in the same server.