GolfHos

Support => Help and Site Suggestions => Topic started by: gleek on June 26, 2008, 06:25:32 PM



Title: mobile problems
Post by: gleek on June 26, 2008, 06:25:32 PM
Links and images don't render. WTF?


Title: Re: mobile problems
Post by: dystopia on June 26, 2008, 06:36:26 PM
I believe if SMF detects a mobile user-agent through the browser, it will serve up a simplified, mobile version of the forum.  We're on an oldish rev., so it doesn't seem to account for quality mobile browsers.

What kind of phone are you packing?

I can check if your phone is getting the mobile version and change it so that you get the full version of the site.


Title: Re: mobile problems
Post by: gleek on June 26, 2008, 06:39:17 PM
BB 8130


Title: Re: mobile problems
Post by: dystopia on June 26, 2008, 06:41:29 PM
Cool.  I'll tinker with this later tonight.


Title: Re: mobile problems
Post by: spacey on June 26, 2008, 06:48:34 PM
Longer cables might help


Title: Re: mobile problems
Post by: stroh on June 26, 2008, 06:48:38 PM
R.L.C.


Title: Re: mobile problems
Post by: stroh on June 26, 2008, 06:49:00 PM
Longer cables might help

Damn it.  4 seconds.


Title: Re: mobile problems
Post by: dystopia on June 26, 2008, 08:15:15 PM
I just made a change to the "wireless" template.  Next time you're viewing the site on a phone, let me know if it's better. (or if I broke anything  ;D)


Title: Re: mobile problems
Post by: stroh on June 26, 2008, 08:35:26 PM
LOL  Get a *fudge*in' iphone.


Title: Re: mobile problems
Post by: gleek on June 27, 2008, 08:17:45 PM
I just made a change to the "wireless" template.  Next time you're viewing the site on a phone, let me know if it's better. (or if I broke anything  ;D)

Nada.


Title: Re: mobile problems
Post by: dystopia on June 27, 2008, 10:38:48 PM
Crap.  >:( I'll try something else tomorrow.


Title: Re: mobile problems
Post by: dystopia on June 28, 2008, 02:39:20 PM
Hmm, I'm having trouble reproducing this.

A few questions:

1) Are you using the default BB 8130 browser or Opera Mini?

2) When you say images don't render, do you mean ANY images or just images that have been attached or included within a thread?  Same for links, do you mean links within a post or any links?

This page suggests the browser will ignore large images, but display small images:
http://blackberry8130.wordpress.com/2007/12/08/web-browser-features/

3) On your phone, does the site look like the normal site or the WAP site?
The WAP site looks like this:
http://www.golfhos.com/index.php?topic=8527&wap

4) If you're using the default browser, does it make a difference if you try a different "Content Mode" setting (WML, HTML).


Title: Re: mobile problems
Post by: gleek on June 28, 2008, 05:13:48 PM
Hmm, I'm having trouble reproducing this.

A few questions:

1) Are you using the default BB 8130 browser or Opera Mini?

Default

2) When you say images don't render, do you mean ANY images or just images that have been attached or included within a thread?  Same for links, do you mean links within a post or any links?

This page suggests the browser will ignore large images, but display small images:
http://blackberry8130.wordpress.com/2007/12/08/web-browser-features/

3) On your phone, does the site look like the normal site or the WAP site?
The WAP site looks like this:
http://www.golfhos.com/index.php?topic=8527&wap

URLs don't appear as anchor elements, and they're mangled to boot so I can't even copy and paste into the browser "address bar".

No images from the site render--post-embedded or otherwise. Of course, images that are normally part of the interface such as smiley buttons don't look like they're supposed to render since the site renders like that WAP link. However, there is a difference. I still get some navigation links (that work) like:

Code:
[0] Message Index
[*] Previous Page
Reply

4) If you're using the default browser, does it make a difference if you try a different "Content Mode" setting (WML, HTML).

I have the content mode set to WML and HTML and also have images set to render for both. I also tried changing the emulation modes (e.g. BlackBerry, Openwave WAP, Openwave Gateway, MS IE, Pocket IE, and Netscape), and it makes no difference.


Title: Re: mobile problems
Post by: stroh on June 30, 2008, 09:01:42 AM
Take that piece of *feces* back.


Title: Re: mobile problems
Post by: dystopia on June 30, 2008, 09:24:26 AM
There's something I want to try, but I won't be able to push it out until tonight.


Title: Re: mobile problems
Post by: stroh on June 30, 2008, 09:56:07 AM
There's something I want to try, but I won't be able to push it out until tonight.

Now that's low hanging fruit.


Title: Re: mobile problems
Post by: dystopia on June 30, 2008, 10:08:35 AM
 [sm_shock]  [sm_anon]


Title: Re: mobile problems
Post by: Clive on June 30, 2008, 10:16:39 AM
There's something I want to try, but I won't be able to push it out until tonight.
(http://media.ebaumsworld.com/picture/moviemanjf/ExLax.jpg)


Title: Re: mobile problems
Post by: dystopia on June 30, 2008, 10:31:24 AM
<--- wishicouldŝhit


Title: Re: mobile problems
Post by: stroh on June 30, 2008, 10:32:32 AM
LOL   ;D


Title: Re: mobile problems
Post by: dystopia on June 30, 2008, 05:19:20 PM
Ah, I see what's going on now.  There are actually three different mobile versions of this forum that could show up.

wap
http://www.dystopia.com/research/index.php?topic=8527&wap

wap2
http://www.dystopia.com/research/index.php?topic=8527&wap2

imode
http://www.dystopia.com/research/index.php?topic=8527&imode

Code:
// Determine if this is using WAP, WAP2, or imode.  Technically, we should check that wap comes before application/xhtml or text/html, but this doesn't work in practice as much as it should.
if (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'application/vnd.wap.xhtml+xml') !== false)
$_REQUEST['wap2'] = 1;
elseif (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/vnd.wap.wml') !== false)
{
if (strpos($_SERVER['HTTP_USER_AGENT'], 'DoCoMo/') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'portalmmm/') !== false)
$_REQUEST['imode'] = 1;
else
$_REQUEST['wap'] = 1;
}

There are several workarounds we could do.  One idea is to forget the mobile versions for your phone and just give you the normal, full site.  Or I could tweak your mobile version to display images and links.


Title: Re: mobile problems
Post by: stroh on July 01, 2008, 05:12:21 AM
Wow.  That last post really demonstrates to me just how less than little I know about computers.   :sad3:  I really did get left behind the technology wave.

I suppose it's somewhat relative in as much as I am very proficient in my field of expertise, and can speak in a language that others would feel equally lost, but still.... :-\


Title: Re: mobile problems
Post by: gleek on July 01, 2008, 09:16:17 AM
Wow.  That last post really demonstrates to me just how less than little I know about computers.   :sad3:  I really did get left behind the technology wave.

I suppose it's somewhat relative in as much as I am very proficient in my field of expertise, and can speak in a language that others would feel equally lost, but still.... :-\

Take heart, stroh. At least you understand what "HTFU" means.


Title: Re: mobile problems
Post by: gleek on July 01, 2008, 09:34:01 PM
BTW, I can see a rich interface now. However, there is one annoying thing about how the threads are rendering. The posts appear to be rendered inside of a two-column table with the first column containing the information about the poster, and the second column containing the message content. On my phone, the first column is squeezed down to the width of a single character and all the information is rendered vertically like so:

Quote
s
t
r
o
h

L
if
e
l
e
s
s

P
o
s
t
e
r
.
.
.

On a long post, it ain't no thang, since I'd have to scroll down as I read anyway. But on a short Torpedo-esque post, it's rather annoying.*


*more annoying than usual, that is.


Title: Re: mobile problems
Post by: gleek on July 23, 2009, 07:50:36 AM
Bumputty bump for reference. Looks like there was at least one tweak that was needed to get the full featured mobile template to render correctly.


Title: Re: mobile problems
Post by: stroh on July 23, 2009, 08:05:27 AM
Bumputty bump for reference. Looks like there was at least one tweak that was needed to get the full featured mobile template to render correctly.


R.L.C.  ?


Title: Re: mobile problems
Post by: dystopia on July 23, 2009, 04:47:50 PM
There's something I want to try, but I won't be able to push it out until tonight.
(http://media.ebaumsworld.com/picture/moviemanjf/ExLax.jpg)



Drunk man got two hammered
http://www.thesun.co.uk/sol/homepage/news/2549237/Drunk-man-got-two-hammered.html
Quote
These incredible x-rays show how Viorel Firoiu attempted to nail his severe constipation with the help of his handy tools.

The intoxicated 48-year-old turned up at his local hospital complaining of excruciating stomach pain.

Worried doctors, in Orlea, southern Romania, carried out scans and were knocked sideways to find he had not one but TWO hammerheads stuck in his rear end.

Hospital spokeswoman Dr Cristina Bontescu said: "He was a bit drunk and said he had been eating cherries that had left him badly constipated.

"He said he had a few drinks to dull the pain and then came up with the idea of poking a hammerhead up his backside in the hope of sorting out the constipation.

"But the hammerhead got stuck and then he came up with the idea of using a second hammerhead in order to try and get out the first - but then he lost the second one as well."
...
(more...)