Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-04-2006, 08:12 PM
New Pligger
 
Join Date: Jan 2006
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Chinese Search doesn't work

My site is in Chinese. I just found the search founction didn't work when used Chinese words, the tag also didn't work with Chinese.
I am using beta 5.10 smarty.

Help please!

Thanks!

Last edited by plum; 02-05-2006 at 01:02 PM..
Reply With Quote
  #2 (permalink)  
Old 02-06-2006, 04:52 AM
New Pligger
 
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
I have zhe same problem too.
Reply With Quote
  #3 (permalink)  
Old 02-08-2006, 01:41 AM
New Pligger
 
Join Date: Jan 2006
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
it's caused by smarty.
Reply With Quote
  #4 (permalink)  
Old 02-10-2006, 02:38 AM
New Pligger
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
How to solve the problem?

And when search in English, some key words work, others not. I test on pligg.com, there are the same problem.

Help please!
Reply With Quote
  #5 (permalink)  
Old 02-15-2006, 12:43 AM
New Pligger
 
Join Date: Feb 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
i try to use the code from meneame japanese version, and it works for me.

http://www.rauru-block.org/mediawiki/index.php/Meneame

in libs/utils.php, function get_search_clause
Code:
$where = " AND MATCH (link_url, link_url_title, link_title, link_content, link_tags) AGAINST ('$words' $mode) ";
change this line to

Code:
		$where = " AND (link_url like '%".$words."%'".
			" OR link_url_title like '%".$words."%'".
			" OR link_title like '%".$words."%'".
			" OR link_content like '%".$words."%'".
			" OR link_tags like '%".$words."%')";
Reply With Quote
  #6 (permalink)  
Old 02-17-2006, 03:33 AM
New Pligger
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
thanks a lot, that definitely got my search working ^_^
Reply With Quote
  #7 (permalink)  
Old 02-20-2006, 04:48 AM
New Pligger
 
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
thanks a lot!
I got it!
Reply With Quote
  #8 (permalink)  
Old 06-11-2007, 04:37 PM
New Pligger
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
now in search.php

great job, thanks!
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Search Method 4 - Tags will not work hotsitez Bug Report 11 11-29-2008 07:54 PM
SEO (Search Engine Optimization) Yankidank Wiki Articles 23 12-02-2007 12:27 PM
Search doesnt work in ie fromto General Help 0 02-26-2006 08:36 PM
plz help: search not work any more fwebz General Help 7 02-02-2006 12:59 AM


Search Engine Friendly URLs by vBSEO 3.2.0