syslogic
Forum Replies Created
-
Forum: Plugins
In reply to: [XML Google Maps] [Plugin: XML Google Maps] How does it work?API key? This sounds *quite* outdated since maps API v3 doesn’t require any key – beside XML is outdated as well – nowadays JSON is rather common.
I’m writing GPS related scripts / WP plug-ins by myself… just can release them since it’s not my property anymore…That matches ‘android 3’ – improved the reg-ex patern, so that it matches the first digit of the Android version. Phone running android 3 might fail. Once the template hooks are in place it should look for files named like that: index-android-3.php / index-tablet.php
(that’s is what I currently work on).Well, now it says “Android (Phone)” or “Android (Tablet)” in footer debug output. Currently only can verify 50% – but I guess it should just work 🙂
You could check output there: codefx.biz
It’s still in early stages of development – the next stage will be control panel & alternate file-names according to returned vars (as option).I just added version detection for Android … for the first digit only.
Android v3.0 / v4.0 now (should) return tablet when $general_only=true.
Please leave feedback.I will consider your request, since it makes sense to separate that. Thanks. (Just might take a while – a list which versions are for phones and for tablets would be helpful)… current only got 1 Froyo here to test.
Could you please post me the user agent string of your tablet??
Hopefully getting a Asus Transformer Prime soon, so I can test 🙂
Probably it can be separated by the version of Android running…
Since they are phone only / tablet only – know what I mean?Forum: Hacks
In reply to: Can I get the post ID during the 'init' or 'plugins_loaded' action?I don’t think so – because this event happens before $wp_query exists.
Accessing the $post is possible at this time, but it’s just the default object. Template’s functions.php might be a better place in timeline.