Author Topic: Melanie2 Larry Mobile skin v0.4.7 / Roundcube 1.2.3  (Read 138494 times)

Offline twisterbr

  • Jr. Member
  • **
  • Posts: 26
Re: Melanie2 Larry Mobile skin v0.4.1 / Roundcube 1.1.2
« Reply #30 on: August 25, 2015, 11:05:03 AM »
I downloaded this skin and its just awesome! You guys did a great job!
Now i'm trying to edit the skin for personal styiling and want to ask if anyone can help me with someth.

Is it possible to edit the roundcube object textarea?

I want to make it look like the image attached, by putting a placeholder on the compose fields.
Is it possible to do it on compose.html of the skin?
<roundcube:object name="composeHeaders" part="to" form="form" id="_to" rows="1" tabindex="2" />

thx

Offline tpayen

  • Jr. Member
  • **
  • Posts: 45
    • Melanie2 Messaging
Re: Melanie2 Larry Mobile skin v0.4.1 / Roundcube 1.1.2
« Reply #31 on: August 26, 2015, 04:50:26 AM »
Hi,
It seems that the Roundcube framework doesn't support placeholder for textarea.

In program/lib/Roundcube/html.php
'placeholder' isn't in the "$allowed" array for html_textarea class, but is present for html_inputfield class.
You can try to add it and suggest the correction to the Roundcube team



Offline twisterbr

  • Jr. Member
  • **
  • Posts: 26
Re: Melanie2 Larry Mobile skin v0.4.1 / Roundcube 1.1.2
« Reply #32 on: August 26, 2015, 08:28:32 AM »
I tried putting placeholder on the allowed array and then on the object on compose.html, but it didn't work.
I'll keep trying.
They should include it on the framework anyway since it's a basic parameter.

Thanks for the tip!

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Melanie2 Larry Mobile skin v0.4.1 / Roundcube 1.1.2
« Reply #33 on: August 26, 2015, 01:58:28 PM »
You could add the place holder via Javascript.

Offline jokela

  • Newbie
  • *
  • Posts: 2
Re: Melanie2 Larry Mobile skin v0.4.1 / Roundcube 1.1.2
« Reply #34 on: September 03, 2015, 09:21:35 AM »
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.php

Please, 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.
« Last Edit: September 03, 2015, 09:46:57 AM by jokela »

Offline jvenezia

  • Newbie
  • *
  • Posts: 1
Re: Melanie2 Larry Mobile skin v0.4.1 / Roundcube 1.1.2
« Reply #35 on: September 09, 2015, 08:25:29 PM »
Hi-
Was able to make skin work once but could not upload attachments.  uninstalled everything and reinstalled.  Now attachments work, bu the mobile plugin just shows a blank screen when enabled.  Have you seen this before?  Any suggestions?  Centos 6.7, apache 2.2, PhP 5.3.3.  If I select the melanie2_larry_mobile skin manually, no css seems to load.  Looks like the templates without CSS.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Melanie2 Larry Mobile skin v0.4.1 / Roundcube 1.1.2
« Reply #36 on: September 09, 2015, 10:44:25 PM »
The skin plugin is using PHP 5.4.x syntax, you'll have to update PHP to use the plugin.

Offline jokela

  • Newbie
  • *
  • Posts: 2
Re: Melanie2 Larry Mobile skin v0.4.1 / Roundcube 1.1.2
« Reply #37 on: September 17, 2015, 07:09:00 AM »
Finally I migrated the webmail service to a different server, and I can confirm that this is compatible with PHP 5.4, but NO with PHP 5.3.

As I suggested in the other post, please, consider to include a big warning of php version requirements so anyone else know and not spend time with old PHP versions.


Nice work and great usability, thanks a lot for your efforts.

Offline tpayen

  • Jr. Member
  • **
  • Posts: 45
    • Melanie2 Messaging
Re: Melanie2 Larry Mobile skin v0.4.1 / Roundcube 1.1.2
« Reply #38 on: September 24, 2015, 11:15:53 AM »
Hi,
Indeed mobile skin currently needs PHP 5.4, but this is just a syntax problem. Next time I update the project, I'll correct it.
And thanks for your support :-)
tpayen

Offline mrsuchy

  • Newbie
  • *
  • Posts: 2
Re: Melanie2 Larry Mobile skin v0.4.1 / Roundcube 1.1.2
« Reply #39 on: October 21, 2015, 09:27:14 AM »
Where I can find my attachments in email view ?

---edit
I see attachments when I display a email and refresh browser page.
« Last Edit: October 21, 2015, 09:35:44 AM by mrsuchy »

Offline tpayen

  • Jr. Member
  • **
  • Posts: 45
    • Melanie2 Messaging
Re: Melanie2 Larry Mobile skin v0.4.1 / Roundcube 1.1.2
« Reply #40 on: October 21, 2015, 09:45:38 AM »
Attachments are listed above the message body
You must use the lastest version (0.4.4) cause versions < 0.4.3 are bugged with attachments

skin v0.4.4 : https://github.com/messagerie-melanie2/roundcube_skin_melanie2_larry_mobile/releases/tag/v0.4.4
plugin v0.4.4 : https://github.com/messagerie-melanie2/roundcube_mobile/releases/tag/v0.4.4

Offline mrsuchy

  • Newbie
  • *
  • Posts: 2
Re: Melanie2 Larry Mobile skin v0.4.4 / Roundcube 1.1.3
« Reply #41 on: October 21, 2015, 01:16:15 PM »
Thanks. It's works.

Offline tiagoalam

  • Newbie
  • *
  • Posts: 2
Re: Melanie2 Larry Mobile skin v0.4.4 / Roundcube 1.1.3
« Reply #42 on: October 23, 2015, 09:08:48 AM »
Thank you for theme, really good.

Please, I have a problem when accessed through Safari on iOS, the email list is not displayed, it is necessary to recharge to be shown.
You could look at it? thank you!

Offline tpayen

  • Jr. Member
  • **
  • Posts: 45
    • Melanie2 Messaging
Re: Melanie2 Larry Mobile skin v0.4.4 / Roundcube 1.1.3
« Reply #43 on: October 23, 2015, 09:16:38 AM »
There is a incompatibility between Safari, Jquery Mobile and Roundcube. Unfortunately I can't correct it directly in the mobile plugin.
But you can find all information to solve the problem in this github issue : https://github.com/messagerie-melanie2/roundcube_skin_melanie2_larry_mobile/issues/4

Offline tiagoalam

  • Newbie
  • *
  • Posts: 2
Re: Melanie2 Larry Mobile skin v0.4.4 / Roundcube 1.1.3
« Reply #44 on: October 23, 2015, 10:01:27 AM »
Thanks!!!