(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.

(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?

(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.

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