John Chow dot Com Free WordPress Installation - Start Your Blog Today!
 

Bringing Back The WordPress Preview Window

written by John Chow on June 11, 2007

How one lazy bum made $176,697.50

Before heading to Computex Taipei, I updated the blog to WordPress 2.2 (I actually did it right at the airport). As some may recall, I had problems the first time I upgraded to 2.2 and had to downgrade back to 2.1. The main problem was the Top Commentators and MyBlogLog box disappeared. This problem was caused by a flaw in the ExecPHP plugin and the fact that I didn’t turn off the sidebar widget before upgrading.

The sidebar widget problem was easily fixed by turning off the widget before the upgrade. The ExecPHP plugin needed a code change before it will work with the new WordPress build. This fix was posted by Rod Templeton. In order to restore my Top Commentators and MyBlogLog I needed to find the following line of code the ExecPHP plugin:

register_sidebar_widget($name, $i <= $number ? 'widget_execphp' : /* unregister */ '', $i);

Replace the above line of code with this line of code:

register_sidebar_widget($name, $i <= $number ? 'widget_execphp' : /* unregister */ '', '', $i);

After the upgrade, the last thing to do was to bring back to the WordPress preview window. For whatever reasons, WordPress 2.2 replaced the preview pane with a preview link. Fortunately, Roblog created a plugin that will bring the preview window back.

It is recommended that all WordPress users upgrade to 2.2. WordPress 2.1 has a security issue that could allow hackers to get your password.

Did you enjoy this post? Get John Chow Dot Com updates via email...

Stay up to date with all of John Chow’s tips for making money online and blog posts by subscribing via email. Your email will be kept private and never shared with anyone.

{ 28 comments }

Lance June 11, 2007 at 3:46 pm

I hope I can change to WP but I already with blogger.com for quite a while now. oh well

Jack Books June 11, 2007 at 7:20 pm

long live blogger.com :cool:

Matt - Domain Feed June 12, 2007 at 4:03 am

The sooner you change the better…do it!

Make Money With Funds June 11, 2007 at 3:51 pm

:idea: My secret tactic is to have a copy of my blog installed on a separate test domain, but the same physical server, so first I test and correct the theme/Wordpress there, then I move it too my blog

Investorblogger June 11, 2007 at 10:53 pm

This is actually a nice idea. better yet, if you don’t share the same database.

Of course, you can always install your own blog on your own PC for private work!

It’s an excellent solution!

www.richstudents.net June 11, 2007 at 3:59 pm

Ahh i guess i’ll have to upgrade after all

Alex June 11, 2007 at 4:10 pm

I like more the preview link

Jack Books June 11, 2007 at 7:21 pm

yes me either.
the preview pane make it so slow.

Make Money Blogging June 11, 2007 at 7:54 pm

I concur

Investorblogger June 11, 2007 at 10:54 pm

Should speed up posting nicely!

Kenneth

shaun June 11, 2007 at 4:30 pm

The preview window is prety helpful i’ll definatly have to upgrade my wordpress when i got the time.

david June 11, 2007 at 5:06 pm

thanks for the info!

David

Robert June 11, 2007 at 5:34 pm

There’s another plugin called Exec-PHP that doesn’t appear to have the problem.

http://bluesome.net/post/2005/08/18/50/

It’s been upgraded for WP 2.x

Chris June 11, 2007 at 5:53 pm

If you’re ever in San Diego, I’ll treat you for a beer. Anyways, I think your blog is pretty awesome. I’d be glad to offer you one of my awesome, super soft Geekfitters.com shirts in exchange for a link. Go here for details or email me.

Best,

Chris Geek

Wallace June 11, 2007 at 6:15 pm

actually,i dont have any wordpress blog,
but thanks for the info.
i just plan to launch a new site for design inspiration gallery by wordpress…

Matt June 11, 2007 at 7:35 pm

What, no link to me for emailing you about the Security Vulnerability?!? LOL, just kidding.

The preview box was removed because it make the page load slower, and it was an iframe, an iframe! What were they even thinking when they used an iframe! :P

Hush June 11, 2007 at 7:49 pm

I think wordpress gives you a much better platform and flexibility if you are big on customization.

Vijay June 11, 2007 at 8:21 pm

Thx John,
This is what I like about the internet business empire, John is taking booth babes shots and 1L beer shots, and was able to upgrade tp WP 2.2 also.

Vijay

Charles Lau June 11, 2007 at 8:24 pm

For the past 1 week, I have been trying to find out which blog program to use for me to start my business… Been using blogger.com for quite some time for personal use for my friends…
I think WordPress rocks! So simple to use and yet so powerful!

Investorblogger June 11, 2007 at 10:56 pm

WP 2.2 – there aren’t that many other good choices! Plus

100′s of plugins
1000′s of themes
1000′s of widgets

All to make life a little simpler! Why bother considering anything else, if it’s a blog you’re looking for!

Kenneth

GoddessCarlie June 11, 2007 at 8:48 pm

I actually like the preview link. I like having the two pages (the preview and the text box post writing thingy) in two separate tabs.

A Tentative Personal Finance Blog June 11, 2007 at 9:02 pm

will you write a step by step tutorial on how to upgrade? I tried once and my blog is almost like yours… but it nuked everything. Good think I had a back up!

Investorblogger June 11, 2007 at 10:57 pm

Biggest thing to remember: turn off all your plugins BEFORE you start! I had problems when I forgot!

Kenneth

Stephen Welton June 12, 2007 at 10:36 am

I’m still too chicken to upgrade yet. Need to have my hand held to get this done for sure.

kelly June 12, 2007 at 8:49 pm

Is wordpress free for bloggers?

thx

Kelly

dotnetnuke June 13, 2007 at 4:04 am

hi kelly, yes it’s free for blogger people :wink:

kelly June 13, 2007 at 5:37 pm

thank you Ismet! I like this template:
http://themes.wordpress.net/columns/3-columns/362/the-beauty-within-105/

Do you think its possible to upload this template on blogger or do I need my own domain?

thank you again!

Kelly

Michael June 17, 2007 at 3:26 pm

Thanks I use the preview pane all the time and was upset when it was gone, I guess I’m going to have to go install that plugin now