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 Rickey

Thanks for your interesting plugin, it is really nice!
I have questions about it ...
How exactly can I:
1- Make it RTL (Right to Left),
2- Translate it to Persian (Farsi) and,
3- Alter the code to display contents in a Persian true type font, which I have (and uploaded it) on my host, but the users don't?

Regards,
Hadi
(2017-07-22, 11:17 AM)mhasgari Wrote: [ -> ]Hi Rickey

Thanks for your interesting plugin, it is really nice!
I have questions about it ...
How exactly can I:
1- Make it RTL (Right to Left),
2- Translate it to Persian (Farsi) and,
3- Alter the code to display contents in a Persian true type font, which I have (and uploaded it) on my host, but the users don't?

Regards,
Hadi
Hi Hadi,

Thanks for getting in touch and thanks for using my coding.

"1- make it RTL (Right to Left),"
This is possible, I will make it for you in two weeks.  I will let you
know when it is available.

"2- Translation it to Persian (Farsi) and,"
This is possible, while, you have to do it by yourself, I will let you
know the procedure.

"3- Alter the code to display contents in a true type Persian font"
You mean after you update the font, desktop end users can get the new
font, but the mobile end users can not, right?  I do not have
experience on this issue.  I can not answer your question right now.
I need do some testing.

Any question, feel free to ask me.  Have a nice weekend.

Rickey
I have a question Rickey29 as long back I used tapatalk and I faced a few issues.
1.What will happen to the forums which are hidden in desktop view when a user is using Mobile MyBB (Example premium membership) ?
2. How are plugins which affect forum db taken care in mobile version ?
(2017-07-23, 04:58 AM)WallBB Wrote: [ -> ]I have a question Rickey29 as long back I used tapatalk and I faced a few issues.
1.What will happen to the forums which are hidden in desktop view when a user is using Mobile MyBB (Example premium membership) ?
2. How are plugins which affect forum db taken care in mobile version ?

Hi WallBB,

You can consider my module is a MyBB theme (even it is a plugin), so,
1. my module uses MyBB permission interfaces, it does not implement/add/change any permission functions;
2. my module uses MyBB databases interfaces, it does not implement/add/change any database functions.

So, to answer your question, my module does not have any influences to MyBB permission and database functions, just like other MyBB theme modules (do not have any influences to permission and database functions).

(The reason my module is a plugin, not a theme, is my module includes a mobile device detection and redirection function, it can not be a theme.)

Any question, feel free to ask me.

Rickey
Hi,

What theme id should we enter into the settings as currently the mobile theme looks exactly the same as the desktop one for me. The ID in there is 10 at the moment?

Thanks
(2017-08-08, 08:56 AM)Andre R. Wrote: [ -> ]Hi,

What theme id should we enter into the settings as currently the mobile theme looks exactly the same as the desktop one for me. The ID in there is 10 at the moment?

Thanks

Hi,

You need NOT set any theme id for my module (because my module includes a mobile device detection and redirection script, when end users come from mobile devices, they will be redirected to my theme automatically).

(So, if you check my theme from mobile device, you should get the mobile theme without trouble.)  While, if you check my theme from desktop web browser (in this situation, my detection and redirection script will skip my theme and the default theme is displayed), AND you still want to get my mobile theme, (you should be a webmaster or software developer, right?) here is the solution:
1. Add "?m-redirection=mobile" at the end of the URL, which means forcing to display my mobile theme (my install.txt describes this solution);
2. At the bottom right corner of default theme, there is the Quick Theme Switcher, you can switch to my mobile theme there;
3. Check your web site cookies, you can find a variable named "mybb[m_style]", switch the value between "mobile" and "desktop", you can switch between my mobile theme and the default theme.

Any question, free feel to ask me.  Good luck.

Rickey
Hi Rickey Thank you for this beautiful mod. I really would like to use it however I have a slight problem.. I run an e-book site, many of my users would see the site as the mod shows because they download by cell. When I installed it , and went on my cell phone my slideshow is totally messed up showing a mirror of the slideshow and the photo is huge..

The slide show I configured is here:
http://dynamicdrive.com/dynamicindex14/l...tslide.htm

I have temporally disabled the mobile mod for now until I can see if I can use it with my site, Thank you.
My site is https://www.ebook-mecca.com
(2017-08-08, 05:23 PM)Starnova Wrote: [ -> ]Hi Rickey Thank you for this beautiful mod. I really would like to use it however I have a slight problem.. I run an e-book site, many of my users would see the site as the mod shows because they download by cell. When I installed it , and went on my cell phone my slideshow is totally messed up showing a mirror of the slideshow and the photo is huge..

The slide show I configured is here:
http://dynamicdrive.com/dynamicindex14/l...tslide.htm

I have temporally disabled the mobile mod for now until I can see if I can use it with my site, Thank you.
My site is https://www.ebook-mecca.com

Hi Starnova,

Your problem is caused by the conflict between the slideshow script: http://dynamicdrive.com/dynamicindex14/l...tslide.htm and jQuery Mobile script: http://jquerymobile.com/ .  My theme is based on jQuery Mobile.  While, since I am neither the developer of slideshow script, nor the one of jQuery Mobile, it is hard for me to solve this problem.

My suggestion is, please have a look at my next release mobile-friendly MyBB theme: https://community.mybb.com/thread-211403.html , which is based on Accelerated Mobile Pages: https://www.ampproject.org/ .  It has many extensions: https://ampbyexample.com/ , such as this one: https://ampbyexample.com/components/amp-carousel/ .  I hope this is what you want.

I am sorry this next release is still under development.  So you can not use it right now.

Any question, let's talk.

Rickey
Hi Rickey,

Thanks for your active support on this. I tried to install now but got the following error when I loaded my page:

Fatal error: Uncaught Error: Call to undefined function mmybb18_get_device() in /var/sites/b/b.com/public_html/inc/plugins/mmybb18.php:359 Stack trace: #0 /var/sites/b/b.com/public_html/inc/class_plugins.php(139): mmybb18_global_start('') #1 /var/sites/b/b.com/public_html/global.php(99): pluginSystem->run_hooks(Array) #2 /var/sites/b/b.com/public_html/index.php(18): require_once('/var/sites/b/be...') #3 {main} thrown in /var/sites/b/b.com/public_html/inc/plugins/mmybb18.php on line 359
(2017-08-10, 08:11 AM)Andre R. Wrote: [ -> ]Hi Rickey,

Thanks for your active support on this. I tried to install now but got the following error when I loaded my page:

Fatal error: Uncaught Error: Call to undefined function mmybb18_get_device() in /var/sites/b/b.com/public_html/inc/plugins/mmybb18.php:359 Stack trace: #0 /var/sites/b/b.com/public_html/inc/class_plugins.php(139): mmybb18_global_start('') #1 /var/sites/b/b.com/public_html/global.php(99): pluginSystem->run_hooks(Array) #2 /var/sites/b/b.com/public_html/index.php(18): require_once('/var/sites/b/be...') #3 {main} thrown in /var/sites/b/b.com/public_html/inc/plugins/mmybb18.php on line 359

Hi Andre R.

The mmybb18_get_device() function is in another file: inc/plugins/mmybb18/lib/detection.php, not in inc/plugins/mmybb18.php .  Make sure you have uploaded the inc/plugins/mmybb18 directory and all content within this directory (besides the inc/plugins/mmybb18.php file).

Any question, please let me know.  Good luck.

Rickey
Pages: 1 2 3 4 5 6 7