Plugin

Developer
Supported

Browser Sniff

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Laisvunas

     

You must be logged in to post.

Tablet or Phone

Feature Request

MISC
MISC

The plugin works fine. It would be great, if the plugin would also detect, if it is a tablet or a phone.

Laisvunas
# 1
Developer
Laisvunas

Hi,

Please, explain what you need in more details.

Would it be enaugh for you to be able to distinguish between

1) ipad

2) iphone

3) ipod

4) adroid phone

5) android tablet

6) blackberry phone

7) rim tablet

8) webos device

or you need something else?

MISC
# 2
MISC

Hi

My main problem is that a tablet like iPad does not really require for example mobile ads or small pictures. So, I personally would just need ‘browser_sniff_is_phone’ and ‘browser_sniff_is_tablet’. But your proposal is also possible, with this information I can do it myself.

Thank you very much,
Misc

Laisvunas
# 3
Developer
Laisvunas

Hi,

Grab the version 2.1.

In it I added 8 new variables which should allow to achieve what you need.

Read documentation and code example under NOTICE.

MISC
# 4
MISC

Thank you very much. Really great support!