Ventrian Product Forums

We've moved our Product Forums!
To better assist our customers, we've moved to an integrated knowledge base and ticketing system. You can access the new forums at http://support.ventrian.com.
Subject: Mobile Devices
Prev Next
You are not authorized to post a reply.

Author Messages
David EUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:18

3/28/2012 8:14 AM  

Hi Scott,

What criteria is being used to determine the ISMOBILEDEVICE/ISNOTMOBILEDEVICE tokens?   Is it screen size or something else?   Is an iPad or other tablets considered a mobile device for these tokens?

Cheers,
Dave

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:21233


3/29/2012 4:32 AM  
It checks http_user_agent in the http header using these values:

Dim mobiles() As String = {"midp", "j2me", "avant", "docomo", "novarra", "palmos", _
"palmsource", "240x320", "opwv", "chtml", "pda", "windows ce", _
"mmp/", "blackberry", "mib/", "symbian", "wireless", "nokia", _
"hand", "mobi", "phone", "cdm", "up.b", "audio", _
"SIE-", "SEC-", "samsung", "HTC", "mot-", "mitsu", _
"sagem", "sony", "alcatel", "lg", "eric", "vx", _
"NEC", "philips", "mmm", "xx", "panasonic", "sharp", _
"wap", "sch", "rover", "pocket", "benq", "java", _
"pt", "pg", "vox", "amoi", "bird", "compal", _
"kg", "voda", "sany", "kdd", "dbt", "sendo", _
"sgh", "gradi", "jb", "dddi", "moto", "iphone"}

Scott McCulloch
Site Administrator
Marc ZuberUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:12

5/31/2012 6:47 AM  
Hi Scott
I can't see "ipad" in your list but the mobile detection is activated with an ipad device.
Is there any way to exclude the ipad's (in your list)?

Thanks,
Marc
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:21233


6/01/2012 5:27 AM  
Really? I wonder which one it's getting picked up by. I could understand if it were iOS

Scott McCulloch
Site Administrator
Marc ZuberUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:12

6/04/2012 10:25 PM  
Hi Scott

Sorry, I meant that I can't see "ipad" in your list which you posted (3/29/2012).

I have on my iPad iOS version 4.3.3 (8J2) and I'm using the newest property agent.

My templates are splitted into 2 parts:
- [ISNOTMOBILEDEVICE] content [/ISNOTMOBILEDEVICE]
- [ISMOBILEDEVICE] content [/ISMOBILEDEVICE]

I get always the mobile version ([ISMOBILEDEVICE]) on the ipad.

I d'like to disable that. Can you please tell me the file and function which I have to check/modify?

Thanks,
Marc
Marc ZuberUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:12

6/07/2012 11:40 PM  
Any updates?

Thanks
Marc
You are not authorized to post a reply.
Forums > Modules > Property Agent > Mobile Devices



ActiveForums 3.7
We've moved our Product Forums!
To better assist our customers, we've moved to an integrated knowledge base and ticketing system. You can access the new forums at http://support.ventrian.com.