Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Smartphone update
09-06-2013, 11:58 AM (This post was last modified: 09-06-2013 12:50 PM by samiam.)
Post: #1
Smartphone update
I spent a good part of this morning getting this forum to look decent on a smart phone. First of all, I had to modify the global.php file to use the correct CSS selector so that global.css is not visible on a smartphone; the patch is here:

http://samiam.org/software/MyBB-1.6-smartphone.patch

Once I did that, I then added a pointer to my own alternative stylesheet for smart phones to the "header" template, as well as instructions to tell smart phones to not make the page look really tiny.

I then had to edit various templates (forumdisplay, threaddisplay, etc.) to have various tables only show the left-most column to minimize the clutter on a small smartphone screen.

It was a bit of work, but I now have an install of MyBB 1.6 that works nicely on a small screen.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-06-2013, 01:41 PM
Post: #2
RE: Smartphone update
More technical details are now posted here: http://community.mybb.com/thread-145205-...33842.html

The templates I had to edit were: forumdisplay_subforums, forumdisplay_threadlist, forumdisplay_threadlist_rating, forumdisplay_thread_rating, forumdisplay_thread, showthread, showthread_quickreply, and possibly some other templates.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)