Mobile MyBB 1.8/1.6
#1
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
Reply
#2
looks like useful for many users Smile
Reply
#3
Yeah it's very good and useful.
Good Luck.
MyBB
ــــــــــــــ

ــــــــــــــ
ــــــــــــــ
Reply
#4
It's amazing but can be more friendly to install?
[Image: 468x60_bf4brasil_site_zpsd7eefd7f.png]
Reply
#5
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?
Reply
#6
(05-02-2015, 05:33 AM)dthiago Wrote: It's amazing but can be more friendly to install?

(05-02-2015, 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
Reply
#7
(05-02-2015, 12:17 PM)rickey29 Wrote:
(05-02-2015, 05:33 AM)dthiago Wrote: It's amazing but can be more friendly to install?

(05-02-2015, 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?
Reply
#8
(05-02-2015, 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?

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

(05-02-2015, 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.
Reply
#9
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.
Reply
#10
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)