Navigation

Pligg Support

Hi,why i cant download the free module.. i already sign in but when in module page the download button still "login to download"..
I want to add extra comment field. I have tried as following:

1. Created extra column "extra_comment_field" into "pligg_comments" table

2. Added following code to comment_form.tpl
input type="text" name="extra_comment_field" id="extra_comment_field" 


3. Added following lines into comment.php

$extra_comment_field= $db->escape($this->extra_comment_field);


And changed following line:

 $sql = "INSERT IGNORE INTO " . table_comments . " (comment_parent, comment_user_id, comment_link_id, comment_karma, comment_date, comment_randkey, comment_content, extra_comment_field, comment_status) VALUES ($comment_parent, $comment_author, $comment_link, $comment_karma, FROM_UNIXTIME($comment_date), $comment_randkey, '$comment_content', '$extra_comment_field', '$comment_status')";

But it is not writing data to db column ? What am I doing wrong, please help me. I am new to php and pligg.
Hi,i have found this http://forums.pligg.com/questions-comments/22592-add-banner-ad-after-example-three-story-summaries.html on old pligg forum but this for old pligg version.. anyone know how to put ad banner after several story on summaries?
Spam Trigger Module

Is not working as intended. I fixed it and submitted the complete fix to Pligg Support and posted it also on https://github.com/redwinefireplace/pligg-cms/commit/f02a9c62861f91b44903cdaa8f5bba88e5069555

How it works:

Submit a Story or Comment

1- Upon submission of a story, the Module now checks for spam based on three levels: Light Trigger, Medium Trigger and Hard Trigger:

a- Light Trigger: the story will be held for moderation.

b- Medium Trigger: the story will be discarded.

c- Hard Trigger: the user will be 'Killspamed' and subsequently all his/her stories, comments, saved stories, etc. will be deleted.

NOTE: the Spam Trigger Module comes with the Light Trigger populated with common spam words and phrases. You have to populate the Medium and Hard Triggers. You can go through the Light Trigger and edit/remove according to your liking and even move some to the medium and Hard Triggers.

Be careful, some of the included words and phrases may be used innocently in a normal story.

Editing a Story or Comment

Say that a "smart" user/spammer submitted a normal story first and immediately edited the content, title and tags to include spam. It will be caught. Same procedure applies to Comments.

I already moved 4 entries from the Light trigger to the Medium Trigger for the purpose of this demonstration.

Watch how it works https://www.youtube.com/watch?v=U0iP6hK7PEE
Anonymous user who is downvoting all the posts, WHAT DO YOU GAIN FROM THAT!!!

I suggest that the administrators disable the anonymous voting and whatever else is allowed!
[05-Oct-2014 21:11:29 UTC] PHP Fatal error: TPL: [in line 4]: syntax error: var function does not exist (class.compiler.php, line 592) in /home3/simploid/public_html/social/class.template.php on line 949
How could my Karma on Pligg Support drop overnight from 4090 to 3225 without any valid reason?!

There is something phishy here!!!

It is not the karma that matters, it is the principle. To make sure of what I am saying, open the votes table and you should see the last 2 entries under my user id....
I will try to re-post all my previous posts.
2
Hi,

Some time back there was an setting that allowed admins to review the submitted stories before is published. I can't seam to find that option anymore.

Are there any other options

thank you
We have all noticed that when using the LINKS Module (like in here on the Pligg Support site), the link will be constructed with in it href when including in a comment. Here is one of many examples (see the link in the comments of that post):

http://pligg.com/support/question/add-a-banner-ad-after-three-story-summaries/#question

To fix this bug:

Open \libs\utils.php

Modify this function:

http://pastebin.com/K5uDx6ve


Save it and try it!