How to set admin approval for all stories

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-06-2008, 12:02 PM
New Pligger
Pligg Version: 9.9
Pligg Template: no
 
Join Date: Jan 2008
Posts: 6
Hi all,

I want to set when user add story that it's not visible on site until admin approve it.
How to do that?

Thanks,
Nikola
Reply With Quote
  #2 (permalink)  
Old 01-07-2008, 11:41 AM
Casual Pligger
Pligg Version: 9.9
Pligg Template: default
 
Join Date: Jan 2008
Posts: 46
have you found a solution to this?

Thanks in advance
Reply With Quote
  #3 (permalink)  
Old 01-07-2008, 11:43 AM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 804
This would be a great mod! Great thinking!
Reply With Quote
  #4 (permalink)  
Old 01-07-2008, 01:59 PM
New Pligger
Pligg Version: 9.9
Pligg Template: no
 
Join Date: Jan 2008
Posts: 6
It seems there isn't solution for this yet.
Reply With Quote
  #5 (permalink)  
Old 01-07-2008, 03:13 PM
redwine's Avatar
Pligg Donor
Pligg Version: 9.8
Pligg Template: custom templat
 
Join Date: Jul 2007
Location: Canada
Posts: 216
Change the links table to add "pending" status:

Code:
alter TABLE table prefix_links
change link_status link_status enum('discard','queued','published','abuse','duplicated','pending') NOT NULL default 'discard'
;
Open /submit.php and:

In the function do_submit3() { function
Change this:

Code:
totals_adjust_count('queued', 1);
$linkres->status='queued';
Change to:

Code:
totals_adjust_count('queued', 0);
$linkres->status='pending';
As simple as that.

Now, the story wont appear anywhere. Log in as the administrator and verify the story in the "News Management" and if you approve it, change the status to "queued".

Last edited by redwine; 01-07-2008 at 05:34 PM.
Reply With Quote
  #6 (permalink)  
Old 01-07-2008, 03:45 PM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 804
Thanks I will try this tonight after I try and upgrade to 9.9.0
Reply With Quote
  #7 (permalink)  
Old 01-07-2008, 09:25 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
Full fix, http://forums.pligg.com/core-develop...submitted.html

Geoserv.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stories submitted by users that are not listed in Admin Users list... (RC2) Tomek Wlodarek Questions and Comments 0 02-25-2009 03:41 AM
Need Mod so that all Comments Require Admin Approval weismangroup Questions and Comments 2 10-14-2008 03:29 PM
Simplified Admin. on Stories. davemackey Questions and Comments 0 06-08-2008 06:30 PM
Pligg beta 9.5 [updated] kbeeveer46 Current Version 0 04-29-2007 09:58 PM
email from webmaster@pligg.com when admin updates stories bounder Questions and Comments 1 02-18-2007 05:43 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