Navigation

Pligg Support

Search Results for "sidebar"
I have this error in the log:

[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

P.S. there is quite nice solution for setting timeframe but for older pligg i think: http://forums.pligg.com/questions-comments/10341-set-time-frame-sidebar_stories_u-php-number-days.html
How to resize or change width sidebar area in default template pligg 2.0
Now i using Pligg 2.0 RC2.. it's COOL...

More space available in right side column (sidebar).. want to change?

Please help to tell..

which css file and change location?