Pligg Web Toolbar with Voting and Random Story

Register an Account
Reply
 
Thread Tools
Pligg Web Toolbar with Voting and Random Story
Developed by linkcitypro linkcitypro is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page
Designed for: Pligg 1.0.2
License: Creative Commons Attribution-Noncommercial-Share
Released: 10-28-2009
Last Update: 12-29-2009
Installs: 22
Uses Module System
Can Reuse Source Code
Includes Files to Upload
Translations Accepted
Not Supported by Author
Hi,

I decided to create a new thread for it in the Free Modules section. I spent some time and modified the standard Pligg Toolbar and included a Random button and an Ajaxed Vote button.

I would really appreciate if you can please test it and let me know if you find any bugs or issues. I have tested this with 1.0.1 release.

Demo at: SquidUp! | and check out the toolbar. This is my test website so nothing can go wrong. The toolbar is launched from the story page itself.

The following features have been added:
  • Working Vote button.
  • Working Random Story Button
  • Error checking if you have already voted.
  • Checks anonymous voting.
  • Checks the IP when multiple votes from same IP is not allowed
  • Comments link point to the comments section of that post
  • The Logo points to your site's home page.
  • Fully customize your own buttons by updating pligg_web_toolbar.tpl file.

I will also be updating the commenting so you can comment right from the toolbar on the story that you like.

Attached is the zip file containing all the required files. Keep the directory structure as it is in the zip file.

To Install: Go to the modules section and Enable Pligg_Web_toolbar module and Random Story module.

To see it in action, go to the story page and click on the title. Hope you like it. Most importantly: Please report back any issues or bugs that you may experience.

Ver 2.1 Bug Fix:
  1. Fixed a bug in Random Story feature. File modified /modules/random_story/random_story_main.php

Thanks,
Azam | SquidUp
SquidUp! - Become The Top Squid

Download Now

File Type: zip pligg_web_toolbar v2 1.zip (57.0 KB, 796 views)

License Agreement

Creative Commons Attribution-Noncommercial-Share Alike License
You are free to Share and Remix this work under the following conditions: You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
You may not use this work for commercial purposes.
If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

Show Your Support

  • This download may not be copied, reproduced or published elsewhere without author's permission.

Similar Downloads
Download Developer Category Replies Last Post

Comments
  #2 (permalink)  
Old 10-29-2009, 05:16 AM
Casual Pligger
Pligg Version: 1.0.3
Pligg Template: Shmiggy
 
Join Date: Aug 2009
Location: Iran (Islamic Republic Of)
Posts: 46
there are two problems:
1- when i click on the random story button, pligg display below error:
Quote:
[{"error":"No popular stores....."}]
2- in the story page, the direct link address replaced with internal link address; so pligg doesn't display the address of the link.
Reply With Quote
  #3 (permalink)  
Old 10-29-2009, 01:31 PM
Pligg Donor/Coder
Pligg Version: 1.0.1
Pligg Template: Midnight Blue
 
Join Date: Oct 2009
Location: Chicago, IL
Posts: 170
Quote:
Originally Posted by soleimanian View Post
there are two problems:
1- when i click on the random story button, pligg display below error:


2- in the story page, the direct link address replaced with internal link address; so pligg doesn't display the address of the link.
Can I see a working example? Send me a link? As you can see that it is working fine on my side, but if you give me a link to the live example, I might be able to help you out.

Which URL method are you using? it only works with URL method 1
Reply With Quote
  #4 (permalink)  
Old 11-01-2009, 09:34 AM
New Pligger
Pligg Version: 1.0
 
Join Date: Sep 2009
Posts: 11
Quote:
Originally Posted by linkcitypro View Post
Can I see a working example? Send me a link? As you can see that it is working fine on my side, but if you give me a link to the live example, I might be able to help you out.

Which URL method are you using? it only works with URL method 1
Seems to me like URL method 2 is going to be an important feature in this. Can't have it saying mysite.com/modules/pligg_web_toolbar/toolbar.php?id=1 ... do you have any plans to add support for method 2?

Otherwise looks like it's working great. Thanks!

I'll try it out on the site I'm working on tomorrow and post back results..
Reply With Quote
  #5 (permalink)  
Old 11-01-2009, 12:29 PM
Pligg Donor/Coder
Pligg Version: 1.0.1
Pligg Template: Midnight Blue
 
Join Date: Oct 2009
Location: Chicago, IL
Posts: 170
Quote:
Originally Posted by wjc2009 View Post
Seems to me like URL method 2 is going to be an important feature in this. Can't have it saying mysite.com/modules/pligg_web_toolbar/toolbar.php?id=1 ... do you have any plans to add support for method 2?

Otherwise looks like it's working great. Thanks!

I'll try it out on the site I'm working on tomorrow and post back results..
Hey, I am pretty new to Pligg having discovered it like 3 weeks ago so I am learning as I go. I tried to get the URL method 2 to work but I couldn't at this time. But it is something that I very much will like myself. I am just not too sure about how the URL method 2 works at this time. If I figure it out I will certainly share it here.

Please feel free to help out on this one if someone knows how this is done.

Thanks,
Azam
Reply With Quote
  #6 (permalink)  
Old 11-04-2009, 02:33 AM
Pligg Donor/Coder
Pligg Version: 1.0.1
Pligg Template: Midnight Blue
 
Join Date: Oct 2009
Location: Chicago, IL
Posts: 170
Quote:
Originally Posted by soleimanian View Post
there are two problems:
1- when i click on the random story button, pligg display below error:


2- in the story page, the direct link address replaced with internal link address; so pligg doesn't display the address of the link.
Hey, I ran into same error situation and got around to fixing it. The issue was with the random function. It was getting a random ID by using the actual count of the number of rows and generating random number from it. This was wrong way of doing it. I modified the code and it now returns a random link ID from the SQL query itself.

The error was coming when there was no story associated with that Link ID. This is now fixed. Attached is the updated file that you need to copy to /modules/random_story/random_story_main.php. I will also be updating the main download.

Thanks,
Azam | SquidUp | YoDesi
Attached Files
File Type: php random_story_main.php (1.3 KB, 82 views)
Reply With Quote
  #7 (permalink)  
Old 11-09-2009, 01:43 PM
Constant Pligger/Designer
Pligg Version: 1.0.1
 
Join Date: Dec 2008
Posts: 115
Hi,

i tested the toolbar. But I get a problem with the video module. If I activate the Toolbar, so the video is not displayed in on the detailed link/news.

And I got a second problem. The Toolbar is not displayed in my installation. - I uploaded the folder and activate the module.

I hope, that it could help you.
Reply With Quote
  #8 (permalink)  
Old 11-11-2009, 02:26 PM
Pligg Donor/Coder
Pligg Version: 1.0.1
Pligg Template: Midnight Blue
 
Join Date: Oct 2009
Location: Chicago, IL
Posts: 170
Quote:
Originally Posted by Sees View Post
Hi,

i tested the toolbar. But I get a problem with the video module. If I activate the Toolbar, so the video is not displayed in on the detailed link/news.

And I got a second problem. The Toolbar is not displayed in my installation. - I uploaded the folder and activate the module.

I hope, that it could help you.
I am not sure that I understand correctly. Double check the directory structure to make sure files are there where they are supposed to be.

I am running the Video Ferret module with the pligg toolbar and random story with no issues.

If you give more information, maybe I can then help you more.

Thanks,
Reply With Quote
  #9 (permalink)  
Old 11-12-2009, 11:09 AM
Casual Pligger
 
Join Date: Nov 2009
Posts: 30
(Nevermind)

Last edited by wachaz; 11-13-2009 at 03:51 AM. Reason: I've figured it out.
Reply With Quote
  #10 (permalink)  
Old 11-13-2009, 02:53 AM
New Pligger
 
Join Date: Oct 2009
Posts: 13
Hi! linkcitypro,
When I click on Title of the story on web toolbar then it should back to the story page but it the gives this error:-

Not Found

The requested URL /story.php was not found on this server.

It dosen't back on story page Like Digg.

I have atteched screenshot, Where I clicked(in red Circle)
Please help
Attached Images
File Type: gif sample.GIF (86.5 KB, 307 views)
File Type: gif sample2.GIF (10.2 KB, 104 views)

Last edited by shashank2009; 11-13-2009 at 02:58 AM.
Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modded Pligg Toolbar - Need testers please linkcitypro Questions and Comments 6 10-31-2009 07:36 PM
Rss Import With Star Voting Problem blaze Questions and Comments 2 01-13-2009 01:45 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development