Pligg Support

Hi! Can somebody please help me make a left sidebar whose content changes with the category e.g i click on news category and the sidebar is dynamically populated with menus like local news,international news..when i click on technology category,my sidebar is populated with menus like iOS, android e.t.c

[10-Apr-2014 00:13:27] PHP Warning: Missing argument 1 for Search::doSearch(), called in *********/libs/sidebarstories.php on line 28 and defined in /home1/darklife/public_html/noticiasvzla/libs/search.php on line 32

Hi, I'm a new user to Pligg and i have been struggling with the issue of sorting in ChuckRoast 's sidebar stories module.
I want to be able to set sidebar stories in a way that I can see there top voted stories from today or last week or last month (i'll do buttons to change timeframe).

I have found libs/sidebarstories.php and at the beginning there is :

class SidebarStories {
var $pagesize = 5; // The number of items to show
var $orderBy = ""; // The sorting order
var $filterToStatus = "all"; // Filter to "all" or just "published" or "new"
var $filterToTimeFrame = ""; // Filter to "all" or just "published" or "new"

I see that I can filter timeframe to all or published, but i want to filter it by 'today', 'week', 'month'.

I thought that if I make following changes it'll work but i was mistaken :)

class SidebarStories {
var $pagesize = 5; // The number of items to show
var $orderBy = "link_votes DESC"; // The sorting order
var $filterToStatus = "all"; // Filter to "all" or just "published" or "new"
var $filterToTimeFrame = "week"; // Filter to "all" or just "published" or "new"

None of my changes worked, so I'd like to ask for help in finding solution to this problem
Thanks