CASE STUDY: $12,113.50 in 14 days -- Free Report!
 

Bringing Back The Wordpress Preview Window

written by John Chow on June 11th, 2007

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.

Lance said on June 11th, 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

Reply to this comment
Jack Books said on June 11th, 2007 at 7:20 pm

long live blogger.com :cool:

Reply to this comment
Matt - Domain Feed said on June 12th, 2007 at 4:03 am

The sooner you change the better…do it!

Reply to this comment
Make Money With Funds said on June 11th, 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

Reply to this comment
Investorblogger said on June 11th, 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!

Reply to this comment
www.richstudents.net said on June 11th, 2007 at 3:59 pm

Ahh i guess i’ll have to upgrade after all

Reply to this comment
Alex said on June 11th, 2007 at 4:10 pm

I like more the preview link

Reply to this comment
Jack Books said on June 11th, 2007 at 7:21 pm

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

Reply to this comment
Make Money Blogging said on June 11th, 2007 at 7:54 pm
Investorblogger said on June 11th, 2007 at 10:54 pm

Should speed up posting nicely!

Kenneth

Reply to this comment
shaun said on June 11th, 2007 at 4:30 pm

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

Reply to this comment
david said on June 11th, 2007 at 5:06 pm

thanks for the info!

David

Reply to this comment
Robert said on June 11th, 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

Reply to this comment
Chris said on June 11th, 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

Reply to this comment
Wallace said on June 11th, 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…

Reply to this comment
Matt said on June 11th, 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

Reply to this comment
Hush said on June 11th, 2007 at 7:49 pm

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

Reply to this comment
Vijay said on June 11th, 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

Reply to this comment
Charles Lau said on June 11th, 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!

Reply to this comment
Investorblogger said on June 11th, 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

Reply to this comment
GoddessCarlie said on June 11th, 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.

Reply to this comment
A Tentative Personal Finance Blog said on June 11th, 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!

Reply to this comment
Investorblogger said on June 11th, 2007 at 10:57 pm

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

Kenneth

Reply to this comment
Stephen Welton said on June 12th, 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.

Reply to this comment
kelly said on June 12th, 2007 at 8:49 pm

Is wordpress free for bloggers?

thx

Kelly

Reply to this comment
dotnetnuke said on June 13th, 2007 at 4:04 am

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

Reply to this comment
kelly said on June 13th, 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

Reply to this comment
Michael said on June 17th, 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

Reply to this comment

Sorry, the comment form is closed at this time.