Talk:Simple mobile skin auto change

Thanks for the info! Can you please explain how to add options for android, blackberry, windows mobile, etc.? I'm a noob and don't know how to add more than the one you have shown. Thanks!

Hello! I'm a bit of a noooooob myself and i'm not sure if this is completely the best way to go about it.... but it works for me! just add a pipe between each device so the line of code looks like the one below! try it, Hope it works

if (preg_match("/iphone|Android|Blackberry/i", $_SERVER['HTTP_USER_AGENT']))

193.108.247.114 11:42, 27 October 2010 (UTC)

Any idea's how we can add the option to choose a default skin for different mediums when logged in? I was thinking adding the option to the user preferences. 81.108.90.11 11:21, 25 February 2011 (UTC)


 * Is it possible to use this code for sites with cache? When I use it with memcached the sites are sometimes with the skin wptouch and other with vector. For all users (normal users and mobile users)... --84.112.40.63 12:48, 8 March 2011 (UTC)