Iphone / ipad support
Page 1 of 2 Goto page 1, 2  Next
jippyuk




Posts: 1507
Location: Malta
PostPosted: Sat, 6th Aug 2011 10:03    Post subject: Iphone / ipad support
Hi guys.

Probably been brought up before couldnt find reference if so, however one of things i always like to do is read up on the forums from my iphone etc when im not at my pc...

However its pretty difficult to navigate on the iphone.

There are several board readers out there on the appstore like "forums" and "tapatalk" which have a small file you upload onto the forum part of the website which converts the forums in a viewable format on the iphone through these readers... Not sure if you guys are dead against something like that but it would be really useful for some of the more regular readers (me) to be able to read the forum posts and reply easily whilst out and about.
Back to top
Lutzifer
Modzilla



Posts: 12740
Location: ____________________ **** vegan zombie **** GRRAAIIINNSS _______
PostPosted: Sat, 6th Aug 2011 11:27    Post subject:
It has been discussed. The forum would need to be upgraded (which it wont, because it is mainly custom written code and runs well). Get better hardware.
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Sat, 6th Aug 2011 11:35    Post subject:
Erm, it works fine on both an ASUS EEE Transformer as well as my HTC Desire. What exactly is so hard to navigate?

The only thing that MIGHT go wrong is the viewport scaling, because Safari fucks that up, but I can provide a little bit of JS to fix that.
Back to top
jippyuk




Posts: 1507
Location: Malta
PostPosted: Sat, 6th Aug 2011 11:41    Post subject:
Not that its super hard to navigate but text size is annoyingly small as safari tries to fit everything in so a lot of zooming in and zooming out.

With the apps available which i use on a few other sites, it basically just takes the post and opens it like big text as opposed to it being displayed as a website through safari...

http://www.tapatalk.com/ is the one i use a lot.

Like Lutz says if its all customized this site I guess there isnt much that can be done :S app above says its compatibile with most of the forums types out there these days but I guess even if implemented it would be messy if this has all been changed around a lot by mods
Darn.


i5 -3570k
8GB DDR 3
Gigabyte GTX 980 Ti Gaming G1
32GB of terrible skill @ FPS games.
Back to top
bringiton




Posts: 3680

PostPosted: Wed, 10th Aug 2011 14:59    Post subject:
jippyuk wrote:
app above says its compatibile with most of the forums types out there these days





“The only way to deal with an unfree world is to become so absolutely free that your very existence is an act of rebellion.”
- Albert Camus
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73194
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Wed, 10th Aug 2011 17:02    Post subject:
lol @ paint skillz Laughing
Back to top
bringiton




Posts: 3680

PostPosted: Wed, 10th Aug 2011 19:11    Post subject:
that's all I can do lol Okay


“The only way to deal with an unfree world is to become so absolutely free that your very existence is an act of rebellion.”
- Albert Camus
Back to top
[mrt]
[Admin] Code Monkey



Posts: 1338

PostPosted: Fri, 12th Aug 2011 14:04    Post subject:
I dont mean to be captain caveman here, but i'm all for it. I'd implement it but i have no suitable hardware to adopt it on. I'm still stuck with pre-smart dumb-phones and such. So unless that changes i dont think there will be support anytime soon.


teey
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73194
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Fri, 12th Aug 2011 14:22    Post subject:
mrt, fat chance but do you perhaps own a Mac? If so, you need no smartphone, you can develop an iPhone/iPad app with Xcode and the built-in emulator.

For Android, you don't even need a Mac, you can develop in Windows and use the Android emulator.
Back to top
Interinactive
VIP Member



Posts: 29405

PostPosted: Fri, 12th Aug 2011 14:38    Post subject:
⁢⁢


Last edited by Interinactive on Tue, 5th Oct 2021 04:52; edited 1 time in total
Back to top
[mrt]
[Admin] Code Monkey



Posts: 1338

PostPosted: Fri, 12th Aug 2011 14:48    Post subject:
iNatan wrote:
mrt, fat chance but do you perhaps own a Mac? If so, you need no smartphone, you can develop an iPhone/iPad app with Xcode and the built-in emulator.

For Android, you don't even need a Mac, you can develop in Windows and use the Android emulator.


All the mac I own is a BigMac, so yea, stop talking nonsense Very Happy

The android emu can be a tiny beacon of hope, but from my experience there are huge differences between an emulator and a real in-your-sweaty-palms hardware..especially for webpages.

Anyone throwing their android into a trashcan? I'd happily make you throw it into mine Very Happy

Any other ideas?

Interinactive wrote:
It could easilly have a responsive style applied to it
...


Yeah, basically we need a design suited for touchy-touchy phones. All good and well, but it entails some prerequisites I dont have atm..except the BigMac Very Happy


teey


Last edited by [mrt] on Fri, 12th Aug 2011 14:54; edited 1 time in total
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Fri, 12th Aug 2011 14:53    Post subject:
The problem is that most of the site is fixed-size mrt Smile

Tapatalk gets around that by basically just providing an API to the underlying forum software. Developing a proper standalone app wouldn't be hard - developing the API would be.

If you want, I'll have a fiddle and make some separate JS and CSS files for mobile platforms. Luckily, they're quite easy to detect and work with and me and my colleagues already got most of this ready Smile
Back to top
[mrt]
[Admin] Code Monkey



Posts: 1338

PostPosted: Fri, 12th Aug 2011 15:01    Post subject:
I'd rather have a crack at the API. Since it's support is the most wide-spread, I'd take a gamble with that. Than afterwards we should focus on a phone-fit layout and design.

Werelds, I can't give you a solid answer tho, because I dont want to send you down a silly goosechase riddled with pains of CSS and JS for nothing. I'll whistle my way out of this one.


teey
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73194
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Fri, 12th Aug 2011 15:13    Post subject:
What changes are needed in JS?
I think only CSS + minor layout changes should be enough to make increase usability tenfold on mobile devices.

And testing mobile layout can be as simple as resizing your Firefox and changing useragent string.
Back to top
[mrt]
[Admin] Code Monkey



Posts: 1338

PostPosted: Fri, 12th Aug 2011 18:30    Post subject:
Well anything that looks minor turns out to be colossal in our experiences.

Quote:
What changes are needed in JS?


I sure there's always something Smile


teey
Back to top
nouseforaname
Über-VIP Member



Posts: 21306
Location: Toronto, Canada
PostPosted: Fri, 12th Aug 2011 18:41    Post subject:
On my iphone4 the only pain in the ass is that the zoom resets when I navigate. Besides that it looks fine (but then again I'm used to fiddling around with websites on winmo 6.5!)


asus z170-A || core i5-6600K || geforce gtx 970 4gb || 16gb ddr4 ram || win10 || 1080p led samsung 27"
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Fri, 12th Aug 2011 19:32    Post subject:
mrt, stuff the snippet below just before </body>, should fix some zoom/scaling issues on the iPhones.

Quote:
(function(doc) {
var addEvent = 'addEventListener',
type = 'gesturestart',
qsa = 'querySelectorAll',
scales = [1, 1],
meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];

function fix() {
meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
doc.removeEventListener(type, fix, true);
}

if ((meta = meta[meta.length - 1]) && addEvent in doc) {
fix();
scales = [.25, 1.6];
doc[addEvent](type, fix, true);
}
}(document));


@ Leo: some JS will always be needed to get around some problems. In some cases there are hacks to apply within CSS, but not always Smile
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73194
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Fri, 12th Aug 2011 20:40    Post subject:
Well I am proponent of HTML+CSS only, so if there is proper planning, JS (for styling sake) is unnecessary. Unless you have to deal with IE6-7-8. Laughing

How will your script addition cope with large images?
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Fri, 12th Aug 2011 20:57    Post subject:
iNatan wrote:
Well I am proponent of HTML+CSS only, so if there is proper planning, JS (for styling sake) is unnecessary. Unless you have to deal with IE6-7-8. Laughing

How will your script addition cope with large images?

It won't, it's purely a fix for a bug in Safari on iOS when it zooms - it's about HTML (including text) scaling, not images Smile

And unfortunately, it's not possible to rely only on HTML+CSS these days. None of the engines are bug free (and WebKit most definitely isn't) and like I said you can't catch everything with CSS hacks. Things like mediaqueries are great, but not 100% supported. The simplest way however is to detect the browser through a few checks in JS (all the engines have at least one attribute or something you can check to identify it and no user-agent string can fake that) and simply apply an additional class based on that. It's more about browsers than it is about platforms (and it's not even about engine, as WebKit isn't WebKit when you compare them) Smile
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Fri, 12th Aug 2011 21:31    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:51; edited 1 time in total
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Sat, 13th Aug 2011 00:09    Post subject:
garus wrote:
Werelds wrote:
WebKit isn't WebKit when you compare them

and my mind was fucked!

Safari != Chrome != Android Browser != Dolphin != Skyfire

Yet they all run off WebKit and each has its own quirks Smile
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Sat, 13th Aug 2011 11:34    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:51; edited 1 time in total
Back to top
Lutzifer
Modzilla



Posts: 12740
Location: ____________________ **** vegan zombie **** GRRAAIIINNSS _______
PostPosted: Sat, 13th Aug 2011 11:55    Post subject:
hahahaha, awesome. Next time i ll answer: "no way, only if you give mrt an android phone to dev on it" Very Happy
Back to top
[mrt]
[Admin] Code Monkey



Posts: 1338

PostPosted: Sun, 14th Aug 2011 21:16    Post subject:
Werelds wrote:
mrt, stuff the snippet below just before </body>, should fix some zoom/scaling issues on the iPhones.

Quote:
...


@ Leo: some JS will always be needed to get around some problems. In some cases there are hacks to apply within CSS, but not always Smile


javascript is getting a leg pulled there Very Happy nice inline-crammage. Let me know how it works out.

Lutzifer wrote:
hahahaha, awesome. Next time i ll answer: "no way, only if you give mrt an android phone to dev on it" Very Happy


Hip hip to that! Wink


teey
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sun, 14th Aug 2011 21:34    Post subject:
It always worked fine on my Android Cool Face


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Sun, 14th Aug 2011 21:42    Post subject:
Sorry mrt, you need to wrap that in <script type="javascript"></script> obviously Razz

On a more serious note, I'm due for contract renewal somewhere in the next couple of months, so I might just get myself a new phone. If I do, I'll send you my Desire, don't think I can still sell it for a good amount so Smile

Also, once my job calms down a bit I'll have a look at the hump's CSS and markup, see what we can do to make it even better. I'm just completely swamped right now, 50 grand total in the three projects I'm working on, quite an important source of income Very Happy
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sun, 14th Aug 2011 21:49    Post subject:
May I ask what your next phone will be? The desire must've scared you from android I suppose Laughing


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Sun, 14th Aug 2011 22:01    Post subject:
Oh yes it did, because it is really fucking slow and shit and infested with malware and buggy and ... Laughing

I'll be sticking to Android, I'm loving what Google are doing and they just keep getting better. Also, I still don't fancy paying 10 EUR/month extra just for an iPhone 4; without even taking my "loyal customer" discount into account (got Vodafone, been with them for about 7 years now I think, no reception problems in any country so far), something like a Sensation I can get for 30/month at no extra charge - iPhone 4 16GB is 40/month with 150 for the phone, while both have the exact same minute/data limits. Fucking ridiculous Smile
Back to top
Interinactive
VIP Member



Posts: 29405

PostPosted: Mon, 15th Aug 2011 04:03    Post subject:
⁢⁢


Last edited by Interinactive on Tue, 5th Oct 2021 04:52; edited 1 time in total
Back to top
[mrt]
[Admin] Code Monkey



Posts: 1338

PostPosted: Mon, 15th Aug 2011 22:12    Post subject:
Werelds wrote:
Sorry mrt, you need to wrap that in <script type="javascript"></script> obviously Razz


lol that was epic. I think i better take my time and think before i c&p next time Very Happy

Werelds wrote:

On a more serious note, I'm due for contract renewal somewhere in the next couple of months, so I might just get myself a new phone. If I do, I'll send you my Desire, don't think I can still sell it for a good amount so Smile


Thanks for being so charitable. If you'll still feel as giving then we can work something out i'm sure. Do you take I owe U's? Very Happy

Werelds wrote:

Also, once my job calms down a bit I'll have a look at the hump's CSS and markup, see what we can do to make it even better. I'm just completely swamped right now, 50 grand total in the three projects I'm working on, quite an important source of income Very Happy


Good luck.

Quote:
Your JS is leaking Laughing


hush!


teey
Back to top
Page 1 of 2 All times are GMT + 1 Hour
NFOHump.com Forum Index - Site Feedback Goto page 1, 2  Next
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group