GT Post Approval on WordPress.org > Extend

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

If you have made a WordPress plugin and you want host it on WordPress.org you could read this: WordPress can host your plugin. I have found helpfull also this readme file about “How to write a readme” :)

Another thing that you will need to add your plugin is a Subversion Client. I have used TortoiseSVN. You could find helpful this example: Windows WordPress Toolbox.

Subversion Clients could have problem if you use a proxy. If you can modify your proxy configuration take a look here: What if I’m behind a proxy?


Tag:Globalwarming Awareness2007 GT Plugin proxy SVN WordPress

Technorati , , , , ,

GT Post Approval 0.3

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

  1. Download GT Post Approval 0.3 Beta 0.2
  2. Download GT Post Approval 0.2

In this version you can choose where display the not approved posts (default is author’s archive, single post and search results) and to define an user level to auto approve posts (default is 10). [Features suggested from James].

GT Post Approval options page

To change the default options let’s go to Options > Aproval.

Options < Approval

Bugs, problems, feedbacks or suggestions are welcomed :-) … also to fight the GlobalWarming :D


Tag:blog Globalwarming Awareness2007 GT Plugins WordPress

Technorati , , , ,

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.


Tag:API blog Globalwarming Awareness2007 GT Plugins WordPress

Technorati , , , , ,