I have been working on creating a working version of mpt’s new interface mockup.
I think things are going pretty well, I have made some changes to suit my own taste, while trying to adhere to the spirit of mpt’s proposal. I really like having this in place as the first page you see, as opposed to going straight to the write screen.
You can find a screenshot here.
The page requires my wp-stats plugin to be installed on your system, and you need to drop special-functions.php in your /wp-admin/ directory. Everything else uses built in WP functions (you hear that photomatt? I am actually writing by the developer guidelines!)
So find the files you need in this archive. Let me know here if you have any questions/comments.

Stroll on over and visit Aurora
March 1, 2007
Ah, all those comments gone. :( Well, just wanted to let you know I finally got around to installing that updated index.php for the admin folder and it works great with drafts now. Thank you, Chris!
Stroll on over and visit Minna
March 1, 2007
Hmm.. I wonder what I’ve done funnily. I just left one post as a draft and now the index page stops right there. It shows link to the draft and nothing else (leaves an open paragraph tag too). When there are no drafts, everything works nicely. Problem must be in the loop then, but what oh what could it be? It doesn’t really bother me and in your screenshot it works, it’s just very *very* puzzling…
Anyway, this ‘new index page’ for the admin section is really good. I can see everything in one quick Glance :)
Stroll on over and visit Chris J. Davis
March 1, 2007
Are you sure that you were able to get the newest version of glance? I recently updated the zip to fix a bug. Try and Dl it again and let me know how it goes.
Stroll on over and visit Minna
March 1, 2007
Ah, cheers :) That fixed it
Stroll on over and visit Alex
March 1, 2007
Wow! Very usefull (not just eye candy) and I hope this makes it into WP 1.2 final.
Stroll on over and visit Chris J. Davis
March 1, 2007
Thanks Alex, I appreciate the positive feedback.
But I want to stress again, that mpt came up with the UI, I just implemented it, so the kudo’s should go to him, not me.
Stroll on over and visit John
March 1, 2007
I got the following error on my main index.php page.
Open Stats2 Database Failed
Error Number: 1146Error Description: mysql_errorQuery: SELECT * FROM wp_stats where date=’2004-05-20’strWhere:
Fatal error: Cannot break/continue 1 level in /home/public_html/blog/wp-content/plugins/wp-record-stats.php on line 35
John
Stroll on over and visit John
March 1, 2007
Oh, BTW. I’m using the version 1.2.
Stroll on over and visit Chris J. Davis
March 1, 2007
John, did you add the stats table to your database?
The error you are getting means that the function can’t connect to the table in your databse. Make sure that you have added the appropriate table to your WordPress Database.
If you have the table in the DB, then post here again, and I will try and walk you through some other possible fixes.
Stroll on over and visit John
March 1, 2007
My bad…I started with Glance instead of stats. :-/ Nice work BTW.
Stroll on over and visit w8in
March 1, 2007
Chris, I’m confused.
I’m getting the same error John got, but I already had your wp-stats implemented.
However, I do not see a wp-stats table in my database. What step did I miss?
Stroll on over and visit Chris J. Davis
March 1, 2007
No, wp-stats eh?
Hmmmm… You need to add that table so that you can actually record the page views. You will need to go to whatever interface you use to access your MySQL DB, phpmyadmin or the like and enter this:
CREATE TABLE wp_stats (date date DEFAULT '0000-00-00' NOT NULL,
hits mediumint(8) unsigned DEFAULT '0' NOT NULL,
PRIMARY KEY (date)
);
I would recommend using phpmyadmin if possible. Once you have this, and you have thrown the correct function call (<?php the_stats(): ?>) into all your pages that you wish to track pageviews on, you should be good.
Stroll on over and visit w8in
March 1, 2007
Thank you Chris, that worked.
There were actually multiple ways to run that query in PHPMyAdmin, with only one of them actually creating the table :)
Stroll on over and visit John
March 1, 2007
I have a new problem with the glance index.php. Ever since I added a few drafts the index.php page ends just after listing the drafts. Looking at the source of the page, index.php ends with </a> on line 52 of index.php. There is no closing </p> from line 58.
Stroll on over and visit Chris J. Davis
March 1, 2007
Hey seriocomic,
Apparently you did not read the documentation adequately. The only reason this depends on a plugin is to power the stats portion. If you don’t want to have the stats echoed out there, then you remove the code that calls that, which I have documented in index.php, and you no longer need any plugins or extra files.
The rest of the page uses built in WP functions. Furthermore, if this was to be folded into the trunk, we would either also fold in my stats plugin, or find a different way to power that feature, or take it out completely.
This is already the case with another hack of mine, the theme manager which is being folded into the trunk, it at this time requires a plugin, but that plugins code will be folded in as well.
Stroll on over and visit seriocomic
March 1, 2007
I strongly agree in principle with this idea, to have a single overview page rather than heading straight into edit/post.
Dependancy on a plugin for it to work will probably prevent this particular inclusion in a final release but kudos for the effort!
Stroll on over and visit seriocomic
March 1, 2007
Err, sorry, you’re right I didn’t read the documentation at all. My Bad. Just encouraging the idea…
Stroll on over and visit Josh
March 1, 2007
Hi!
Like the others, I’m getting the same error, though I have created the db on my server. It shows correctly with the proper fields. Can you please help?
Thanks!