Roundcube Community Forum

 

The New MobileMe "MobileCube"

Started by phireware, December 28, 2009, 02:52:16 PM

Previous topic - Next topic

ajl

Quote from: phireware;28218When using roundcubes default theme, try this same thing. Does the problem occur there as well?

With the default theme all attachments in the "Compose forwarded message" view display correctly: this definitely seems to be a skin-related issue. Did you manage to repeat the problem yourself with my test case?

arkhesis

in 3.0.0 (don't know in the beta), in mail.html:
messageIcon="/images/icons/blank.png"
should be:
messageIcon="/images/icons/dot.png"

ignore this if this is already corrected ;)

Joel_B

#137
Hi,

I've just tried the MobileCube 3.1 Beta... Is there any way to enable Threading...? I have it working with 0.4 Stable, but it's not showing with MobileCube 3.1 Beta...

Is this working in MobileCube 3...?

Thanks,

Joel

PS: Great theme, as always...!

SKaero

Threading is only available in 0.4 why would you use 0.3.1beta?

Joel_B

Quote from: skaero;29257Threading is only available in 0.4 why would you use 0.3.1beta?

I am using Roundcube 0.4 Stable. I'm using MobileCube 3.1 Beta as I thought it was the most recent.

From the MobileCube's developers website I can see the requirements are for RoundCube 0.3.1+ .

Hope this clears things up...

SKaero

Ah, sorry once again I have been fooled by theme vs RoundCube version numbers.

localhorst

How about a "auto-recognition" for mobile devices?
To explain: if somebody loggs in with his computer, I want the default style to be displayed, if someone is loggin in with his smartphone, it should automatically be switched to the mobile style.
I have this working with phpBB - the board recognizes the mobile devices with their browser identification and switches over to the mobile style automatically.

Just as an example, this is the main code to recognize mobile devices:
     // begin mobile browser detection mod - by sithnar
      $user_browser = strtolower($this->browser);
      $this->data['is_mobile'] = false;
              $browsers_array = array('240x320', '320x240','blackberry', 'iemobile', 'minimobile', 'iPhone', 'iPod', 'opera mini', 'Opera Mobi', 'nokia', 'phone', 'pocket', 'psp',  'sony', 'samsung', 'windows ce', 'epoc', 'nitro', 'j2me', 'midp', 'cldc', 'netfront', 'mot', 'up.browser', 'audiovox', 'ericsson', 'panasonic', 'philips', 'sanyo', 'sharp', 'android', 'portalmmm', 'blazer', 'avantgo', 'danger', 'series60', 'palmsource', 'pocketpc', 'smartphone', 'rover', 'ipaq', 'au-mic', 'alcatel', 'ericy', 'up.link', 'vodafone', 'wap1.', 'wap2.', 'symbian', 't-shark', 'wireless', 'webOS', 'Pre/', 'Android');
      foreach ($browsers_array as $ua_match)
      {
       if (strpos($user_browser, $ua_match) !== false)
       {
        $style = 3;
        $this->data['is_mobile'] = true;
        break;
       }
      }
      // end mobile browser detection mod


Works pretty good, but atm I have no idea if something like that could be implemented in roundcube, I'm not very much into the code yet. ;)
Ideas?

SKaero

Yes it could, but your missing a large chunk of code there.

localhorst

Yes, as I wrote before - this is just an example how the mobile devices are recognized in this mod for phpBB. I have no idea how the styles are managed in Roundcube, as I haven't got into the code yet, just installed it as a plain vanilla.
So, there are no solutions, regarding this automatic recognition, made for Roundcube yet?

SKaero


localhorst

Thanks Skaero!
Well, I guess this would be a useful extension to the mobile theme.
Or how do people here solve the problem? A second installation of roundcube for mobile users, just using the same database?

SKaero

I don't think anyone has an mobile version of RoundCube, the main problem is a lack of any mobile skins for RoundCube.

ABerglund

#147
It is worth noting here that - despite the name - MobileCube is not (and was never intended to be) a mobile-friendly skin for Roundcube. It was designed to mimic (and is named after) the user interface of Apple's MobileMe cloud-mail.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

localhorst

OK, thank you ABerglund, this seems to be a big misunderstanding!
Sorry for bugging you guys, I thought this is a mobile theme version for Roundcube. And in the end the target could be achieved with those IMAP clients, coming with the mobile systems. But anyway, a mobile version of Roundcube would have been nice - to be in the environment you are used to. ;)
Have a nice weekend!

conej

I'm using the latest trunk of the 0.4 beta, with the 3.1.0 (#062010A) Mobile Cube skin, and am unable to add attachments in the compose message view.  When I click on the "Attach a file" link nothing happens and the "+" sign on the attachments panel is grayed out.  However when forwarding a message with attachments the attachments do show up and I can remove them.  Has anyone else noticed this?

Regards,
Jon