Future Post Plugin for Word Press
6th April 2006
This is a modified version of View Future Post plugin orginally developed by Michael Moncur at figby.com. It allows you to show future posts in WP 1.5.2. It can work in WP2 with alittle extra work.
The main modifications that I have made was to add an options screen for easy install and changes to the setup. I tried to made it work with version 2 of WordPress, but WP2 has done something annoying. In order to get it to work with WP2 you need to comment out the following lines in wp-includes/classes.php
if (mysql2date(’U', $this->posts[0]->post_date_gmt) > mysql2date(’U', $now)) { //it’s fu //$this->is_preview = true;
//if (!current_user_can(’edit_post’, $this->posts[0]->ID)) {
// $this->posts = array ( );
//}
}
I am still looking to see if I can by pass this with a hook. This code really should be does as part of the sql statement.
Tested on:
- 1.5.2
- 2.0.2 (with classes.php edit)
Download
- MPC Version 0.8.0 futureposts-mpc-0.8.0.tar.gz
Installation
- Uncompress plugin into the plugins folder
- Activate the plugin
- Set your options
- For WP2 — Edit classess.php
Todo
- Find hook for WP2 so edit does not have to be made
May 2nd, 2006 at 12:31 pm
Just a quick note to say: I’m using your plugin with EC3 for a client’s site, and it works just fine. Thanks.
September 18th, 2006 at 1:33 pm
I want to try your plugin but I am not familiar with your archive format.
September 19th, 2006 at 5:00 am
Currently the plugin is in a compressed “tar” file. If you are using unix you can uncompress it with tar -zxvf. If you are running windows you can use WinZip (this is a commerial program $30 for the standard edition) or a program like dczip which is a free java program to handle zips tarz and others (disclaimer: I have not used dczip).
If you need I would be glad to email you a zip that if that is what you use.
Just let me know.