tomchen
Forum Replies Created
Viewing 7 replies - 1 through 7 (of 7 total)
-
Forum: Fixing WordPress
In reply to: [My Page Order] My Page Order Not Working in WP 3.4Sorry, I posted wrong, My Page Order was good for me, My Link Order was not, but I’ve got the solution from here.
Forum: Fixing WordPress
In reply to: [My Page Order] My Page Order Not Working in WP 3.4It’s true, it’s not working for my WP 3.4.1 and 3.4.2, while My Page Order and My Category Order work fine.
Forum: Plugins
In reply to: [Plugin: Search Unleashed] problem after 2.7 upgradeoops, my mistake…:)
Forum: Requests and Feedback
In reply to: Missing argument warning for search-unleashedthen see here:
https://www.ads-software.com/support/topic/225204?replies=10Forum: Plugins
In reply to: [Plugin: Search Unleashed] problem after 2.7 upgradethis problem is caused by the lack of mbstring module, so you can also install the mbstring module to solve the problem.
Forum: Plugins
In reply to: [Plugin: Search Unleashed] problem after 2.7 upgradeFOR THE STEP 1: if you want more exact, replace that with:
if (!function_exists ('mb_strlen')) { function mb_strlen1 ($str, $encoding) { if ($encoding=='UTF-8') { return preg_match_all('%(?: [\x09\x0A\x0D\x20-\x7E] # ASCII | [\xC2-\xDF][\x80-\xBF] # non-overlong 2-byte | \xE0[\xA0-\xBF][\x80-\xBF] # excluding overlongs | [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2} # straight 3-byte | \xED[\x80-\x9F][\x80-\xBF] # excluding surrogates | \xF0[\x90-\xBF][\x80-\xBF]{2} # planes 1-3 | [\xF1-\xF3][\x80-\xBF]{3} # planes 4-15 | \xF4[\x80-\x8F][\x80-\xBF]{2} # plane 16 )%xs',$str,$out); }else{ return strlen($str); } } }
Forum: Plugins
In reply to: [Plugin: Search Unleashed] problem after 2.7 upgrade=================STEP 1===================
open the file search-unleashed.php (line 697-703 for v0.2.24),
replace this:if (!function_exists ('mb_strlen')) { function mb_strlen ($str, $encoding) { return strlen ($str); } }
with:
if (!function_exists ('mb_strlen')) { function mb_strlen1 ($str, $encoding) { return strlen ($str); } }
=================STEP 2===================
then open the file models\search-unleashed.php (line 21 for v0.2.24),
replace this:$this->first_match = mb_strlen ($this->text, get_option ('blog_charset'));
with:
if (!function_exists ('mb_strlen')){ $this->first_match = mb_strlen1 ($this->text, get_option ('blog_charset')); }else{ $this->first_match = mb_strlen ($this->text, get_option ('blog_charset')); }
Viewing 7 replies - 1 through 7 (of 7 total)