I use Greek characters [UTF-8] in my Pligg installation and work everything [Tags, Category links under the post, etc] fine, except of the names of the Categories in the sidebar.
When i use UTF8 in Category names then the link of a Category in the sidebar [and only there] is like this: http://site.com/index.php?category=
instead of http://site.com/index.php?category=Τεχνολογία
[Τεχνολογία=Technology]
[this happens with both templates so i suppose that is a core problem]
I need your help so to build the first Pligg site in Greece PLEASE!!
Thank you!
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| |
| |||
|
Any Help On This??? PLS... |
| The Following User Says Thank You to athle For This Useful Post: | ||
| |||
| Quote:
is it possible to make the changes and send me the files? if yes tell me your email to send you some $ via Paypal. |
| ||||
|
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();}
Code: global $URLMethod;
//if ($URLMethod == 1)
{$catvar = $this->category;}
//if ($URLMethod == 2)
//{$catvar = $this->category_safe_name();}
search the code Code: <a href='{$cat_url}{$categorylist[nr].category_safe_name}'>
Code: <a href='{$cat_url}{$categorylist[nr].category_id}'>
replace this Code: if(isset($_REQUEST['category'])){$thecat = $db->get_var("SELECT category_name FROM categories WHERE `category_safe_name` = '".$_REQUEST['category']."';");}
Code: if(isset($_REQUEST['category'])){$thecat = $db->get_var("SELECT category_name FROM categories WHERE `category_id` = '".$_REQUEST['category']."';");}
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. Last edited by athle; 10-29-2006 at 01:45 AM.. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Control of meta description - categories | Divisive Cotton | Suggestions | 64 | 11-23-2008 07:37 PM |
| How to remove category names like "general" from url | ibbpero | Customization Assistance | 0 | 08-03-2008 02:52 PM |
| Show Top Stories by Category in Sidebar - A How To | TrailofDead | Modification Tutorials | 0 | 04-23-2007 09:30 PM |
| category related sidebar stories | Andtony | Modification Tutorials | 0 | 04-07-2007 10:55 AM |
| non-english category names | NEC | Bug Report | 6 | 02-16-2007 09:08 AM |





Linear Mode

