The Core

Why We Are Here => Web Development => Topic started by: edo on February 12, 2014, 08:05:10 PM

Title: Th3core on mobile phones
Post by: edo on February 12, 2014, 08:05:10 PM
Are there any plans to mobilise th3core? Tough to read and go through threads here on smartphones (I'll add writing messages to that list as am doing this from my Galaxy and it's scrolling sideways forever!).Happy to donate to the cost of it and maybe this thread others could pledge donations if it's something they also want? Ed
Title: Re: Th3core on mobile phones
Post by: ergophobe on February 12, 2014, 08:59:16 PM
I played around with the CSS a bit on this. I don't see why it should be "scrolling forever"  it's a fluid display that should stay fluid down to about 550px, at which point the to bar (your info, News and Stats) become fixed, partly because of a fixed width on News.

Even then, though, the actual posts will go right down to 300px or so and the scrolling is only for the top bar.

Since it's a Galaxy, I'm guessing you're on a Chrome for Android or possibly Firefox for Android?
Title: Re: Th3core on mobile phones
Post by: Brad on February 12, 2014, 08:59:54 PM
I would like to second that request.  A mobile plugin or something would be great, and I'd be willing to donate for it.
Title: Re: Th3core on mobile phones
Post by: ergophobe on February 12, 2014, 09:50:40 PM
I just looked on mobile. I never do forums on my phone so I had no idea how bad it was.

It sounds like the plan of action would be....

1. Upgrade to SMF 2.x since mobile themes are pretty much SMF 2.x only
a. download the full 2.x install from http://download.simplemachines.org
b. run repair_settings.php [1]

Just that much would probably result in an improvement, but the default SMF 2.x "Curve" theme is from 2009, when nobody was even using media queries yet.

2. Use a mobile-friendly theme
a. Buy SMF4Mobile theme for $20 from http://smf-media.com/ - it is not responsive, but does device detection to trigger a mobile theme, but it seems to the most recommended solution.
b. enable the theme

There do not appear to be any responsive themes for SMF yet. This guy has some mockups, but says he is waiting for an SMF 2.1 release
- http://www.idesign360.com/dev/twitter-bootstrap-8c7f9c6/docs/examples/1.php#.UvvrNvldV8E
- http://www.idesign360.com/community/index.php?topic=380.0

The total absence of responsive themes makes me believe that either the SMF community is small and backwards, or SMF is inherently hard to make responsive.

Looking over the code itself, I see that it is littered with tables and inline styles, so it may in fact be hard, but that of course is SMF 1.x that this forum runs on.

[1]
- http://stackoverflow.com/questions/9827653/how-to-upgrade-smfsimple-mechine-forum-1-1-6-to-2-0-2
- http://www.charlottezweb.com/forums/index.php?topic=1484.0
- http://docs.simplemachines.org/index.php?topic=1079.0


Title: Re: Th3core on mobile phones
Post by: Rooftop on February 13, 2014, 10:53:49 AM
making links clickable would be a real help too - although probably through a script that strips the referrer
Title: Re: Th3core on mobile phones
Post by: JasonD on February 13, 2014, 12:08:48 PM
hear hear on all of the above.
Title: Re: Th3core on mobile phones
Post by: Chunkford on February 13, 2014, 12:40:31 PM
+1

RE: clickable links
I understand why but how easy would it be to only allow clickable links for inner core members? I think that would give the balance needed.
Title: Re: Th3core on mobile phones
Post by: littleman on February 13, 2014, 09:04:07 PM
I'll explore upgrading to see how much work would be involved.  I had to hack this board a little to get it the way I wanted originally.  I think the traffic volume here is low enough that we could try out enabling links.
Title: Re: Th3core on mobile phones
Post by: ergophobe on February 13, 2014, 09:51:26 PM
LM - ping me if you need any help.

When you say "hack" was that on the template level, or deeper down?
Title: Re: Th3core on mobile phones
Post by: littleman on February 14, 2014, 03:41:04 PM
Ergophobe, I'm trying to remember what I did exactly.  I think it was mostly template stuff, but I'm recalling that there may have been some small PHP hack...maybe.  Anyway, thanks for the offer of help.
Title: Re: Th3core on mobile phones
Post by: Drastic on February 14, 2014, 08:22:04 PM
I think you had to hack the active in, or get it working like we wanted.
Title: Re: Th3core on mobile phones
Post by: littleman on February 14, 2014, 11:03:35 PM
Yeah, that sounds right, that shouldn't be a big deal.
Title: Re: Th3core on mobile phones
Post by: Brad on February 18, 2014, 06:54:55 PM
Thanks for making links click able it really makes a difference, especially on touchscreens.
Title: Re: Th3core on mobile phones
Post by: littleman on February 18, 2014, 08:57:59 PM
NP, that one was easy.