Hi there,
I would like to be able to pre-moderate all the posts that go into the system. Is it possible to do this?
/Dave
Hi there,
I would like to be able to pre-moderate all the posts that go into the system. Is it possible to do this?
/Dave
I know there was a old plugin to do this but I have not seen it recently?
mu-plugin:
<?php
function ds_moderate_all_posts($post_status) {
get_current_user();
if (!is_site_admin() && $post_status == 'publish') {
return 'pending';
} else {
return $post_status; }
}
add_filter('status_save_pre','ds_moderate_all_posts');
?>
I'm not a big php guy.... unfortunately.
What does the code above do? I need the same thing with moderating every post that goes in.
Thanks
That's exactly what that code does. dsader even said what folder to put it in.
Maybe I am not clear on what is there. I am hoping to moderate any post that any user writes.
I have already put that into the folder. Do the posts that need moderation show up? if so, where?
If the user saving a post is NOT the SiteAdmin change the post status to "Pending Review", otherwise save the post normally if the user is a Site Admin.
Each blog's Post-->Edit menu will list posts at the top of the table:
"All (3) | Pending Review (1) | Drafts (2)"
So an administrator, should be able to moderate any posts that were submitted for any blogs that he/she is a moderator for, correct...
SiteAdmin NOT equal Blog Admin.
Blog admins can simply set users to be less capable using the roles built into WP at Dashboard-->Authors&Users.
The SiteAdmin (listed at SiteAdmin-->Options) is already the moderator for every post in every blog, period, plugin or not. This plugin stops everyone else from approving/publishing posts.
Ah.....
Sorry about my stupidity on that one.
So, next question. Do you (or anyone else listening) know how to set this up so that I can have the site admin, or anyone else I designate, have one place to view ALL of the pending blog posts for the whole site?
That is what I am looking for..... any help is GREATLY appreciated.
-J
I use Donncha's Sitewide Tags plugin to aggregate all posts sitewide:
The Posts-->Edit table of the tags blog shows all posts, including posts Pending Review:
All (2,507) | Published (2,407) | Pending Review (1) | Drafts (97) | Private (2)
Click the "Preview" link of a Pending Review post as it must still be read/edited/saved in the originating user's blog.
PS, editing a post while still in the tags blog does nothing to the original post.
Perfect. I have seen this plugin mentioned a few times, but it had never sounded like it fit. Gues it does.
Thanks dsader!
Hello
I use Donncha's Sitewide Tags.
Now I would like to moderate all new Posts on the main-blog. Editors can publish their articles on their blog, but on main-blog the articles receive the status "pending review".
Is this possible? And how?
PS: Sorry my bad English.
The gt-post-approval-Plugin in the main-Blog is the key!
Hi, i was able to apply dsader's plugin along with Donncha's Sitewide Tags plugin to aggregate site-wide posts on the main site. But like desandro, I'd like to allow individual site users to be able to publish freely on their own blogs but have those posts not immediately get posted to the main site (via Sitewide Tags) without main-blog admin's blessing (in other words, have those posts in "pending" mode on main-blog). Please advise on how I can modify dsader's plugin to achieve that objective. Thank you.
The post above your mentions a plugin for the main blog.