Topic: [extension request] iphone view

Is-it possible to have an extension who will show the forum with an iphone view like twitter or facebook (ex: http://mobile.twitter.com/lbouriez)
Not with a style because it should appear only when the visitor come from a mobile.
For the redirection, i found this:
PHP:

function isMobileBrowser()
{
 return strstr($_SERVER['HTTP_USER_AGENT'],'iPhone') || strstr($_SERVER['HTTP_USER_AGENT'],'iPod') || strstr($_SERVER['HTTP_USER_AGENT'],'android');
}

JS:

if ( (navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i) ) ) { 
     if (document.cookie.indexOf("iphone_redirect=false") == -1) window.location = "http://iphone.monsite.net"; 
}

But for the forum, i don't know how to do it sad

Re: [extension request] iphone view

Or a iPhone style and when the script detect an mobile user, it changes the style.
Nobody interested?

Re: [extension request] iphone view

+1

Think it's a good idea. Can't code it though sad

4

Re: [extension request] iphone view

Why just an iphone view, not a mobile view?
See here http://punbb.informer.com/forums/topic/ … ile-users/
and here http://punbb.informer.com/forums/topic/ … bb-mobile/

5 (edited by lbouriez 2010-09-21 23:01)

Re: [extension request] iphone view

When i said iPhone I thought mobile but adapted for the iPhone screen smile
I couldn't find a good answer on both post, didn't find a style sad
I tried to change oxygen to work with the iphone but my skills in CSS are not good!

6 (edited by 8k84 2010-09-22 11:46)

Re: [extension request] iphone view

The answer is "there is no such style, and nobody is willing or can make it".

What I was trying to say is that a) it should not be limited to iphone, and b) the subject has already been discussed on this forum several times. While it's not bad to raise it again, it would be much better if people use search first and than bump one of the existing topics instead of making a new one.

Re: [extension request] iphone view

Thanks for your sympathic answer...
Subject can be close, I will find a solution by myself.

Re: [extension request] iphone view

wink no need to sulk, it's a fair point about the searching (in general) and if you find a solution please share it ?! smile

Re: [extension request] iphone view

This is on my wish list too smile

10

Re: [extension request] iphone view

the member carlodin has just released this iphone3 compatible style/extension... :

http://punbb.informer.com/forums/topic/ … ileswitch/