What a nightmare. I was working on the a new version of pangmusik.se needed to do two things that Wordpress wouldn’t let me. One: displaying only one post on the front page. The other: letting guests view posts dated to the future.
The first problem was solved by creating a special home.php template file and calling on Scott Reilly’s Customizable Post Listings. I had tried a ton of plugins before that and none seemed to play well with each other and the Event Calendar that was the reason for the tweaking.
The second problem was not possible to correct via plugins. At least not in WP 2.0. The old method was to comment out, or change the code on line 576 of wp-includes/classes.php. But for some reason that didn’t do it. In addition I had to comment out the entire else statement on line 662. They have really gone to some trouble to make sure you can’t view future posts (unless you’re logged in of course).
Delete or comment out this piece of code.
[php]} else {
if (mysql2date(’U', $this->posts[0]->post_date_gmt) > mysql2date(’U', $now)) { //it’s future dated
$this->is_preview = true;
if (!current_user_can(’edit_post’, $this->posts[0]->ID)) {
$this->posts = array ( );
}
}[/php]
Another major nuisance is not being able to view comments (or indeed search among them) in any but the default way. No formatting available like ascending / descending. Or indeed paged comments. Of course there are plugins that can do just that, but it should be something that is bundled at least.
Also, no one could seriously consider using the rich text editor. After having seen what other editors do to the code, I’m really not going to try this one.
And while I like the idea of the upload system it seems woefully inadequate. Yes, it does create folders, but the display is buggy and the browsing of images could need an upgrade. That is pretty much the only function I miss from Mambo but then again it seems so easy to fix. This could be a great feature in the long run.
Contact
Lifestream




