Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
August 4, 200816 yr Actually, in v2.3.x, you can change one line of code and re-use the "Skin Remapping" option in the Admin CP./sources/ipsclass.php line#2250 Change: if ( stristr( $this->query_string_real, $data['map_url'] ) ) To: if ( stristr( $this->user_agent, $data['map_url'] ) ) Then in the admin tool for skin remapping, add two remap definitions of: "ipod" and "iphone", and set them both to an iphone/touch specific skin, and you now have skin on demand. I tested it with my ipod touch, and it works fine. Of course if you do any sort of url remapping to skins, that won't work unless you also add the query_string_real in the check, and do a lil more code changing. But, for the purpose of what someone asked about... the above works with very little effort. would this work for other mobile devices. . .like blackberry?
August 4, 200816 yr If you know the UA, yes. New Blackberrys run Windows Mobile, so you can just identify them by the IE Mobile string.
Archived
This topic is now archived and is closed to further replies.