Navigation

Pligg Support

This release addresses a number of issues related to using Pligg in a language other than English. We have tested and bug fixed both the installation process and user language selection feature.
The installation and upgrade script are no longer dependent on the pligg.com server for installation language files. An added benefit is that the upgrade process now performs much faster.

The Simple Messaging module and story comment permalinks are other major fixes included in this release.

https://github.com/Pligg/pligg-cms/releases
Pligg has 3 default story statuses: Published, Upcoming, and Discarded. I realize what the first two terms mean, but what is a "Discarded" submission?
Where can I see a working demo? I would like to see how it looks and works. Thank you.

This section of Pligg.com is for asking questions and helping other Pligg CMS users by posting and voting on answers. This area, as well as the future Showcase Gallery, is powered by Pligg CMS.

This site displays the highest voted comments first, which helps you find answers faster. Vote up the most helpful answers, and vote down incorrect or irrelevant answers to help filter out less useful information.

The following file types can be attached to either a new question or answer: .jpg, .png, .gif, .diff, .patch, .css, .default, .gz, or .zip. If you want to include a filetype not mentioned, please compress it into a .zip archive.


If you need to wrap a block of code...
use a <pre> tag like this area.
3 files have been edited.

/kmessaging/class.KMessaging_v1.2.3.php
/templates/user_navigation.tpl
simple_messaging_main.php

### class.KMessaging_v1.2.3.php
replaced the word "read" with "readed" as that's what the database field is called.

### user_navigation.tpl
added a button to send a private message to the user's profile page.

### simple_messaging_main.php
changed the function name from GetMessege() to GetMessage() and you no longer need to be friends with a user to be able to send him a message.

Warning: apply these fixes at your own risk. Pligg's official team has not verified this yet.
Congrats to Team Pligg for releasing Pligg 2.00 after lots of hard work. The new support forum looks more user friendly and it's easy to navigate. Every Pligg user should support each other here to make the site more active. Thanks.
When I add a new page from the admin panel it doesn't dynamically add to the navigation bar. I've had to go into the header.tpl file to manually enter it.
Two issues I'm having:
1. Is there a way to use smarty code for the ahref to the page?
2. For the if statement to set the page to active I only have the option of $pagename eq "page" for it work with a custom page. However I have more than one custom page so they are all showing as active. Is there a different variable I could use? I try writing in the page name I've assigned but it doesn't work.
I find that /story/###/edit/ or editlink.php loads very slowly and needs php memory resources to be set very high to load at all. All other pages load fast. What can I do to fix this?
I am posting this as an instructional post for those who might ask this common question. You can find a 1 minute Youtube video that details the process here: https://www.youtube.com/watch?v=SZiCcZhjAh8

When you manually delete, as a user and publisher of the story, or as admin delete a story or remove all discarded stories from the Admin panel, the tag_cache table is deleted as well and you are left with no tags in the sidebar or the cloud, until you manually edit a story and add/remove tag or after a new story submit.

To fix this bug, follow these steps:
1- Open adminadmin_delete_stories.php
2- Go to line 82 or look for:

$query="DELETE FROM " . table_tag_cache;
if (!mysql_query($query)) {error_page(mysql_error());}

Insert right after it this code:

$sql="INSERT INTO ".table_tag_cache." select tag_words, count(DISTINCT link_id) as count FROM ".table_tags.", ".table_links." WHERE tag_lang='en' and link_id = tag_link_id and (link_status='published' OR link_status='new') GROUP BY tag_words order by count desc";
if (!mysql_query($sql)) {error_page(mysql_error());}

Save and close
3- Open delete.php
4- Go to line 133 or look for:

$db->query("DELETE FROM ".table_tag_cache);

Insert right after it this code:

$db->query($sql="INSERT INTO ".table_tag_cache." select tag_words, count(DISTINCT link_id) as count FROM ".table_tags.", ".table_links." WHERE tag_lang='en' and link_id = tag_link_id and (link_status='published' OR link_status='new') GROUP BY tag_words order by count desc");

Save and close.

What we did here is we rebuilt the tag_cache table after every delete.