Mindshare Labs, Inc.
Forum Replies Created
-
Forum: Plugins
In reply to: [PHP Browser Detection] How to Redirect?If you want to send me a temporary admin login for the site I can check it out (info AT mindsharestudios DOT com).
Forum: Plugins
In reply to: [PHP Browser Detection] How to Redirect?You should probably put this code at the very top of your header.php file, before anything else, even the <HTML> tag:
<?php // redirect IE8 and lower visitors if(is_ie() && get_browser_version() <= 8) { wp_redirect('http://www.example.com', 301); exit; } ?>Not yet. I’ll post here if I come up with anything 🙂
Forum: Plugins
In reply to: [PHP Browser Detection] How to Redirect?Yes this is possible. Try:
if(is_ie() && get_browser_version() <= 8) { wp_redirect('http://www.example.com', 301); exit; }Change “http://www.example.com” to whatever URL / page you want IE8 and lower people to go to.
That looks like an issue in your theme “politician”.
Try activating the default 2012 theme and see if the error goes away, if so, you should contact the theme author for support.
I’m seeing an issue on a site running Shopp also. My issue may be related to this…
From what I can tell the latest version of Quick Cache isn’t respecting the settings I’ve put into the “No-Cache URI Patterns” textarea.
It sounds like jefffffffrey91’s issue might be that Quick Cache is caching the cart with nothing in it.
Got it – I found the conflict. It was the “404 Redirected” plugin. Thanks.
Forum: Plugins
In reply to: [PHP Browser Detection] IE10 older version simulation issueThe developer tools in IE10 are working in the latest version of the plugin (2.2). Let me know if you have additional issues.
Forum: Plugins
In reply to: [PHP Browser Detection] missing versions from output –Please let me know if the issue you encountered persists in version 2.2.
Forum: Plugins
In reply to: [PHP Browser Detection] Newest version not working in 3.4.2This has been verified to work in version 2.2.
Forum: Plugins
In reply to: [PHP Browser Detection] Firefox 17 = Unknown BrowserThis has been verified to be fixed in version 2.2.
You can do this like so:
if(is_mobile()) { echo do_shortcode('[mobile-shortcode]'); } else { echo do_shortcode('[desktop-shortcode]'); }See http://codex.wordpress.org/Function_Reference/do_shortcode
This feature is available in the latest version (2.2) using the following syntax:
if(is_ie() && get_browser_version() <= 8) { /* do stuff */ }This code works:
<?php if(is_firefox()) { $firefox = '<div class="firefox"> Hi User your Browser is Firefox '.get_browser_version().'</strong</div>'; echo $firefox; } ?> <?php if(is_chrome()) { $chrome = '<div class="chrome"> Hi User your Browser is Chrome '.get_browser_version().'</strong</div>'; echo $chrome; } ?>Forum: Reviews
In reply to: [PHP Browser Detection] Seems to work well enoughThis issue was just fixed. Thanks for reporting it!