Page Index Toggle Pages: 1
Topic Tools
Normal Topic Mobile YaBB Templates? (Read 492 times)
Red Barchetta
YaBB Moderator
Documentation Team
YaBB Moderators
****
Offline



Posts: 213
Location: Miami, FL. USA

YaBB 2.6.1
Mobile YaBB Templates?
Jun 15th, 2017 at 5:08am
Post Tools
Has anyone worked on a template for mobile users? Tablets and phones?
  

Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,579
Location: Earth

YaBB 2.6.1
Re: Mobile YaBB Templates?
Reply #1 - Jun 15th, 2017 at 1:47pm
Post Tools
Code
Select All
    <meta name="viewport" content="width=device-width, initial-scale=1"> 



Placing the above code above the title tag in default.html will help most YaBB forums render better for mobile devices. 

The mobile template got stalled due to lack of coders and testers.

  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Pieszyce
Full Member
Language Team
***
Offline



Posts: 123

YaBB 2.6.1
Re: Mobile YaBB Templates?
Reply #2 - Jul 6th, 2017 at 7:20pm
Post Tools



Thanks Dandello, I will ask a friend to test it for me because I don't have a phone with internet or a tablet.
  
Back to top
WWW  
IP Logged
 
EricJo
YaBB Newcomer
*
Offline



Posts: 21
Location: UK

YaBB 2.6.1
Re: Mobile YaBB Templates?
Reply #3 - Aug 28th, 2017 at 11:01am
Post Tools
I started new forum YaBB2611 on 3rd June 2017 and have made some changes to try and make it work better on small screens, such as 360px wide.

It is difficult due to my lack of expertise but I have made progress using the Chrome, More Tools, Developer Tools simulator.

Here is the result:

http://www.satsig.com/cgi-bin/yabb2611/YaBB.pl

If you have a small screen device, please test and say what you think.

I have summarised the changes here:

http://www.satsig.net/forum-archive/Making-YaBB-work-on-mobile.htm

Important: There is no guarantee that these changes will work properly.á I have not tested much and my changes may have introduces new bugs.

I am getting errors:
Uncaught ReferenceError: WriteClock is not defined
á á at YaBB.pl?num=1496495237:102

Uncaught ReferenceError: SpamInator is not defined
á á at YaBB.pl?num=1496495237:319

No idea what these are.

Eric.
« Last Edit: Aug 28th, 2017 at 11:03am by EricJo »  
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,579
Location: Earth

YaBB 2.6.1
Re: Mobile YaBB Templates?
Reply #4 - Aug 28th, 2017 at 12:59pm
Post Tools
Both of those are javascript errors. Maybe YaBB.js hasn't been loaded?
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
EricJo
YaBB Newcomer
*
Offline



Posts: 21
Location: UK

YaBB 2.6.1
Re: Mobile YaBB Templates?
Reply #5 - Aug 28th, 2017 at 2:21pm
Post Tools
Thanks. 
That was the problem. I had delayed loading of YaBB.js with async and it was therefore not ready in time for the clock display.
  
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,579
Location: Earth

YaBB 2.6.1
Re: Mobile YaBB Templates?
Reply #6 - Aug 28th, 2017 at 6:57pm
Post Tools
That one has to be in the head. Also the data put in by {yabb javascripta}

{yabb javascript} and other javascript loads can go at the bottom.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo