Ikool’s Blogbed

Tips on speeding up Wordpress Admin’s Dashboard

You may notice that WordPress shows error messages in your WordPress dashboard saying timeout if you host your own WordPress somewhere, that’s because your PHP socket timeout is set too low, mine is 60 secs which is big enough. You may also be aware that you don’t really look at them(Development blog, Incoming Links, Developers news, and WordPress plugins) most of the time. Originally I thought to just remove/comment out some of code related to dashboard but I recall there is a plugin which just does that for you. So I did a search in wordpress.org and found that it’s wordpress-dashboard-editor.

And I installed it and tried it, and it works fine. And I love it, thanks Aaron Harun for the great plugin, here is the description of this plugin:

This plugin allows you to add whatever you want to the WordPress dashboard through PHP and HTML even Sidebar Widgets. You can also wipe the entire dashboard or individually remove some of the more irritating sections like the Dev news, Planet WordPress and the getting started section.

Continue reading

Advertisements

June 15, 2008 Posted by | Wordpress Plugins, Wordpress Tips | , , , , , , , , , , , , | 1 Comment

Compatibility issue of Thickbox and jQuery in Wordpress when both NextGen Gallery and WP e-commerce present

Both jQuery and Thickbox have different versions, and WordPress and its plugins may use different versions of jQuery for different plugins since plugin engineers basically work on their parts without paying much attentions to others’. I checked my installation of WordPress 2.5.1 and it has jQuery 1.2.3 and Thickbox 3.1. However, when you install other plugins which might use a fairly new jQuery such as 1.2.4, what happens in this case is they conflict, some of the features may not work at all, such as Fix of issues with old version of jQuery in WordPress 2.5.1 when using FeedWordPress. In the case of having both NextGen Gallery and WP e-commerc, you may even see what I saw as depicted in this image. The problem gets even worse when the plugins are using Thickbox because different versions of Thickbox will only work perfectly with their corresponding versions of jQuery:

Continue reading

June 14, 2008 Posted by | Wordpress Plugins, Wordpress Tips, WP E-Commerce | , , , , , , , , | 9 Comments

Tips on how to reset default category in WP e-commerce plugin’s admin panel

The issue that first time users of WP e-commerce will always encounter is “products page” doesn’t show any products added so far, the reason for that is because you might choose different product category instead the default category. Then the question becomes “how do we set Wp e-commerce’s default category”, here is how you can do it in WP e-commerces 3.6.6 with WordPress 2.5.1: Continue reading

June 13, 2008 Posted by | Wordpress Plugins, Wordpress Tips, WP E-Commerce | , , , , , , | 1 Comment

Fix of issues with old version of jQuery in Wordpress 2.5.1 when using FeedWordpress

Recently I installed wordpress 2.5.1 and FeedWordpress plugin, wanted to load some of my favorite news RSS, and everything works fine except some of the administrator features with drag and drop capabilities are failed. especially when I was trying to re-arrange sidebar widgets. Here is the error message:

Error: jQuery(“#tags-input”).val() has no properties

After spending sometime debugging it, and I found that FeedWordpress (the version that I am using is 0.993) doesn’t do a good validation before making the call to val() for the jQuery object since the DOM node corresponding to “#tags-input” might not exist. And the code is located in /wp-admin/js/post.js. There are two places needed to be fixed in the file, one is in function tag_update_quickclicks(), and another in function tag_flush_to_text(). Here is the fix for tag_update_quickclicks: Continue reading

June 10, 2008 Posted by | Wordpress Plugins | , , , , | 3 Comments