All third party plugins should go into the plugins folders.
I will create an extensions entry for this later. Please try to keep the plugin page persistent, I yesterday had to fix the links to all your themes as the direct links vanished. Note we don't check these regulary.
hmmm.. ok. downloaded the theme and it doesn't seem to be working for me. I was using the iphone theme and the hacked functions.php. I restored the original functions.php and installed the mobile_theme_filter. (I did not install the detectmobile browsers script.) I activated the plugin and configured it. I selected the iphone theme as the mobile theme. From my iPhone 4, It's not bringing up the iphone theme. It's showing as the regular gallery theme.
Thanks for reporting this. I can reproduce the problem you describe (using firefox ua-switcher). The problem is located at line 142. You should replace `getOption(MobileThemeFilter::$iphone) === true` with `getOption(MobileThemeFilter::$iphone)`. I will update the plugin asap.
Hello again, I came across a couple free alternatives to the detectmobile browsers script but just decided to carry across what I had in my previously hacked function.php file.
Hi! Nice work guys!! I've never been comfortable with the way that worked. Looks like you're close to a great solution. Once you're happy with your code, I'll update the zenphotoiphone page with links.
I think the mobile theme plugin works as expected.
I've integrated wirecutter's implementation last week and also refactored things a little bit to decorrelate the default implementation (wirecutter's one) from the mobi stuff.
the plugin is now reasonably clean and the quick tests i did using firefox ua-switcher didn't show any particular issue. So i think you're safe to update the zenphotoiphone page if you want.
Yes, it seems the developer has currently his website in maintainance mode. Hopefully he will put this one and his themes up again.
Btw, just to note: I am planning a special mobile theme using www.jquerymobile.com (currently in beta) for Zenphoto 1.4.2. Since we first need to upgrade our jquery and that requires testing that none of our dependencies break I can't say anything specific. There will probably also something to switch to the theme automatically using http://blog.mobileesp.com/
Can't wait to see what you come up with acrylian! jQuery mobile looks pretty cool, although just a glance, haven't looked into that much.
We are on the same wavelength though, as I am currently working on a "responsive" theme, that will adjust from desktop to tablet to smartphone using css3 media queries.
Yeah, mobile browsing slowly gets more important. Good to be prepared.
My theme will probably be a pretty general one with some plain jquerymobile stuff (of course with Zenpage support). Meant more as a secondary theme and as a kind of starting point for other to customize for specific needs.
Looking forward to your responsive theme as well. It will be interessting how you solve the problem of image generation. Bandwidth and speed is lower on mobiles but you need to pregenerate and load the big sizes since they are scaled via CSS. Unless you do some other tricks via ajax loading maybe.
It will be interessting how you solve the problem of image generation. Bandwidth and speed is lower on mobiles but you need to pregenerate and load the big sizes since they are scaled via CSS. Unless you do some other tricks via ajax loading maybe.
yes, there are pros and cons to the media query route, what you mention being one of the cons... maybe I will send you a link to my dev site of the theme when I have it a little more refined. Would appreciate your feedback/suggestions?
Any news on this theme ? I have been searching the internet for a web gallery system that will be iOS (iPhone/iPad) friendly with absolutely no luck at all.
The best I could come up with is the JAIPHO system, but it's not as user friendly as zenphoto.
Comments
I will create an extensions entry for this later. Please try to keep the plugin page persistent, I yesterday had to fix the links to all your themes as the direct links vanished. Note we don't check these regulary.
Sorry about that. I will try to keep the links persistent.
Thanks
From my iPhone 4, It's not bringing up the iphone theme. It's showing as the regular gallery theme.
Any troubleshooting tips?
Thanks for reporting this. I can reproduce the problem you describe (using firefox ua-switcher). The problem is located at line 142. You should replace `getOption(MobileThemeFilter::$iphone) === true` with `getOption(MobileThemeFilter::$iphone)`. I will update the plugin asap.
Regards
I came across a couple free alternatives to the detectmobile browsers script but just decided to carry across what I had in my previously hacked function.php file.
If anyone is interested:
http://blog.mobileesp.com/
http://wurfl.sourceforge.net/
I ended up rewriting th emobi_detectmobilebrowsers function. My version is below:
`
function mobi_detectmobilebrowsers($ballot) {
//http://zytrax.com/tech/web/mobile_ids.html
//http://my.opera.com/community/openweb/idopera/
$UA = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : "";
if (getOption(MobileThemeFilter::$iphone)) {
$ballot->vote(strchr($UA, 'iPhone') ? true : false);
}
if (getOption(MobileThemeFilter::$windows)) {
$ballot->vote(strchr($UA, 'Windows Mobile') ? true : false);
$ballot->vote(strchr($UA, 'Windows CE') ? true : false);
$ballot->vote(strchr($UA, 'Windows Phone') ? true : false);
}
if (getOption(MobileThemeFilter::$blackberry)) {
$ballot->vote(strchr($UA, 'Blackberry') ? true : false);
}
if (getOption(MobileThemeFilter::$android)) {
$ballot->vote(strchr($UA, 'Android') ? true : false);
}
if (getOption(MobileThemeFilter::$operamini)) {
$ballot->vote(strchr($UA, 'Opera Mini') ? true : false);
}
if (getOption(MobileThemeFilter::$operamobile)) {
$ballot->vote(strchr($UA, 'Opera Mobi') ? true : false);
}
if (getOption(MobileThemeFilter::$ipad)) {
$ballot->vote(strchr($UA, 'iPad') ? true : false);
}
}
`
Thanks for providing this implementation and those links. I will try to integrate your code this week-end, if you don't mind.
Regards
Thanks again!
I think the mobile theme plugin works as expected.
I've integrated wirecutter's implementation last week and also refactored things a little bit to decorrelate the default implementation (wirecutter's one) from the mobi stuff.
the plugin is now reasonably clean and the quick tests i did using firefox ua-switcher didn't show any particular issue. So i think you're safe to update the zenphotoiphone page if you want.
Regards
Btw, just to note: I am planning a special mobile theme using www.jquerymobile.com (currently in beta) for Zenphoto 1.4.2. Since we first need to upgrade our jquery and that requires testing that none of our dependencies break I can't say anything specific. There will probably also something to switch to the theme automatically using http://blog.mobileesp.com/
We are on the same wavelength though, as I am currently working on a "responsive" theme, that will adjust from desktop to tablet to smartphone using css3 media queries.
My theme will probably be a pretty general one with some plain jquerymobile stuff (of course with Zenpage support). Meant more as a secondary theme and as a kind of starting point for other to customize for specific needs.
Looking forward to your responsive theme as well. It will be interessting how you solve the problem of image generation. Bandwidth and speed is lower on mobiles but you need to pregenerate and load the big sizes since they are scaled via CSS. Unless you do some other tricks via ajax loading maybe.
Maybe we should one day do a theme together..;-)
http://gjr-web.com/news/SneakPreviewzpSkeletonanAdaptiveZenphotoTheme
Hopefully I find time to work more on the jQuery mobile theme (if you like an preview send me an e-mail, you should have it I think).
The best I could come up with is the JAIPHO system, but it's not as user friendly as zenphoto.
Generally our themes should work on those iDevices but they just don't fit the screens.