there is the method
1. replace this code in file
libs/link.php Code:
global $URLMethod;
//if ($URLMethod == 1)
//{$catvar = $this->category;}
//if ($URLMethod == 2)
{$catvar = $this->category_safe_name();}
with this code
Code:
global $URLMethod;
//if ($URLMethod == 1)
{$catvar = $this->category;}
//if ($URLMethod == 2)
//{$catvar = $this->category_safe_name();}
2. find the
sidebar_modules/categories.tpl in your template folder
search the code
Code:
<a href='{$cat_url}{$categorylist[nr].category_safe_name}'>
replace it with
Code:
<a href='{$cat_url}{$categorylist[nr].category_id}'>
3. open the
index.php and
shakeit.php in line 24
replace this
Code:
if(isset($_REQUEST['category'])){$thecat = $db->get_var("SELECT category_name FROM categories WHERE `category_safe_name` = '".$_REQUEST['category']."';");}
with
Code:
if(isset($_REQUEST['category'])){$thecat = $db->get_var("SELECT category_name FROM categories WHERE `category_id` = '".$_REQUEST['category']."';");}
there still maybe have some bug. but i thought it's the better method for us who use the utf-8 as the charset.
at the end, i upload the files i have already modified. you can use this files to replace you files.
my email is
athlechina@gmail.com ,if you find other bugs of it please tell me.
this code i have used in
www.athle.cn, but it's a chinese website.