Mindshare Labs, Inc.
Forum Replies Created
-
Forum: Plugins
In reply to: [PHP Browser Detection] Out of memory errorsThose errors are definitely being triggered by the update process. I bet there is another place in the code you will need to change. I am going to try to push out a new version today though, so standby for the update.
Forum: Plugins
In reply to: [WP cdnjs] JS Conflict with Formidable Pro Forms pluginWe just pushed an update to address this. We tested locally with Formidable and had no issues. Can you confirm?
Forum: Plugins
In reply to: [PHP Browser Detection] Out of memory errorsThe next release will allow you to disable automatic updates using an action. Until then you can turn off auto updates per this post and see if that fixes the issue:
https://wordpress.org/support/topic/warning-and-fatal-error-7?replies=5#post-6040976
Forum: Plugins
In reply to: [PHP Browser Detection] Warning and Fatal ErrorFor a quick fix change line 107 in php-browser-detection/lib/Browscap.php:
public $doAutoUpdate = false;I’ll add this as an option in the next release.
Forum: Plugins
In reply to: [PHP Browser Detection] Undefined index: Device_TypWe’ll test this and fix. Thanks for reporting it!
Forum: Reviews
In reply to: [PHP Browser Detection] Works like a CharmThanks for good review!
Forum: Plugins
In reply to: [WP cdnjs] JS Conflict with Formidable Pro Forms pluginHey guys,
Thanks for reporting this issue. I don’t even recall why we were using that script… but we will release a fix along with a few other improvements as soon as possible.
Forum: Plugins
In reply to: [PHP Browser Detection] is_desktop seems to be showing on iOS devicesThat is not the output of an iPad… that’s a desktop browser. This is what the output looks like from an iPad:
php_browser_info() = Array ( [browser_name] => Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10 [browser_name_regex] => ^mozilla/5\.0 \(ipad.*cpu os (\d)_(\d).* like mac os x.*\).*applewebkit/.*\(.*khtml, like gecko.*\).*version/4\.0.*mobile/.*safari/.*$ [browser_name_pattern] => Mozilla/5.0 (iPad*CPU OS 3_2* like Mac OS X*)*AppleWebKit/*(*KHTML, like Gecko*)*Version/4.0*Mobile/*Safari/* [Parent] => Mobile Safari 4.0 [Platform_Version] => 3.2 [isTablet] => 1 [Comment] => Mobile Safari 4.0 [Browser] => Safari [Version] => 4.0 [MajorVer] => 4 [Platform] => iOS [Frames] => 1 [IFrames] => 1 [Tables] => 1 [Cookies] => 1 [JavaScript] => 1 [isMobileDevice] => 1 [CssVersion] => 3 [MinorVer] => 0 [Alpha] => [Beta] => [Win16] => [Win32] => [Win64] => [BackgroundSounds] => [VBScript] => [JavaApplets] => [ActiveXControls] => [isSyndicationReader] => [Crawler] => [AolVersion] => 0 )Note the “Mobile Safari”
Forum: Plugins
In reply to: [PHP Browser Detection] Warning and Fatal ErrorYour host does not provide enough memory to PHP for the browscap update process to complete. Unless you can get them to increase the memory available to PHP there is currently no way around this. We will add an option to disable auto-updates in the future.
There are thousands of devices in the browscap database, is_mobile() just checks the DB for a property on each device “isMobileDevice”.
iPad will return true for is_mobile() so if you want to handle iPads separately you need to test for them using is_ipad()
I just pushed an update. if you get chance could you test it and see if it works for your CPTs?
Forum: Plugins
In reply to: [Subscribr] Subscribr not sending mail notificationsI just pushed an update. if you get chance could you test it and see if it works on your site?
Forum: Plugins
In reply to: [Subscribr] Subscribr not sending mail notificationsHi. We’re going to push an update SOON to address this. Sorry about the delay.
Forum: Plugins
In reply to: [PHP Browser Detection] WordPress Integration QuestionsIt’s totally dependent your theme and specific situation how you’d want to handle that. I’d suggest hiring a developer to help you.
Forum: Plugins
In reply to: [PHP Browser Detection] Error php-browser-detection.php on line 44That error indicates you are not using PHP 5.4, but probably an older version. That issue is caused by PHP versions 5.2 and older which do not support namespaces.
See: http://php.net/manual/en/language.namespaces.rationale.php
You will need to ask your host to upgrade to at least PHP 5.3.
If you are 100% certain you are using version 5.3 or higher post a link to the site with the output of php_info() and we will investigate.