GT Post Approval for GT Globalwarming Awareness2007 [WordPress Plugin]

GT Post approval is a plugin for multi user weblogs based on WordPress and it works with WordPress 2.0.X and WP 2.1.

This plugin adds an Approve/Reject button for every post visible just for administrators and editors in the wp-admin/edit.php page.

Clicking the approve/reject buttons (as you probably imagine) the posts become accepted or rejected.

GT Post approval interface
When a post is Accepted:
The post is visible in every section of the blog.
When Rejected:
The post is visible only in the Author’s archive.

I’ve made this plugin for us of the GT Globalwarming Awareness2007, but everyone can use it :)


Download:

  1. Download GT Post Approval 0.3 Beta 0.2. This version has an options page and it implements the features suggested from James:

    Options < Approval

    GT Post Approval options page

    Read more about GT Post Approval 0.3 »

  2. Download GT Post Approval 0.2

Installation:

  1. Download GT Post approval and save it in the [your blog]/wp-content/plugins/ directory.
  2. Go to “Plugins” in the admin area, find the “GT Post approval” row and click “Activate”.

Now every old post is approved and any new post will have to be approved.


Technicalities

The code of this plugin is full commented and subdivided in 4 blocks:

  1. Installation: Here you can find the function that alters database wp_posts table using the WP API to “do something” on the installation of a specific plugin.
  2. The Loop: Here the code to change post results in The_Loop. It uses a WP_Query Class’s API.
  3. Administration: The code to check user role and to change the edit page interface is here.
  4. Optimization: Just a function, it use a WP_Query Class’s API to get informations about current posts.

See GT Post approval’s source.

Share and Enjoy:
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • del.icio.us
  • digg
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Shadows
  • Simpy
  • Smarking
  • YahooMyWeb

29 Responses to “GT Post Approval for GT Globalwarming Awareness2007 [WordPress Plugin]”

  1. [...] GT Post Approval adds Approve/Reject buttoms visible just for administrators and editors in edit » posts. [...]

  2. [...] » GT Post Approval for GT Globalwarming Awareness2007 [WordPress Plugin] – GT GA2007 (tags: WordPress plugins) [...]

  3. [...] GT Post Approval (tags: wordpress plugins) [...]

  4. [...] GT Post Approval fügt Genehmigen/Ablehnen Buttons hinzu, die nur für Administratoren und Editoren unter “Verwalten” sichtbar sind. [...]

  5. [...] GT Post Approval añade botones de Aprobar/Negar los cuales son visibles solo a los administradores y editores en edit » entradas. [...]

  6. [...] GT Post Approval adds Approve/Reject buttoms visible just for administrators and editors in edit » posts. [...]

  7. Just wondering if it is possible, and how hard it would be to change the default “Reject” action to not show the post anywhere on the site (not even in the Author’s archive?

    Thanks for your time.

  8. My apologies for a second comment so quickly, however I noticed that even as an Admin for my site, after I write and publish a post, I have to go in to the Manage Posts page and click “Approve” before the post is truly published. Is there anyway of setting it such that we could tell the plugin which User levels we want to allow for “automatic approval”?

    This feature and my previous comment’s request would make this a truly useful plugin. Please email me with your response since I see no RSS feed for comments, or an email notify option for comments.

    Again, thanks!

  9. Hi James,
    about your first question a fast fix is replace:

    if(is_author() || is_admin() || is_single() || is_page() || is_search())

    with this one:

    if(is_admin() || is_single() || is_page())

    In the next version of this plugin maybe I’ll add an option page to choose where display the not approved posts and to define an user level to auto approve posts :-)

  10. Thanks Francesco, I’ll give it a try.

  11. [...] I’ve released the version 0.3 of GT Post Approval (but you have to be aware that it’s a beta). [...]

  12. [...] GT Post Approval : (page plugin) [...]

  13. [...] GT Post Approval adds Approve/Reject buttoms visible just for administrators and editors in edit » posts. [...]

  14. Hi, and thank you for a greta little plugin. Would it be hard to change it so that edited/updated posts also needs to be approved?

  15. Hi Manne… there’s a bit of work but in the next version It could be implemented :-)

  16. [...] GT Post Approval is on WordPress.org and it has 5 stars of rating (ok, it’s just my vote ) [...]

  17. Thanks for the response Fra T, looking forward to coming release then! :)

    I noticed that posts that havn’t been approved yet are still listed by some plugins in the front end, for example Recent Posts (http://rmarsh.com/plugins/recent-posts/) and Sitemap Generator (http://www.dagondesign.com/articles/sitemap-generator-plugin-for-wordpress/). Any ideas on how this problem could be solved?

  18. probably you should add ” AND gt_status = 1″ in the WHERE clause of a query

  19. [...] GT Post Approval [...]

  20. [...] GT Post Approval [...]

  21. Hello!
    GT Post Approval is great!
    You have a plugin for approving the pages?
    Thanks!

  22. Hello, when I used your plugin for some reason on the manage posts page it says Approve Reject twice, very close to each other. Also nothing happenes if I hit approve, and if I hit reject it says approve, it is my understanding that this means if I hit approve I have the option to reject it atfer, so both options stay and if I hit reject I have the opption to approve it at any time? Is that what it is suposed to do? Please help!

  23. [...] GT Status: adds a approve/reject button to the post page. On paper, this is exactly what I was looking for. In practice, the functionality seems too limited and usage is confusing. All you get is a “rejected” button, which you may click to have it say “approved”. And then what? It’s close, but not quite the way I’d like it to be. There is no way to set a rule that a post needs approval from several authors before it is published. [...]

  24. is it possible to send a notification e-mail to administrators after new post, which includes the subject and intro of approval awaiting content

  25. [...] la page du plugin [...]

  26. Post approval but for Pages.

    I love this plugin but I am building a site which is mainly Page based. Can this plugin be configured to work with Pages???

  27. Is there anyway to have the administer be emailed when a post is published and waiting for approval? Thanks!

  28. This plugin works great but I found some problem that it’s messed with other custom column if there any. I have some fix pls check my post herehttp://blog.manchumahara.com/2009/12/29/fix-wordpress-plugin-gt-post-approval/

    thank

  29. Hey I have been using your awesome plugin for about 2 years and 99% of the time it’s perfect but every now and then the posts miss schedule and never appear until I manually change them from scheduled to published.

    Any idea why this would be? I am still using the 0.02 version of the plugin

Leave a Reply