Method for deleting discarded stories

Register an Account
Reply
 
Thread Tools Display Modes
  #31 (permalink)  
Old 01-25-2008, 03:45 PM
Pligg Donor
Pligg Version: 9.8.2 +
Pligg Template: yget
 
Join Date: Jul 2007
Posts: 123
Quote:
Originally Posted by jamfull View Post
Hi,

This work on 9.9?

Yes, thanks for your mod.
Yes, it should work fine with 9.9.
Reply With Quote
  #32 (permalink)  
Old 01-26-2008, 02:33 AM
Casual Pligger
 
Join Date: Oct 2007
Posts: 80
Thanks for a useful mod.
Reply With Quote
  #33 (permalink)  
Old 01-26-2008, 02:58 AM
New Pligger
Pligg Version: Beta 9.8
Pligg Template: yget
 
Join Date: Jan 2008
Posts: 12
Hello,

this mod works without error message, but if i click the link the window shows "No input file specified."

what is my mistake? can anybody help me?

thanks
Reply With Quote
  #34 (permalink)  
Old 01-28-2008, 06:34 AM
xiesi's Avatar
Constant Pligger
Pligg Version: 9.95
Pligg Template: yget + diy
 
Join Date: Jun 2007
Posts: 223
Send a message via MSN to xiesi
Nice.i will use it.Thx
Reply With Quote
  #35 (permalink)  
Old 01-28-2008, 07:10 AM
Casual Pligger
 
Join Date: Sep 2007
Posts: 66
jesus man, i love you, so simple so clean and so easy to install.
AMAZING, too bad other things in pligg dont function so good like yours do.
Reply With Quote
  #36 (permalink)  
Old 01-28-2008, 07:30 AM
graphicsguru's Avatar
Pligg Donor
Pligg Version: 9.9.5
 
Join Date: Aug 2006
Location: USA
Posts: 399
Very simple to use set up was easy "565 discarded stories deleted" thank you very much
Reply With Quote
  #37 (permalink)  
Old 01-28-2008, 07:43 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,042
I would like to appreciate the participation of the commenters so I don´t want to delete discarded stories with comments. I´d rather subsitute the title and the content of the story with "This content has been moved" as a polite message.

Could you help me with a hack for that alternative?
Reply With Quote
  #38 (permalink)  
Old 01-29-2008, 06:49 AM
New Pligger
Pligg Version: none for now
Pligg Template: none for now
 
Join Date: Nov 2007
Posts: 1
just want to add on to instructions for those who might be confused in feature in how to complete this mod, all newly made php files need to be at your root directory while admin_links_center.tpl file that is going to get modified is located under /templates/YOUTEMPLATE/admin_templates/ i hope this clears things for newcomers great mod should be part of core files.
Reply With Quote
  #39 (permalink)  
Old 02-20-2008, 05:06 PM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,042
Delete_storylink($linkid) needs the ID of every single story therefore I wonder whether it´s more efficient to use this function directly at Admin: Change the status.

Would it be very difficult to apply it there?
Reply With Quote
  #40 (permalink)  
Old 02-20-2008, 07:47 PM
Pligg Donor
Pligg Version: 9.8.2 +
Pligg Template: yget
 
Join Date: Jul 2007
Posts: 123
Quote:
Originally Posted by tbones View Post
Delete_storylink($linkid) needs the ID of every single story therefore I wonder whether it´s more efficient to use this function directly at Admin: Change the status.

Would it be very difficult to apply it there?
I wish I could tell you. As I mentioned when I first created this post, I know there's a better way to do this, but I'm not a developer. In fact, a year ago I couldn't even spell PHP. I've been learning PHP out of necessity and created this because I really needed a solution and it didn't exist. I probably spent 10X the amount of time needed to hack this out compared to someone who knows that they're doing. Most of it isn't even coded using the same methods that the rest of Pligg is. People have been praising how simple this script is to understand. That's because I had to make it that way for me to understand it.

Anyway, I guess what I'm saying is that any modifications will need to be done by someone who knows the Pligg code better than I do. Sorry.

Last edited by fingerprn; 02-20-2008 at 07:58 PM.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Url Method 2 works for everything except stories coreyvf Questions and Comments 2 10-11-2009 02:07 AM
Voting method 2, displaying stories in order of rating radaro Questions and Comments 4 02-03-2008 02:44 AM
v9.5: Comments to discarded stories tbones Questions and Comments 6 01-28-2008 07:49 AM
Clicking on a tag reveals stories that have been discarded kbeeveer46 Questions and Comments 0 08-07-2006 01:36 AM
User vote count shouldn't include discarded stories gragland Questions and Comments 0 07-26-2006 09:14 PM


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