Navigation

Pligg Support

[ASK] how to limit the number of characters that appear in the notice publish news?

please see the pictures that I attach
As of Pligg CMS version 2.0.2, the Voting feature on comments is not visible due to some code. To fix it, follow these steps:

Open /templates/bootstrap/comment_show.tpl
LINE # 10 ..... CHANGE THIS {if $Enable_Comment_Voting eq 1} TO THIS {if $Enable_Comment_Voting eq true}
LINE # 12 ..... CHANGE THIS {if $Enable_Comment_Voting eq 1} TO THIS {if $Enable_Comment_Voting eq true}
Save and close

Open /templates/bootstrap/user_comment_center.tpl
LINE # 72 ..... CHANGE THIS {if $Enable_Comment_Voting eq 1} TO THIS {if $Enable_Comment_Voting eq true}
Save and close

An error is generated when the statement that evaluates the comment_buries_spam value. To fix it, see the last section of the attached link.

http://mymonalisasmile.com/upload/comments-votes/comments-voting.html
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
Can we use Pligg as collaborated blogging platform? When I checked Pligg I found that its mainly using to publish articles from some other websites and comment on that. I want to use Pligg as Wordpress but many users can log in and blog or write articles themselves than linking to somebody's article in some other website. I do not want to use Wordpress since WP is not having default user registeration plug in. Apart from that if we use any plug in also, WP shows the dashboard of WP for the users. Please help. I am not a coding expert.
also would like to find some cheap templates, or themes
Is important to know how, because someone is trolling and sending requests to recover password many times.
Hello,

I'm wondering if there is a way for an administrator to set the time that new links are published?


Is this possible with any of the existing modules or templates? Or might I need to figure this out on my own?

Appreciate any insight you may have,

Thanks!

Nick
I have the latest version of pligg and use the default theme. I'd like to change the color of the register button, and only that button.
I assume I will have to make a new class for the register button and then edit the css accordingly. However, I'm not sure which css file I'll need to add this too, or which file I would find the individual button on which I can add the class.
If anyone can steer me in the right direction, thank you.
I'm getting ready to try installing the WordPress login plugin / Pligg module again. Hoping to get it working this time.

One caveat is I'm running WordPress in the root directory with Pligg answering from it's own directory via a htaccess redirect. Had to do it this way as some of my sites require WordPress running under multi-site.

I need to know the Pligg 'Salt_Length' and any other tips would be appreciated. If I get it working I'll try to document everything and make that available to everyone who needs it.

I also want to get it working with my older sites running 1.2.2 but the site I'm going to put this on runs 2.0.x.
** ATTENTION YANKIDANK **
I committed it on my forked pligg too.
**
table_tags and table_tag_cache are updated in two cases:

1. Upon submitting a new story.
2. Every time a story is edited.

In the first case, in \submit.php, LINE 428, we find a call to a function in the \libs\tags.php file: tags_insert_string($linkres->id, $dblang, $linkres->tags);

However, at this stage the status of the story being submitted is still ‘discard’, while in the Function tags_insert_string, it specifically selects from table_links only the links that meet the status of published or new, therefore the new tags entered for story being submitted won’t be included and won’t appear in the tag cloud until the next submit (and again the newest tags won’t be included) or when the admin deletes the discarded stories from the admin section and automatically rebuilds the table_tag_cache.

After following the logic of the process, the best place to call the Function tags_insert_string is after we make sure that the story’s status is set to publish:

1. In \submit.php, LINE 428, comment or remove this code:

tags_insert_string($linkres->id, $dblang, $linkres->tags);

2. On LINE 517, after
function do_submit3() {

change this: global $db;

To this: global $db, $dblang;

Because we need the database language for the table_tags entries

3. On LINE 549, right after:

$linkres->check_should_publish();

Add this (the code we commented or removed in step 1)

tags_insert_string(