Navigation

Pligg Support

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.
Says - Could not Open Socket. Anyone got this before? I was trying to submit a website from kickstarter.
I have worked on some changes to Pligg files to better accommodate the switch of languages, in this case the Arabic language. It is done in a way that will make any change/addition to the files very easy to carry on in case of an update to Pligg (assuming that Pligg developers did not have time to implement the modifications and the recommendations I submitted.)

The attached zipped files are as follows:

1- A JPEG image to show the before and after the modification.
2- Simple Messaging lang_arabic.conf to be saved in "\modules\simple_messaging"
3- An HTML file of the "\languages\lang_english.conf" (showing the modifications to the translation, as well as the new Constants added to accommodate the changes.)
4- An HTML file of the "\languages\lang_arabic.conf" (showing the modifications to the translation, as well as the new Constants added to accommodate the changes.)
5- An HTML file "Language Config - Usage in Files.html" It is a complete mapping of all the "lang_english.conf" Constants, showing in what pligg files they are used and the Line number.
6- pligg-fixes.html, the step by step process of modifications

Note that some of the steps are applicable to all languages, therefore I encourage everybody to read the "pligg-fixes.html" file.
Hey all,
I was wondering if its possible to add a badge or icon, similar to twitters verify check mark (see attached). Anyone have any idea how this could be done? Thanks in advance!
I tried to post here a few minutes ago and received a Captcha that presented a box to enter my email address with a message about 'suspicious activity from 'this address'.

I just reloaded the Captcha again and it went away.
Hello again people.
Is there are any way to support animated GIFs (avatars) in pligg? I noticed when a user uploads an image it always changes its' format to jpg. How can i change this?

Thank you in advance