Navigation

Pligg Support

Pligg is great but it doesn't really work as a forum. I feel the old pligg support was much more user friendly and that this format is holding pligg development back. Anyone else agree?
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?
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.
I have noticed that when users ask for support, most of them are in a rush and want answers yesterday. Moreover, I’ve seen new as well as old posts dated over a year, where the user asking for support keep posting “please help” and when answered and provided with the help, the user just disappears without mentioning whether the help solved the issue or not.

The generous people who provide you with FREE support are not here for the ranking or fame; they are here because they love what they do and for the experience to better enhance Pligg CMS. Therefore, you as a user wanting help, you have to acknowledge that the help provided helped solving the issue and reply with a simple comment saying: “Thank you; the provided solution helped solving the issue.” Why? For those reasons:

1- To let the helper know that he provided the right solution.
2- To help other users know, when searching for an issue, that the solution(s) provided in the post work well and they can use it to resolve the issues they are having.

Only courteous few users do that!!!

I, personally, have decided to no longer answer any user of the list of users who did not take the time to do what I have mentioned above!

Secondly, when posting for help, please provide as much information as possible and mention:
1- Be crystal clear when writing about the problem. For those who are having difficulties expressing the problem in English, use Google translate and post.
2- Pligg version
3- Template used
4-
Greetings!

I'd like to make the category menu highlight the category selected just like Popular and New highlight when selected. I've been poking around the style sheet and I can't seem to find it. I'm using bootstrap.
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!
The attached zipped folder contains instructions on how to implement “Total Views” for each story displayed in the summary.

Included in the zipped folder:

File(s) included in the attached zipped folder:
• storyview.php (Make sure you save it in libs)
• Instructions HTML file display total story views.html
I created a free module (total_story_views) for pligg CMS to show the number of story views in the line under the story title right after the time published. it has two callbacks to functions in the module:
1. To add the story ID to a newly created table “story_views”, every time a story is viewed.
2. To get the total views of each story from the “Story_views” table to print in the story summary.

The module (total_story_views) includes the following files (attached in a zip file):
1. total_story_views_init.php, where the pages to include are listed and the module_add_action to answer the callbacks, and module_add_action_tpl to display the result of the callbacks.
2. total_story_views_install.php (information about the module)
3. total_story_views_main.php, where the two callback functions reside.
4. total_story_views_settings.php (settings of the paths to the location of the module, the template folder and language files)
5. Language file. I made sure that language files are detected automatically by the config file, because I named them lang_english, lang_french, etc. and the define statement picks up the file according to the language chosen during installation or even when it is changed back and forth.

define('total_story_views_lang_conf', "/modules/total_story_views/lang_" . pligg_language . ".conf");

I tested it many times and here is the result:
• The callback from the story.php file to insert the ID in the story_view table is working
• The callback t
Fixes to the Search Box - Right-to-left (rtl)

The attached zipped files are as follows:

1- A JPEG image to show the before and after the modification.
2- search-box-fix-right-to-left.html, the step by step process of modifications

In Pligg CMS, When the selected language is Arabic, the Search button and Search input field are inversed horizontally and the rounded corners are opposite to what they must be. It is easy to fix, just follow the couple of steps in the attached file.

Check also my previous posts for important fixes:

http://pligg.com/support/question/fixes-to-apply-to-any-right-to-left-language-arabic-and-possible-other-languages--/#question

http://pligg.com/support/question/fully-working-implementation-to-display-total-story-views-in-the-story-summary-/#question