Navigation

Pligg Support

In this post:
http://pligg.com/support/question/bug-fix-for-the-sidebar-saved-story-module/#question
I fixed a bug in the sidebar_saved Module that was preventing it from loading and displaying the saved stories in the sidebar. The bug was fixed assuming that the purpose of the sidebar_saved module is to list 5 (or the set limit) links in the sidebar, no matter who the logged-in user is. See discussion post:
http://pligg.com/support/question/issue-with-saved-stories/#question
From the discussion in the provided link, I understood from YankiDank that the module was intended to show saved stories that were saved by the logged-in user. In this case, the result is not met.
If you want to show any set of saved stories no matter who saved them, then keep the module as is. However, if you want to only show the saved stories by the logged-in user, then this is the solution:
First, I could not find a Smarty variable for the logged-in user id, so I had to create one as follows:
1. Open \libs\smartyvariables.php
2. Go to line 44 or look for “$main_smarty->assign('user_logged_in', $current_user->user_login);” and paste this right after it:

$main_smarty->assign('user_logged_id', $current_user->user_id);
3. Save and close
4. Open \modules\sidebar_saved\templates\sidebar_saved_index.tpl
5. Go to line 22 or look for “global $the_template, $main_smarty, $db;”
6. Paste this right after it: (this is to import the smarty variable we created above to php and be able to use i
*** ATTENTION YANKIDANK ***
**************
I was able to work and fix all the bugs in the ‘Friend” feature. The linked file, friends-simple-messaging.html, outlines all the steps and the changes to be done.

What was done?

1. Fixed the logic of the code and eliminated the bugs that were preventing the Follow/Unfollow and also preventing the appearance of the “send message” button.
2. Now, the Follow/Unfollow will only appear to the Logged in user and have a status of Following or Follower, thus eliminating all bugs and the annoyance of any user logged in or not seeing these buttons and clicking on them only to generate an error or load a 404 page.
3. Only those who are Following each other will have the “Send Message” feature.

Let me know how it works and if there is anything missed to improve!

Attached: the zip folder for yankidank

Video demonstrating how it became:

https://www.youtube.com/watch?v=2FFC5QlCA1A
Hello ,

How to create Voted code in websites and blog ?

When some one click it making a link and other visitor to this link can voted only .

the image in Attach

Thank you
this module not working properly for us,we sit everything right but when submit the story, the video show up with submission page and some error script appear on description box ,after click on "save changes and submit" button and check the new page not show up the video there.
I have purchased two modules, but I didn't get any link to download them or any Zip files on my mail.
Below are the details of the modules:
(1) http://pligg.com/downloads/module/auto-content-scraper-2/
(2)http://pligg.com/downloads/module/facebook-sharer/
Hi im having problems getting my youtube and such to show up in pages the link is an example i know this was talked about on the old board but i cant find the answer on this one
http://www.thefaithfull.org/story.php?title=are-we-transformed-yet
Any news on the facebook wall module coming out we I was hoping it would coming out with plgg 2 as previously discussed on the old board.
I hit the "Save Changes and Submit" when trying to submit a story and it take me to a page that just says Wrong Step.

I still get the error even when I use the default template.

I even disabled the "Captcha in story submission'

I installed pligg using the simple scripts section of my web provider.
I am using Twixx, but even when using default template () I still get the error.

I even uninstalled pligg and erased all files.

The only things I have done to the template were to ad advertising, facebook and twitter accounts, and reduced the steps for submitting a story.

I have not added any modules. I only have the ones that were already installed.

Since I have not done much to pligg, I am willing to uninstall and start over, if you think that will help.
Has anyone any experience of pre-populating the database with users and passwords from another system which automatically updates when a user is added to the existing system? Also, has anyone pre-populated the database with stories from another database?
The keyword suggestions only work for the first keyword.

Pligg rc2.0