Support Forum

search function in forum

PW Peichih Wang
Peichih Wang
Member

is there anyway that we can make the search function in our forum support Chinese??  our forum is primarily in Chinese and we just found out that the search function doesn’t support Chinese…..

This is really a big problem for us…..crycry

is there anything we can do?? any other plugins?? 

thanks!!

22 Answers

New Answer

MP Mr Papa
Mr Papa
Member

can you enlighten us a bit more why you think it doesnt support chinese? what happens? we have another chinese user a while back who asked for a change to get it working and we added it… so would like to know what the issue might be…

PW Peichih Wang
Peichih Wang
Member

well basically it never comes back with any search result. we’ve tried searching different key word (that for sure does exist in the discussions) and the search result is always 0.  whether searching for topic title or content.  

only english key words work.

when you said you added it, do you mean the function of supporting Chinese searches or only the support to show Chinese content in the forum???

thanks so much!!!

MP Mr Papa
Mr Papa
Member

I meant we had added support for the chinese chars in search… or at least so I think… will have to do some searching and look around…

PW Peichih Wang
Peichih Wang
Member

do you need any further info??  for you to look into this easier??  

thanks!!

MP Mr Papa
Mr Papa
Member

not right now…  have opened a ticket for further research…

PW Peichih Wang
Peichih Wang
Member

I notice that when I try to search chines, the resule page show up 404 error.

Just as follow :

Error 404

Sorry, what you are looking for doesn’t seem to be here.

You can try:
Going home or doing a Search.
Is that the correct result page? Thank you!
              
YS Yellow Swordfish
Yellow Swordfish
Member

If this is the only time you get a 404 within the forum then it looks probable that there may be a conflict with the query variables being passed by the search tool and another WP plugin you have active.

Can you take a look at your other WP plugins and try and see if any of them construct urls that have any of the same query variables in the url?

PW Peichih Wang
Peichih Wang
Member

Hi,  Yellow Swordfish.

    Thanks for your suggestion.  

This is not the only time, I got 404 with the search function every time.

I also use WP-Member and WP-Tree in my blog.

I try to uninstall these 2 , but the search function still doesn’t work.

MP Mr Papa
Mr Papa
Member

I see bbpress and mingle on your site, but no simple press… do you have direct link to it?

your server may be running mod_security or other that is incorrectly blocking the search url…

YS Yellow Swordfish
Yellow Swordfish
Member

Just gong back to the original question I am a little confused.

You said at the top of this thread that the search always results in 0 (zero) finds. Then later you say that it always results in a 404 page. These are very different results with very different reasons.

If it is indeed a 404 on every search then either – s I suggested – there is a url conflict with another plugin – or, and this is actually probably more likely – your host is running mod_security on your server as Steve suggested.

I would say the first thing to do is ask your host about this and if they have put mod_security in place ask if it can be removed or if the search url vars can be white-listed. Most hosts will usually accommodate this request.

PW Peichih Wang
Peichih Wang
Member

Sorry, I didn’t express clearly.

Ther results always shows 404 pages.

I try to build a testing site and only install simple-press / WP-member / WP-dTree.

But It still shows 404 page. I will ask my host about mod_security.

Thanks~   

                                 

PW Peichih Wang
Peichih Wang
Member

Dear Sir, 

Before I solve this issue, is there any way to disable or make search function to be unvisiable ?

Thank you

MP Mr Papa
Mr Papa
Member

you can edit the spHead.php template file in the sp theme you are using and remove the template function that displays the search form…

be sure to create your own theme vs editing one of ours:

http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/