Home > Drupal 7 > Drupal 7 Browscap Not Working

Drupal 7 Browscap Not Working

Contents

I had to call the function using it's mispelled name. Thanks. Once a user agent has been identified as a browser or crawler, that designation remains even if an updated browscap.ini changes it. 3. Log in or register to post comments Comment #3 varunvnair CreditAttribution: varunvnair commented June 7, 2005 at 6:58am Hi, Thanks for the prompt reply. check over here

Log in or register to post comments Comment #2 mikeryan CreditAttribution: mikeryan commented June 6, 2005 at 6:46pm FileSize statistics_filter_1.module10.28 KB Oops... Log in or register to post comments Comment #38 stephen.punwasi CreditAttribution: stephen.punwasi commented December 31, 2013 at 3:37pm Hey Isabug, You just have to set up two seperate caches, one to Log in or register to post comments Comment #17 infines CreditAttribution: infines commented March 15, 2013 at 3:12am I just don't like the idea of integrating a similar solution into every share|improve this answer answered Mar 10 '12 at 17:05 paul-m 2,179615 In replay to your answer I updated my question. –rekire Mar 10 '12 at 20:23 Just https://www.drupal.org/project/issues/browscap

Browscap Drupal

Switchtheme uses Browscap to switch the site theme based on the user agent of a visitor. If you notice a bug on a module, you should report that on the project issue queue, as Berdir said. Log in or register to post comments Comment #46 zJoriz CreditAttribution: zJoriz commented January 7, 2016 at 2:14pm #22 works!

  • When I check the block settings the Hide in mobile is still selected.
  • I will try to find a workaround to this problem and post it here if I find something that you can use.
  • If I refresh the Browscap data I'll get everytime a timeout after 30 seconds.
  • What exact variable do I print?
  • How can I claim compensation?
  • Mobile Switch provides a simple automatic theme switch functionality for mobile devices, detected by browscap.
  • What is the point of update independent rendering in a game loop?
  • Something I'm playing with is using the block query module I created (which will soon be updated to support contexts) and then redirecting appending a uri argument (for example, mobile=true).
  • If the value is set then it should print out the value.
  • Also, if you're using views as a block you might look to temporarily disable caching and then re-enable.

That's not ThemeKey's fault. Perhaps we need to use something like this: if ($browser['ismobiledevice'] == TRUE || $browser['ismobiledevice'] == "true" || variable_get('mobile_switch_ismobiledevice', FALSE)) Log in or register to post comments Comment #7 peezy CreditAttribution: peezy Log in or register to post comments Comment #11 mikeryan CreditAttribution: mikeryan commented June 14, 2005 at 11:55pm OK, that's it - I forgot that I didn't have much luck configuring Drupal Detect Mobile Thanks Log in or register to post comments Comment #41 marcoscano CreditAttribution: marcoscano commented January 26, 2015 at 9:21am Assigned: monstrfolk » Unassigned Status: Patch (to be ported) » Needs review

Skip to main content Skip to search Main Menu Drupal.org home Download & Extend Community Documentation Support Jobs Marketplace About Return to Content Search form Search Log in Create account Drupal What Is Browscap I've also committed a new version of statistics_filter which uses the browscap module's services (and moved the browser tracking from statistics_filter to browscap). Superfish has it's own mobile detection but it doesn't collapse, so could be a problem with superfish. Sponsors Development of Browscap is sponsored by Acquia and the Ontario Ministry of Northern Development and Mines.

Log in or register to post comments Comment #10 gianfrasoft CreditAttribution: gianfrasoft commented November 6, 2013 at 8:18am @mkalkbrenner here are my server infos: - Apache/2.2.14 (Unix) - MySql 5.1.63-enterprise-commercial-advanced-log - Get_browser The link talks about techniques to grab the main menu id in order to hide/collapse in mobile. Now I'm ashamed! Wrong way on a bike lane? "The Blessed One", is it bad translation?

What Is Browscap

javascript share|improve this question edited Sep 10 '15 at 8:11 kiamlaluno♦ 67.1k899195 asked Jun 26 '14 at 15:05 nielsv 238324 closed as off-topic by kiamlaluno♦ Sep 10 '15 at 8:11 This is classified as a crawler. Browscap Drupal When I searched on the internet I found this topic that suggested this: [browscap] ; http://php.net/browscap browscap = "C:\xampp\php\extras\browscap.ini" I've download full_php_browscap.ini file on browscap.org and placed it in the root Browscap Php Do you have news regarding this issue, or maybe a solution soon with the block query module ?

THX in advance, maen !! check my blog Log in or register to post comments Comment #7 SolomonGifford CreditAttribution: SolomonGifford commented September 19, 2012 at 10:23am I can't see how this module would ever work correctly as written. Installation Browscap can be installed via the standard Drupal installation process. So my patch has become: file: themekey\modules\themekey.browscap.inc row: 67 change validator: themekey_validator_string_boolean with validator: themekey_validator_numeric_boolean here is the code: $attributes['browscap:ismobiledevice'] = array( 'description' => t("Browscap: Is mobile device"), 'validator' => 'themekey_validator_numeric_boolean', Browscap Block

I'd love to get this module working. Log in or register to post comments Comment #8 mkalkbrenner CreditAttribution: mkalkbrenner commented November 6, 2013 at 8:14am @gianfrasoft: can you provide some more details like browscap and php version? Could do with some love, but I have been for the most part unable to work on this module the past year or so, doesn't mean people can't get something out this content Note: browser_name_regex is not returned.

Log in or register to post comments Comment #17 November 20, 2013 at 10:18pm Status: Fixed » Closed (fixed) Automatically closed - issue fixed for 2 weeks with no activity. Browscap Ini Directive Not Set Log in or register to post comments Comment #43 screeno CreditAttribution: screeno commented August 16, 2015 at 2:05pm Tried the patch in #41. TSA broke a lock for which they have a master key.

This worked on the first try.

Moved instructions to README.txt. Depending on your caching solution, you may need to find one that seperates them into two caches, one for mobile one for desktop. Then I get a WSOD, my logs explains, that there is no browscap_block_cache.inc what I can confirm. Now neither seem to work.

I'm a noob if it comes to code though. Code ladder, Cops more hot questions default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Log in or register to post comments Comment #11 mkalkbrenner CreditAttribution: mkalkbrenner commented November 6, 2013 at 8:57am Title: Browscap:ismobiledevice rule not working » Browscap:ismobiledevice rule not working in some setups have a peek at these guys BTW did I tell you that this module is simply great? :-) At least for small sites like mine ( http://www.ThoughtfulChaos.com ).

Upload the correct version of browscap.ini and make the module aware of it. Does this mean anything? I also want to know the execution time. Thanks!

I want to display menu block having jQuery effect providing by Superfish small touch js only on mobile device, anonymous cache as well as varnish cache should be enabled. If it is Superfish, I think we're both in the wrong issue queue space. after applying the patch in #1 the reverse was true. Does it works as expected after clearing the cache, then doesn't on the next device you try?

Using the Corolla theme and no page caching. Is there a module that does these things? If logged in and I click the "1", it actually creates a rule and populates the value with the 1. How can I fix that?

Log in or register to post comments Comment #19 liquidcms CreditAttribution: liquidcms commented August 7, 2013 at 8:56pm Status: Active » Needs review FileSize browscap_block-extend-cache.patch2.71 KB i took what they were