Mobile MyBB 1.8/1.6
#11
(07-05-2015, 09:50 PM)ridharezzag Wrote: 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

Hi ridharezzag,

Please let me know your URL, so I can check.  PM the URL is also OK for me.

Thanks,

Rickey

By the way, my module does support Right To Left.  Any problem for RTL, please let me know.
Reply
#12
Mobile MyBB 1.8 load 1.0.0:
new feature: post thread and new reply
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 1.0.0:
new feature: post thread and new reply
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
Reply
#13
On the 1.8 demo, when using the demo site from a desktop browser (and selecting the mobile theme), viewing threads seems to be broken. (no style sheet is loaded and it looks like only the header is loaded). Is that an issue on my end?
Reply
#14
(08-03-2015, 02:51 AM)Clank Wrote: On the 1.8 demo, when using the demo site from a desktop browser (and selecting the mobile theme), viewing threads seems to be broken. (no style sheet is loaded and it looks like only the header is loaded). Is that an issue on my end?
This is because my style is based on jQuery Mobile theme, jQuery Mobile's .css and .js files are big, sometimes end users can not download the .css and/or .js files successfully.  If you switch to debug mode, you will find you can download the .html file successfully, but failure for .css and/or .js file(s), that is the problem.  In this situation, you have to refresh to get the whole page.

Any question, please let me know, I will try to help.
Reply
#15
(08-03-2015, 07:12 AM)rickey29 Wrote:
(08-03-2015, 02:51 AM)Clank Wrote: On the 1.8 demo, when using the demo site from a desktop browser (and selecting the mobile theme), viewing threads seems to be broken. (no style sheet is loaded and it looks like only the header is loaded). Is that an issue on my end?
This is because my style is based on jQuery Mobile theme, jQuery Mobile's .css and .js files are big, sometimes end users can not download the .css and/or .js files successfully.  If you switch to debug mode, you will find you can download the .html file successfully, but failure for .css and/or .js file(s), that is the problem.  In this situation, you have to refresh to get the whole page.

Any question, please let me know, I will try to help.

I've tried refreshing and that doesn't seem to work. This only seems to happen when I load it with a desktop user agent, then switch to the mobile theme. (it works if I use a mobile agent on my phone, but if I spoof it with a desktop agent on my phone, then switch, it still breaks).

This is the HTML that loads, it doesn't seem to have any links to css or js files, so I'm not sure if that's the problem.

I'm using Firefox Nightly on desktop and Firefox stable on mobile.

Code:
<!DOCTYPE html><!-- start: showthread -->
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Rain Rain Go Away</title>

</head>
<body>
<!-- start: header -->
<div data-role="page">
<div data-role="header" data-position="fixed">
<a href="[url=view-source:http://mmybb18.flexplat.com/index.php?m-mode=option]http://mmybb18.flexplat.com/index.php?m-mode=option[/url]" data-rel="dialog" data-icon="bars" data-transition="pop"></a>
<h1>Forums</h1>
</div>
<div data-role="content">
<ul data-role="listview">

<!-- start: nav -->
<li>
<div data-role="collapsible" data-mini="true" data-theme="b" data-content-theme="d">
<h4></h4>
<ul data-role="listview">
<!-- start: nav_bit -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/index.php]http://mmybb18.flexplat.com/index.php[/url]" rel="external">Forums</a>
</li>
<!-- end: nav_bit --><!-- start: nav_bit -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/forumdisplay.php?fid=1]forumdisplay.php?fid=1[/url]" rel="external">My Category</a>
</li>
<!-- end: nav_bit --><!-- start: nav_bit -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/forumdisplay.php?fid=3]forumdisplay.php?fid=3[/url]" rel="external">Nursery Rhyme</a>
</li>
<!-- end: nav_bit -->
<!-- start: nav_bit_active -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/showthread.php?tid=13]showthread.php?tid=13[/url]" rel="external">Rain Rain Go Away</a>
</li>
<!-- end: nav_bit_active -->
</ul>
</div>
</li>
<!-- end: nav -->
<!-- end: header -->
<li>
<div>

</div>
</li>
<li data-role="list-divider">Rain Rain Go Away</li>
<!-- start: postbit -->

<!-- end: postbit --><!-- start: postbit -->

<!-- end: postbit --><!-- start: postbit -->

<!-- end: postbit --><!-- start: postbit -->

<!-- end: postbit -->
<li>
<div>
<a href="[url=view-source:http://mmybb18.flexplat.com/showthread.php?tid=13&action=nextoldest]showthread.php?tid=13&amp;action=nextoldest[/url]" rel="external" data-role="button" data-inline="true" data-theme="b">Next Oldest</a>
<a href="[url=view-source:http://mmybb18.flexplat.com/showthread.php?tid=13&action=nextnewest]showthread.php?tid=13&amp;action=nextnewest[/url]" rel="external" data-role="button" data-inline="true" data-theme="b">Next Newest</a>
</div>
</li>
</ul>

<!-- start: footer -->
</div>
</div>
<!-- end: footer -->
</body>
</html>
<!-- end: showthread -->
Reply
#16
(08-03-2015, 07:21 AM)Clank Wrote:
(08-03-2015, 07:12 AM)rickey29 Wrote:
(08-03-2015, 02:51 AM)Clank Wrote: On the 1.8 demo, when using the demo site from a desktop browser (and selecting the mobile theme), viewing threads seems to be broken. (no style sheet is loaded and it looks like only the header is loaded). Is that an issue on my end?
This is because my style is based on jQuery Mobile theme, jQuery Mobile's .css and .js files are big, sometimes end users can not download the .css and/or .js files successfully.  If you switch to debug mode, you will find you can download the .html file successfully, but failure for .css and/or .js file(s), that is the problem.  In this situation, you have to refresh to get the whole page.

Any question, please let me know, I will try to help.

I've tried refreshing and that doesn't seem to work. This only seems to happen when I load it with a desktop user agent, then switch to the mobile theme. (it works if I use a mobile agent on my phone, but if I spoof it with a desktop agent on my phone, then switch, it still breaks).

This is the HTML that loads, it doesn't seem to have any links to css or js files, so I'm not sure if that's the problem.

I'm using Firefox Nightly on desktop and Firefox stable on mobile.

Code:
<!DOCTYPE html><!-- start: showthread -->
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Rain Rain Go Away</title>

</head>
<body>
<!-- start: header -->
<div data-role="page">
<div data-role="header" data-position="fixed">
<a href="[url=view-source:http://mmybb18.flexplat.com/index.php?m-mode=option]http://mmybb18.flexplat.com/index.php?m-mode=option[/url]" data-rel="dialog" data-icon="bars" data-transition="pop"></a>
<h1>Forums</h1>
</div>
<div data-role="content">
<ul data-role="listview">

<!-- start: nav -->
<li>
<div data-role="collapsible" data-mini="true" data-theme="b" data-content-theme="d">
<h4></h4>
<ul data-role="listview">
<!-- start: nav_bit -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/index.php]http://mmybb18.flexplat.com/index.php[/url]" rel="external">Forums</a>
</li>
<!-- end: nav_bit --><!-- start: nav_bit -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/forumdisplay.php?fid=1]forumdisplay.php?fid=1[/url]" rel="external">My Category</a>
</li>
<!-- end: nav_bit --><!-- start: nav_bit -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/forumdisplay.php?fid=3]forumdisplay.php?fid=3[/url]" rel="external">Nursery Rhyme</a>
</li>
<!-- end: nav_bit -->
<!-- start: nav_bit_active -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/showthread.php?tid=13]showthread.php?tid=13[/url]" rel="external">Rain Rain Go Away</a>
</li>
<!-- end: nav_bit_active -->
</ul>
</div>
</li>
<!-- end: nav -->
<!-- end: header -->
<li>
<div>

</div>
</li>
<li data-role="list-divider">Rain Rain Go Away</li>
<!-- start: postbit -->

<!-- end: postbit --><!-- start: postbit -->

<!-- end: postbit --><!-- start: postbit -->

<!-- end: postbit --><!-- start: postbit -->

<!-- end: postbit -->
<li>
<div>
<a href="[url=view-source:http://mmybb18.flexplat.com/showthread.php?tid=13&action=nextoldest]showthread.php?tid=13&amp;action=nextoldest[/url]" rel="external" data-role="button" data-inline="true" data-theme="b">Next Oldest</a>
<a href="[url=view-source:http://mmybb18.flexplat.com/showthread.php?tid=13&action=nextnewest]showthread.php?tid=13&amp;action=nextnewest[/url]" rel="external" data-role="button" data-inline="true" data-theme="b">Next Newest</a>
</div>
</li>
</ul>

<!-- start: footer -->
</div>
</div>
<!-- end: footer -->
</body>
</html>
<!-- end: showthread -->
Hi Clank,

I am very sorry for the later response, I am just back from a trip.

The problem is caused by you changing the User Agent from mobile to desktop on one web browser, and/or vice versa.  End users should not do this changing.

The solution is, when switching from desktop User Agent to mobile one, you should add follow URL after "index.php" in web browser address bar: "?m-redirection=mobile", which means forcing my module to do mobile detection checking and redirect to mobile (if User Agent is mobile).  When switching from mobile User Agent to desktop one, you should add follow URL after "index.php": "?m-redirection=desktop", which means forcing to desktop.

If you use my module previous version, you will know that the previous one does not have this issue, but this one has, because I do updating here.  Previous version does mobile detection checking every time.  The new version does it for the first time and save the result in cookie.  So, another solution is you clear the cookie after changing the User Agent.  The cookie name is: "mybb[m_style]", the value is "mobile" or "desktop".

Let me know if this solution works or not.  If not, I will install a FireFox and repeat the issue in my environment.

Sorry again for the later response.

Rickey
Reply
#17
(08-07-2015, 12:18 PM)rickey29 Wrote:
(08-03-2015, 07:21 AM)Clank Wrote:
(08-03-2015, 07:12 AM)rickey29 Wrote:
(08-03-2015, 02:51 AM)Clank Wrote: On the 1.8 demo, when using the demo site from a desktop browser (and selecting the mobile theme), viewing threads seems to be broken. (no style sheet is loaded and it looks like only the header is loaded). Is that an issue on my end?
This is because my style is based on jQuery Mobile theme, jQuery Mobile's .css and .js files are big, sometimes end users can not download the .css and/or .js files successfully.  If you switch to debug mode, you will find you can download the .html file successfully, but failure for .css and/or .js file(s), that is the problem.  In this situation, you have to refresh to get the whole page.

Any question, please let me know, I will try to help.

I've tried refreshing and that doesn't seem to work. This only seems to happen when I load it with a desktop user agent, then switch to the mobile theme. (it works if I use a mobile agent on my phone, but if I spoof it with a desktop agent on my phone, then switch, it still breaks).

This is the HTML that loads, it doesn't seem to have any links to css or js files, so I'm not sure if that's the problem.

I'm using Firefox Nightly on desktop and Firefox stable on mobile.

Code:
<!DOCTYPE html><!-- start: showthread -->
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Rain Rain Go Away</title>

</head>
<body>
<!-- start: header -->
<div data-role="page">
<div data-role="header" data-position="fixed">
<a href="[url=view-source:http://mmybb18.flexplat.com/index.php?m-mode=option]http://mmybb18.flexplat.com/index.php?m-mode=option[/url]" data-rel="dialog" data-icon="bars" data-transition="pop"></a>
<h1>Forums</h1>
</div>
<div data-role="content">
<ul data-role="listview">

<!-- start: nav -->
<li>
<div data-role="collapsible" data-mini="true" data-theme="b" data-content-theme="d">
<h4></h4>
<ul data-role="listview">
<!-- start: nav_bit -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/index.php]http://mmybb18.flexplat.com/index.php[/url]" rel="external">Forums</a>
</li>
<!-- end: nav_bit --><!-- start: nav_bit -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/forumdisplay.php?fid=1]forumdisplay.php?fid=1[/url]" rel="external">My Category</a>
</li>
<!-- end: nav_bit --><!-- start: nav_bit -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/forumdisplay.php?fid=3]forumdisplay.php?fid=3[/url]" rel="external">Nursery Rhyme</a>
</li>
<!-- end: nav_bit -->
<!-- start: nav_bit_active -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/showthread.php?tid=13]showthread.php?tid=13[/url]" rel="external">Rain Rain Go Away</a>
</li>
<!-- end: nav_bit_active -->
</ul>
</div>
</li>
<!-- end: nav -->
<!-- end: header -->
<li>
<div>

</div>
</li>
<li data-role="list-divider">Rain Rain Go Away</li>
<!-- start: postbit -->

<!-- end: postbit --><!-- start: postbit -->

<!-- end: postbit --><!-- start: postbit -->

<!-- end: postbit --><!-- start: postbit -->

<!-- end: postbit -->
<li>
<div>
<a href="[url=view-source:http://mmybb18.flexplat.com/showthread.php?tid=13&action=nextoldest]showthread.php?tid=13&amp;action=nextoldest[/url]" rel="external" data-role="button" data-inline="true" data-theme="b">Next Oldest</a>
<a href="[url=view-source:http://mmybb18.flexplat.com/showthread.php?tid=13&action=nextnewest]showthread.php?tid=13&amp;action=nextnewest[/url]" rel="external" data-role="button" data-inline="true" data-theme="b">Next Newest</a>
</div>
</li>
</ul>

<!-- start: footer -->
</div>
</div>
<!-- end: footer -->
</body>
</html>
<!-- end: showthread -->
Hi Clank,

I am very sorry for the later response, I am just back from a trip.

The problem is caused by you changing the User Agent from mobile to desktop on one web browser, and/or vice versa.  End users should not do this changing.

The solution is, when switching from desktop User Agent to mobile one, you should add follow URL after "index.php" in web browser address bar: "?m-redirection=mobile", which means forcing my module to do mobile detection checking and redirect to mobile (if User Agent is mobile).  When switching from mobile User Agent to desktop one, you should add follow URL after "index.php": "?m-redirection=desktop", which means forcing to desktop.

If you use my module previous version, you will know that the previous one does not have this issue, but this one has, because I do updating here.  Previous version does mobile detection checking every time.  The new version does it for the first time and save the result in cookie.  So, another solution is you clear the cookie after changing the User Agent.  The cookie name is: "mybb[m_style]", the value is "mobile" or "desktop".

Let me know if this solution works or not.  If not, I will install a FireFox and repeat the issue in my environment.

Sorry again for the later response.

Rickey

Ah, alright. I can work around that, I normally just use the mobile skin most of the time, then jump to the desktop version when I need to do more advanced stuff (such as modding), but I wasn't seeing an easy way to jump back to mobile. I can just put a link to that next the the archive link in the footer.

And no worries on the time, I know how much work it is to maintain and support a plugin.
Reply
#18
(08-07-2015, 09:48 PM)Clank Wrote:
(08-07-2015, 12:18 PM)rickey29 Wrote:
(08-03-2015, 07:21 AM)Clank Wrote:
(08-03-2015, 07:12 AM)rickey29 Wrote:
(08-03-2015, 02:51 AM)Clank Wrote: On the 1.8 demo, when using the demo site from a desktop browser (and selecting the mobile theme), viewing threads seems to be broken. (no style sheet is loaded and it looks like only the header is loaded). Is that an issue on my end?
This is because my style is based on jQuery Mobile theme, jQuery Mobile's .css and .js files are big, sometimes end users can not download the .css and/or .js files successfully.  If you switch to debug mode, you will find you can download the .html file successfully, but failure for .css and/or .js file(s), that is the problem.  In this situation, you have to refresh to get the whole page.

Any question, please let me know, I will try to help.

I've tried refreshing and that doesn't seem to work. This only seems to happen when I load it with a desktop user agent, then switch to the mobile theme. (it works if I use a mobile agent on my phone, but if I spoof it with a desktop agent on my phone, then switch, it still breaks).

This is the HTML that loads, it doesn't seem to have any links to css or js files, so I'm not sure if that's the problem.

I'm using Firefox Nightly on desktop and Firefox stable on mobile.

Code:
<!DOCTYPE html><!-- start: showthread -->
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Rain Rain Go Away</title>

</head>
<body>
<!-- start: header -->
<div data-role="page">
<div data-role="header" data-position="fixed">
<a href="[url=view-source:http://mmybb18.flexplat.com/index.php?m-mode=option]http://mmybb18.flexplat.com/index.php?m-mode=option[/url]" data-rel="dialog" data-icon="bars" data-transition="pop"></a>
<h1>Forums</h1>
</div>
<div data-role="content">
<ul data-role="listview">

<!-- start: nav -->
<li>
<div data-role="collapsible" data-mini="true" data-theme="b" data-content-theme="d">
<h4></h4>
<ul data-role="listview">
<!-- start: nav_bit -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/index.php]http://mmybb18.flexplat.com/index.php[/url]" rel="external">Forums</a>
</li>
<!-- end: nav_bit --><!-- start: nav_bit -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/forumdisplay.php?fid=1]forumdisplay.php?fid=1[/url]" rel="external">My Category</a>
</li>
<!-- end: nav_bit --><!-- start: nav_bit -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/forumdisplay.php?fid=3]forumdisplay.php?fid=3[/url]" rel="external">Nursery Rhyme</a>
</li>
<!-- end: nav_bit -->
<!-- start: nav_bit_active -->
<li>
<a href="[url=view-source:http://mmybb18.flexplat.com/showthread.php?tid=13]showthread.php?tid=13[/url]" rel="external">Rain Rain Go Away</a>
</li>
<!-- end: nav_bit_active -->
</ul>
</div>
</li>
<!-- end: nav -->
<!-- end: header -->
<li>
<div>

</div>
</li>
<li data-role="list-divider">Rain Rain Go Away</li>
<!-- start: postbit -->

<!-- end: postbit --><!-- start: postbit -->

<!-- end: postbit --><!-- start: postbit -->

<!-- end: postbit --><!-- start: postbit -->

<!-- end: postbit -->
<li>
<div>
<a href="[url=view-source:http://mmybb18.flexplat.com/showthread.php?tid=13&action=nextoldest]showthread.php?tid=13&amp;action=nextoldest[/url]" rel="external" data-role="button" data-inline="true" data-theme="b">Next Oldest</a>
<a href="[url=view-source:http://mmybb18.flexplat.com/showthread.php?tid=13&action=nextnewest]showthread.php?tid=13&amp;action=nextnewest[/url]" rel="external" data-role="button" data-inline="true" data-theme="b">Next Newest</a>
</div>
</li>
</ul>

<!-- start: footer -->
</div>
</div>
<!-- end: footer -->
</body>
</html>
<!-- end: showthread -->
Hi Clank,

I am very sorry for the later response, I am just back from a trip.

The problem is caused by you changing the User Agent from mobile to desktop on one web browser, and/or vice versa.  End users should not do this changing.

The solution is, when switching from desktop User Agent to mobile one, you should add follow URL after "index.php" in web browser address bar: "?m-redirection=mobile", which means forcing my module to do mobile detection checking and redirect to mobile (if User Agent is mobile).  When switching from mobile User Agent to desktop one, you should add follow URL after "index.php": "?m-redirection=desktop", which means forcing to desktop.

If you use my module previous version, you will know that the previous one does not have this issue, but this one has, because I do updating here.  Previous version does mobile detection checking every time.  The new version does it for the first time and save the result in cookie.  So, another solution is you clear the cookie after changing the User Agent.  The cookie name is: "mybb[m_style]", the value is "mobile" or "desktop".

Let me know if this solution works or not.  If not, I will install a FireFox and repeat the issue in my environment.

Sorry again for the later response.

Rickey

Ah, alright. I can work around that, I normally just use the mobile skin most of the time, then jump to the desktop version when I need to do more advanced stuff (such as modding), but I wasn't seeing an easy way to jump back to mobile. I can just put a link to that next the the archive link in the footer.

And no worries on the time, I know how much work it is to maintain and support a plugin.
The solution for (1) how to switch to desktop, (2) how to switch back to mobile are described here: http://flexplat.com/mmybb18-faq , then search keyword "switch" within the page.

Have fun with my module.  Any question, just let me know.
Reply
#19
This user has been denied support. This user has been denied support.
thanks For This but now I am installed this plugin on my 1.8.6 mybb web site



But all are done one problem can't see any thread and post

showing forum category And all but not this


why
Reply
#20
(10-23-2015, 04:08 PM)Raslansayyidi Wrote: thanks For This but now I am installed this plugin on my 1.8.6 mybb web site



But all are done one problem can't see any thread and post

showing forum category And all but not this


why
Hi Raslan Sayyidi,

I check you web site.  I understand your question, the categories and forums are displayed smoothly, but the threads can not be displayed at all.

I am sorry I can not find the root cause of this issue.  Your web is installed some plug-in modules, my module must conflict with one or some of them.  Unluckily, I can not debug within your site, I do not know exactly what the problem is.

Could you tell me which plug-in modules you install in your site?  If you could tell me where you download them and the module version number, that would be great.  I will repeat the issue in my environment.

Thanks for your support.  Have a nice day.

Rickey
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)