Mindshare Labs, Inc.
Forum Replies Created
-
Forum: Plugins
In reply to: [PHP Browser Detection] Plugins seems nice, but returns 7 on IE 8.This is definitely not true… IE8 returns IE8. We just tested this to be sure. If you are still having issues, please provide more detail and we will look into it.
Forum: Plugins
In reply to: [Gravity Forms WYSIWYG] Wysiswyg field in custom field?Cool thank you!
+1 to here too. Thanks!
Forum: Plugins
In reply to: [Gravity Forms WYSIWYG] Wysiswyg field in custom field?I’d love to know how to enable this as well. Thanks.
Forum: Plugins
In reply to: [WP Ultimate Search] WP Ultimate Search is returning the word "Busted!"Can you confirm whether or not this happens if you switch to the default 2012 theme and deactivate all other plugins? It may be an incompatibility with your theme or another plugin.
Forum: Plugins
In reply to: [Advanced Custom Fields Limiter] A Little BugIf anyone else is looking for the link: https://github.com/AtomicSmash/ACF-limiter-field
Forum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Save to Taxonomy not workingI figured it out… as it is currently this option doesn’t work with hierarchical taxonomies. Is there a reason why not? I’m going to investigate the code and see if I can find a solution.
Forum: Plugins
In reply to: [Theme My Login] TML 6.3.6 Redirect IssueMe too.
Forum: Plugins
In reply to: [PHP Browser Detection] Syntax errors with conditional statements includedThis is going beyond the scope of support for the actual PHP Browser Detection plugin. There are n almost infinite number of ways you could accomplish what you are trying to do with some basic PHP knowledge. Why not just create a custom function that does whatever you need it to in your functions.php file as you suggested?
function myBrowserError() { if(is_ie() && get_browser_version() < 10) { // do soemthing } else { // do soemthing } } }And call that from Fubar? I am closing this topic as it is no longer directly related to my plugin, but rather about WordPress development in general.
Forum: Plugins
In reply to: [PHP Browser Detection] Syntax errors with conditional statements includedYou shouldn’t use the syntax “is_lt_IE10” or “is_lt_IE” – both of these are being phased out. Instead you should use the much more flexible (and future proof):
if(is_ie() && get_browser_version() < 10) { return TRUE; } else { return FALSE; }The reason is that we don’t want to have to add a ton of different functions for every single borwser version when one function will do. For example, we will not be adding is_ie11() or is_lt_ie11()
Forum: Plugins
In reply to: [PHP Browser Detection] Syntax errors with conditional statements includedIf you are getting a parse error, double check your PHP syntax. Or post the full code here and I’ll can find it for you.
Forum: Plugins
In reply to: [PHP Browser Detection] Retina displaysDetecting retina displays is not something we are planning on including with PHP Browser Detection at this time.
Forum: Plugins
In reply to: [PHP Browser Detection] Syntax errors with conditional statements includedThe is_lt_IE style function are being deprecated (no longer supported). Instead use the new syntax:
if(is_ie() && get_browser_version() < 9) { }I will make sure the code comments get changed in the next release.
Forum: Plugins
In reply to: [PHP Browser Detection] How to Redirect?You would need to add some sort of test to see if the person is already on the redirect page. Try something like this:
if(is_ie() && get_browser_version() < 9 && !is_page('please-update-your-browser')) { wp_redirect('/please-update-your-browser/', 301); exit; }You would need to replace “please-update-your-browser” with the slug or name of the page your are redirecting to.
Forum: Plugins
In reply to: [PHP Browser Detection] How to Redirect?@slshaw115 You probably have created a redirect loop.
You need to make sure wp_redirect doesn’t get called on the page you are redirecting to, otherwise it will keep redirecting over and over until the server stops the loop.