MyBB Community Forums

Full Version: Mobile MyBB 1.8/1.6
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
Hi all,

I am developing a mobile-friend MyBB 1.8 theme: http://flexplat.com/mobile-mybb-18 and 1.6 theme: http://flexplat.com/mobile-mybb-16

Mobile MyBB 1.8
demo: http://mmybb18.flexplat.com (mobile-friendly when accessed from mobile web browser)
download: https://github.com/rickey29/mobile-mybb-18

Mobile MyBB 1.6
demo: http://mmybb16.flexplat.com (mobile-friendly when accessed from mobile web browser)
download: https://github.com/rickey29/mobile-mybb-16

Reply your feedback, so I can know what I should continue to do, what I should do differently.

Rickey
looks like useful for many users Smile
Yeah it's very good and useful.
Good Luck.
It's amazing but can be more friendly to install?
It looks great, I'll definitely be following development. One question I had is why do you have to edit core files to install it?
(2015-05-02, 05:33 AM)dthiago Wrote: [ -> ]It's amazing but can be more friendly to install?

(2015-05-02, 08:33 AM)Clank Wrote: [ -> ]It looks great, I'll definitely be following development. One question I had is why do you have to edit core files to install it?

Hi dthiago and Clank,

Let me answer your questions together, since the answer, from my development prospective, is almost the same.  My module can not be a pure theme solution because of following four reasons:

(1) My module includes a mobile detection function, implement by PHP -- check is user-agent has iPhone, iPad, ... as keyword.

(2) My module includes a redirection function -- if mobile, updates theme id from default one to my mobile-friendly one.

(3) MyBB theme does not support IF/ELSE, FOREACH/WHILE -- I add some new variables in my module, I have to do the IF/ELSE, FOREACH/WHILE in the core files.

(4) MyBB theme does not support Pattern, i.e. preg_match(), preg_replace().  I want to remove links from some variables, since these linkes will let user go to some templates that I do not believe they are mandatory for mobile-friendly.

If I have wrong understanding, I mean if there is some solution for the above four issues, please do let me know, so I can improve.

Any question, feel free to ask me.

Rickey
(2015-05-02, 12:17 PM)rickey29 Wrote: [ -> ]
(2015-05-02, 05:33 AM)dthiago Wrote: [ -> ]It's amazing but can be more friendly to install?

(2015-05-02, 08:33 AM)Clank Wrote: [ -> ]It looks great, I'll definitely be following development. One question I had is why do you have to edit core files to install it?

Hi dthiago and Clank,

Let me answer your questions together, since the answer, from my development prospective, is almost the same.  My module can not be a pure theme solution because of following four reasons:

(1) My module includes a mobile detection function, implement by PHP -- check is user-agent has iPhone, iPad, ... as keyword.

(2) My module includes a redirection function -- if mobile, updates theme id from default one to my mobile-friendly one.

(3) MyBB theme does not support IF/ELSE, FOREACH/WHILE -- I add some new variables in my module, I have to do the IF/ELSE, FOREACH/WHILE in the core files.

(4) MyBB theme does not support Pattern, i.e. preg_match(), preg_replace().  I want to remove links from some variables, since these linkes will let user go to some templates that I do not believe they are mandatory for mobile-friendly.

If I have wrong understanding, I mean if there is some solution for the above four issues, please do let me know, so I can improve.

Any question, feel free to ask me.

Rickey

Sure, but can't you do that with a plugin, something like what GoMobile does?
(2015-05-02, 08:33 AM)Clank Wrote: [ -> ]It looks great, I'll definitely be following development. One question I had is why do you have to edit core files to install it?

(2015-05-03, 02:22 AM)Clank Wrote: [ -> ]
(2015-05-02, 12:17 PM)rickey29 Wrote: [ -> ]
(2015-05-02, 05:33 AM)dthiago Wrote: [ -> ]It's amazing but can be more friendly to install?

(2015-05-02, 08:33 AM)Clank Wrote: [ -> ]It looks great, I'll definitely be following development. One question I had is why do you have to edit core files to install it?

Hi dthiago and Clank,

Let me answer your questions together, since the answer, from my development prospective, is almost the same.  My module can not be a pure theme solution because of following four reasons:

(1) My module includes a mobile detection function, implement by PHP -- check is user-agent has iPhone, iPad, ... as keyword.

(2) My module includes a redirection function -- if mobile, updates theme id from default one to my mobile-friendly one.

(3) MyBB theme does not support IF/ELSE, FOREACH/WHILE -- I add some new variables in my module, I have to do the IF/ELSE, FOREACH/WHILE in the core files.

(4) MyBB theme does not support Pattern, i.e. preg_match(), preg_replace().  I want to remove links from some variables, since these linkes will let user go to some templates that I do not believe they are mandatory for mobile-friendly.

If I have wrong understanding, I mean if there is some solution for the above four issues, please do let me know, so I can improve.

Any question, feel free to ask me.

Rickey

Sure, but can't you do that with a plugin, something like what GoMobile does?

I got it!  I have no idea about MyBB plugin before.  I will try to re-write this module in plugin style.  Thanks a lot.
Mobile MyBB 1.8 load 0.1.0:
There is no new feature in this load, just rewrite it based on plugin style.
demo: http://mmybb18.flexplat.com (mobile-friendly when accessed from mobile web browser)
download: https://github.com/rickey29/mobile-mybb-18
more info: http://flexplat.com/mobile-mybb-18

Mobile MyBB 1.6 load 0.1.0:
Similar module for MyBB 1.6 as my Mobile MyBB 1.8.
demo: http://mmybb16.flexplat.com (mobile-friendly when accessed from mobile web browser)
download: https://github.com/rickey29/mobile-mybb-16
more info: http://flexplat.com/mobile-mybb-16

Is there anyone interesting in "image re-sizing": 
http://mobiforge.com/design-development/...-with-ress
https://css-tricks.com/which-responsive-...d-you-use/

In detail, when end users access from mobile web browsers, web server responses a smaller size image, not the original full size one.  This change can save traffic, decrease time delay, with an acceptable picture quality for mobile.

I am exciting with this solution.  If you are also interesting in it, please also let me know, I will try to implement it.
is this support RTL ?

i install it but the view didn't change its still a desk view i make sure everything done right in the footer it shows the mobile theme chosen automatically but the viewing didnt change is there something im missing
Pages: 1 2 3 4 5 6 7