News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMF4iPhone Mod

Started by Fabius85, May 14, 2010, 01:58:13 AM

Previous topic - Next topic

eng_HK

@butch, did it but same result...

butchs

I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

eng_HK

there must be something wrong..

Unistalled, reinstalled, clear cache, set the cache in the forum option, cleared cache on mobile and always loaded the theme id1, not the iphone ..

butchs

The mod uses cache, cookies and sessions.  Did you delete cookies? You can try it from another device with a different ip or wait 24 hours for it to clear.  Sorry.
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

eng_HK

#84
it works perfectly if I point directly to the theme=XX but seams that the auto-switch doesn't works...
The string to use with Blackberry 9000 bold is  -->    blackberry9000

or better.. If I point to the theme=XX I can see everything very well and adapted to the screen.
If I point to the home and the system try to switch with browser I can see it very small...

Which value I have to use for  Enter the mobile failsafe:  theme=XX where XX is the sm4iphone??
as a Enter the default theme ID: I have to use 1 (the default) or the sm4iphone id??

What i can do? for the switching prblm? and for the values??

butchs

If you add "blackberry9000" to the phrases in the proper format with "|" between everything to the correct theme id for the theme you want.

Read the help, it will work.
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

eng_HK

@butch

I have at ID 2 this

iemobile|Opera Mobi|symbian|series60|series70|series80|series90|series 60|series 70|series 80|series 90|blackberry|blackberry05|palm|webos|blackberry9000

If I point to the theme=XX I can see everything very well and adapted to the screen.
If I point to the home and the system try to switch with browser I can see it very small...

Which value I have to use for  Enter the mobile failsafe:  theme=XX where XX is the sm4iphone??
as a Enter the default theme ID: I have to use 1 (the default) or the sm4iphone id??

butchs

The size may be a question for the theme.  I can not help you with that, since I do not have a mobile device.  You may want to post a screen shot on the theme help board?

The Mobile failsafe can be "wap", "wap2", "imode" or "theme=#" where # is the ID of the theme.  I like to use a generic theme for the fail safe like wap2  But you can pick any theme you like.
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

eng_HK

Seams that I'm not so luky.. it doesn't work... the autoswitch.

it work greate if I point from my blackberry or iphone directly to the smf4iphone theme

butchs

#89
It has always worked.  Many people complain when they have the wrong UA.  Then they find the correct UA and it works.  You have a typo in your UA for your device.  You need to find a site that will show it to you when logged on and fix it.  Maybe Fab knows where?
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Raffoz

i have a problem...
it happened some days ago when i tried to change something in the panel...

actually, if i connect with an iphone, it works...
then i click on "classic version"..
then if i click whatever in the site, it comes back to iphone version...

it looks how it doesn't get the cookie...

any idea?
thanks

i already tried to uninstall and reinstall...
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

butchs

You need to unlock and enable cookies in your browser.   O:)
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

b4pjoe

Is there anyway to detect the difference between the iPhone and the iPad? I have users that want to stick with the normal theme using the iPad. Right now it switches both the iPhone and iPad to the mobile theme.

Raffoz

Quote from: butchs on September 01, 2010, 08:48:32 PM
You need to unlock and enable cookies in your browser.   O:)


they are already unlocked...

every time I click some link from homepage, appears again the mobile version... :(
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

eng_HK

I found the prblm.

My Forum is called from a redirect address.
To be more clear the address is www.mydomain.it/Forum

But the forum is called by another url, a third level like,   http://hello.mydomain.it/ that redirect to www.mydomain.it/Forum
This is used for user because so i can separate the principal domain to the rest.

Seams that If I call the hello.mydomain.it I can see the sm4phone them but really really small and compressed,like if the mod is not installed. If I call the www.mydomain.it/Forum evrything works really fine...

It's possible to do something??

Fabius85

Quote from: joec88 on September 02, 2010, 11:24:08 PM
Is there anyway to detect the difference between the iPhone and the iPad? I have users that want to stick with the normal theme using the iPad. Right now it switches both the iPhone and iPad to the mobile theme.
try to access to this site with an iphone and with an ipad (i dont have it, so i cant help you  more than this):
http://whatsmyuseragent.com/

Quote from: Raffaele1977 on September 03, 2010, 01:34:56 AM
Quote from: butchs on September 01, 2010, 08:48:32 PM
You need to unlock and enable cookies in your browser.   O:)


they are already unlocked...

every time I click some link from homepage, appears again the mobile version... :(
try to clear your browser cache and cookies, your forum cache and access again to your forum

Quote from: eng_HK on September 03, 2010, 01:54:19 AM
I found the prblm.

My Forum is called from a redirect address.
To be more clear the address is www.mydomain.it/Forum

But the forum is called by another url, a third level like,   http://hello.mydomain.it/ that redirect to www.mydomain.it/Forum
This is used for user because so i can separate the principal domain to the rest.

Seams that If I call the hello.mydomain.it I can see the sm4phone them but really really small and compressed,like if the mod is not installed. If I call the www.mydomain.it/Forum evrything works really fine...

It's possible to do something??
can you please show us what do you mean with "really small and compressed" with a screenshot of it?

Raffoz

no, it doesn't work... :(
i already did it... sigh... :(
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

eng_HK

@fabius
see the 2 file attached.

The shrink is if I call the URL: http://hello.mydomain.it/
The OK is if I call the subfolder  www.mydomain.it/Forum

Seams that is something that do strange with the redirect

In the shrink you can note the scrollbar and the font that are really small and the zoom cursor.
In the OK  you'll see that no scroll bar and that the font are ok.

thx

b4pjoe

Quote from: Fabius85 on September 07, 2010, 03:21:30 AM
Quote from: joec88 on September 02, 2010, 11:24:08 PM
Is there anyway to detect the difference between the iPhone and the iPad? I have users that want to stick with the normal theme using the iPad. Right now it switches both the iPhone and iPad to the mobile theme.
try to access to this site with an iphone and with an ipad (i dont have it, so i cant help you  more than this):
http://whatsmyuseragent.com/

Yeah, I don't have either one of them either but my users do. And that brings me to something that may be related. If you install this mod on a new SMF install with no portal installed you get the "Classic" button on the front page of the forum. This would be OK because an iPad user could just click it to switch back to the full theme but on a site with the PortaMx portal installed the Classic button never shows. The mod does disable the portal for the iPhone theme but the link for the forum front page is http://www.mysite.com/index.php?action=forum instead of http://www.mysite.com/index.php like it is for a site without the portal installed. I've tried it on multiple installs and the Classic button never shows anywhere as long as PortaMx is installed even if you have the front page disabled in PortaMx. So how can I make the Classic button show?

eng_HK

@fabius
Have you looked my post???

Advertisement: