Behavior of search box on Forum

When I type something into the search box and then press return or click the search field this doesn't start a forum search.
Instead, it just takes me to the search screen - where I can then start a search that works fine.
I get taken to the following URL:
http://forums.zotero.org/search/#support/searchterm

FF 3.0.11 ubuntu 9.04 and problem continues with extensions disabled.

I don't mind this a lot, but if this is common behavior it would explain why some people seem to search without posting - not because they don't search, but because it appears as if their search didn't produce any results.
  • Should be fixed. Thanks for bringing it to our attention.
  • works - thanks!
  • edited April 17, 2010
    A similar problem seems to exist for browsers other than Firefox (Specifically Chrome, Safari, and mobile Safari).
    If I use the search box from Firefox, I am taken to this URL:
    http://www.zotero.org/search/#forums/searchterm
    However, on Chrome for example, I am taken to this page:
    http://www.zotero.org/search/?q=searchterm
    And there are no results.
    This is on Windows XP (except mobile Safari obviously).

    Edit: And to be clear, I referring to searching from the forum only. Searching on other areas of the website seems to be fine regardless of browser.
  • Okay, now this is broken in Firefox too. Is this just happening to me? In addition, that page I am being taken to (the one I got in Chrome yesterday) doesn't even work (none of the three search boxes bring up results).
  • hmmm, what platform is this? is javascript enabled? If you see 3 search boxes on the search page then either javascript is disabled or something is seriously wrong with the javascript which I haven't seen before.

    I can reproduce the behaviour on chrome described in your first post, but otherwise it seems to be working. I'll see about fixing that part tomorrow.
  • JavaScript is enabled, and I just tried restarting Firefox in safe mode but I still get the same thing. Below are three errors that were most recent in the console.

    Error: jQuery is not defined
    Source File: http://www.zotero.org/search/?q=zotero
    Line: 174

    Error: jQuery is not defined
    Source File: http://www.zotero.org/static/js/zotero.1268937783.js
    Line: 16

    Error: jQuery is not defined
    Source File: http://www.zotero.org/static/library/jquery/jquery.history.1242334234.js
    Line: 13
  • Do those still show up if you reload without the cache (ctrl-shift-r in firefox, maybe command-shift-r on macs)
  • Nope. That fixed it. I probably would have tried that earlier, but I mistakenly thought this was related to the problem on the other browsers (which I now see do not display 3 boxes). Thanks.
  • It does not work for me, even after clearing the cache&restarting Firefox or when using Safari instead of Firefox: Entering text 'zotero' into the 'search' box at top right -> no result, gets me to a page with 3 tabs (people, groups, support) that does not work either:
    http://www.zotero.org/search/?q=zotero&supportRefinement=forums#support

    The search page from the sidebar at the left works - it gets me to the search page without tabs:
    http://forums.zotero.org/search/
  • forums.zotero.org/search is the forum search, which is useful if you know what you're looking for but is not good for random new users trying to find stuff. The search bar on the top is a google search which has better general search results.

    The top search bar not behaving as expected in webkit based browsers (chrome, safari) should be fixed now.

    schmid: can you provide more details on your OS and browser where the search page has tabs but is not working?
  • Safari: now it works, thank you!

    Firefox:
    Still not working.
    I was not referring to the Google search in the address bar but to the Web site search field below the 'donate' button. Entering 'zotero' there gets me to http://www.zotero.org/search/#forums/zotero
    No search results on this page, only 3 tabs, a search field with 'zotero' in it, 3 radio buttons, and 'Search Support'. Pressing this button gets me to http://www.zotero.org/search/?q=zotero&supportRefinement=support#support
    No results on this page either.

    Firefox 3.6.3, Mac OS X 10.4.11, Adblock Plus blocking Google analytics; NoScript with explicit permission for forums.zotero.org and www.zotero.org. NoScript reports blocking Google/Google Analytics, but nothing else.
  • edited April 20, 2010
    that's what fcheslack means - that search box uses a google site search. Could be that you're blocking that with noscript - why don't you try briefly disabling noscript to see if that's the problem.

    edit: yeah, that's probably it
    http://www.zotero.org/search/#forums/zotero
    has 41000 search results for me
  • Yes, your suspicion is correct, it is an issue of NoScript; I did not expect that function to depend on Google javascript code (the link does not look like anything going to Google). I'll keep Google javascript blocked for privacy reasons and directly access a search engine (Google or whatever) for searching the zotero forum.
  • Okay. Note that it should work even blocking analytics. The required code is the Google AJAX search API. This may in fact have privacy implications I'm not aware of, but not obvious and explicit ones like analytics does. I don't see anything about that with a quick look at the documentation.
  • It was not only Google Analytics but also Google that was blocked, causing the search not to work. (It was blocked mainly for privacy reasons; the javascript code on their search pages is incredibly complex, it includes 'phone home' functionality on mouse clicks and possibly more that I don't like)
Sign In or Register to comment.