Pligg Support


There was a bug with already voted and already buried buttons.
When a person voted for or buried something the buttons changed classes into btn-success or btn-danger. After refreshing page the buttons stayed as they were supposed to. When a person changed his/her mind and wanted to 'un-click' the vote, btn-succes or btn-danger classes were removed and the link for already voted or already buried lost a btn class and was left without any indicator that it's a button.
Now it's fixed and you can see it here:

I've created a fork request for it
I would like to add to my pligg site a Mobiledetect script :
It's because the changes I want to make in link_summary.tpl for mobile devices are too hardcore for a normal CSS media query manipulations.
I want to make additional story template for mobile and name it 'link_summary_mobile.tpl'.

Then I will check the device type and apply appropriate link_summary.tpl or link_summary_mobile.tpl accordingly.

But I have difficulties in finding where link_summary.tpl is actually included (in story_center.tpl there is a variable called {$the_story}, but I can't find the source )

I would be very grateful for any help
Thank you
Hi, I have found following bug. On second step of submitting story when you want to cancel submission you can't unless you select category. After that everything is fine
I can't resolve an old bug that shows blank page when i want to Logout from Inbox in Simple Messaging Module.
I see that it works perfectly fine on
which means that if you logout it redirects you to main page.
Unfortuntately in my instalation of Pligg 2.0.1 it has the 'blank page bug'. Any idea why ?
Hi folks,
I was checking the feature in admin->voting: Negative votes to remove submission. In demo it doesn't work at all. When I vote for a story to have -1 votes on main page and set value in admin panel for 1 or -1 it doesn't work, nothing happens. The story is still on main site with -1 votes. In my Pligg version that I have downloaded and set up on WAMP, when the feature is set to 0 which should be disabled, it's actually enabled, and it means that if i have voted -1 on a story and the value in admin panel i set to 0 (disabled) then the story gets 'discarded' which is bad. When I change the value to any other number (not equal to 0) then this option gets really disabled, and nothing happens. To sum up: in demo the feature doesn't work at all, in my downloaded version (I did some changes but not to voting) it works the other way round (0=enabled) any other value =disabled. Can you check what's wrong guys ?
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

P.S. there is quite nice solution for setting timeframe but for older pligg i think: