Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Advanced search shows no results

  1. #1
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default Advanced search shows no results

    I've just noticed that when I log in on a test account which has German set in the user cp (forum default language is English) that I get no advanced search results returned for some terms which do indeed return results in the default language. I'm guessing that this might be happening in other languages too.

    This happens on my own account too. I just used advanced search to look for a word (Bannführer) and got results using the forum default language of English. I then switched the language to German (by clicking on the flag under my navbar), performed the same search and got no results for the same word. Any ideas?
    Last edited by norku; 22-03-11 at 10:50.

  2. #2
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Just to take the scenario out of the equation I went to my Usercp and changed my default language to German, performed the same advanced search and again I got no search results. Not good if foreign language speakers can't search in their own language of course.

    Edit: just tried a couple of the other languages and although the words I enter into the search are visible when the foreign language speaker is reading the forum they are not returned in the advanced search result.
    Last edited by norku; 22-03-11 at 10:59.

  3. #3
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    I was on your site. In my user details I have languege - Polish.
    I used your advanced search to search word - "forum". and I have a full site of results.

    Can you explain it better?

  4. #4
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Some terms do work as you say but switch to German and try Bannführer and Stammführer for example. No results. Switch to Norwegian and search for bronse. No result although I have a thread with that word in the title when I view the forum in Norwegian...?
    Last edited by norku; 22-03-11 at 11:42.

  5. #5
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    You are right!
    I can reproduce it on my test forum so I will move this into bug section.

    There is probably issue with encoding - I will check it and fix on my test forum.
    Thanks

  6. #6
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Thanks Kamil.

  7. #7
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    still working on it

  8. #8
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Corrected and will be included in next release. Please note that at this moment we only changed required data (there was encoding issue) testing on thread search. If you find it not working for additional filters please notify it to us.

    Quick fix - at this moment you can fix it by adding new plugin:
    - Go to Admin CP -> Plugins & Products -> Plugin Manager -> Add New Plugin
    - Set:
    • Product=vB ENterprise Translator
    • Hook Location=search_process_start
    • Title=Correct search criteria for translated pages
    • Execution Order=5
    • Plugin PHP Code:
      Code:
      if ($_REQUEST['language'] && vB_Template_Runtime::fetchStyleVar('charset') != 'utf-8') {
      $vbulletin->GPC['query'] =& vbet_encodeToSafeUTF8($vbulletin->GPC['query']);			  		
      }
    • Plugin is Active=Yes

    - save and check does it work

    In case you will find any additional issues in this area please write we will reopen the issue then. On our test forum it's working well

  9. #9
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Hi,

    Just tested the plugin and unfortunately it isn't working. Here's an example:

    If I switch to French, for example, and enter "Jeunesses Hitlériennes" into either search or advanced search I get no results. However, if I enter "Hitler Youth" I then get a list of results containing "Jeunesses Hitlériennes"'. This happens regardless of whether your plugin is active or not. This is obviously not the way a french user would normally search. He wants to search in his own language of course and wishes to see results returned in that language.
    Last edited by norku; 06-05-11 at 10:46.

  10. #10
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    hello,

    I was on your site and tested it. everything is working good. if you try to search your sentence by not translated advanced search - no results too.

    I tried to find a Führerschnur word on all languages on your site and I had a results for all languages, so issue is solved.

    you can disable vBET and try to find your sentence once again - still no results so this is not vBET bug.


Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •