[wp-hackers] Managing User Levels and Capabilities

Matt Mullenweg m at mullenweg.com
Tue Jul 6 02:35:21 UTC 2004


scriptygoddess wrote:

> The reason I ask is that I'd like to set it up so that there is a
> "guest" login for scriptygoddess where anyone can submit a post for
> the site - but the post stays in "draft" mode until I can review and
> approve it. I'm sure this can be accomplished with user levels - but
> other than futzing with a lot of core code - I don't see how I can do
> that user level managing.

There's no reason to do anything overly complicated for this. Just do a 
simple form that inserts a post into the database with post_status = 
draft. It's the same sort of form you've probably done a million times for 
other things.

-- 
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://pingomatic.com | more soon...



More information about the hackers mailing list