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


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

Incorrect URLs for images, css and js files in Products page of WP e-commerce plugin

After adding a few products with photos to one of the newly defined categories and following the steps as stated in Tips on how to reset default category in WP e-commerce plugin’s admin panel, I am able to see the products listed in the page but none of them with the uploaded photos. This really puzzled me for a while, and I even debugged the code for sometime. However, it turns out e-commerce plugin producing incorrect URLs for images, css and js files included by the plugin, these URLs are in the format of system directory, such as C:\tools\wordpress-2.5.1\wp-content\….. Once the root cause of the issue is found, the fix is a bit easier.

Here I am providing the fixes so that folks who have the similar issues will benefit from it. Continue reading

June 15, 2008 Posted by | Technology, Wordpress Tips, WP E-Commerce | , , , , , , , , , | 23 Comments

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 reduce the loading time of NextGen Gallery in WordPress Admin Panel

First of all, I’d like to say that I am very happy with this plugin, and it’s a very ambitious photo gallery software having many nice features and many of us like it very much, thanks the team for doing such a great job.

Indeed it has some issues, for example, it’s painful when you have to wait for the page to be loaded from internet after clicking on “Gallery” menu, especially when your server has a slow internet access or even when you are trying it from your local machine. What NextGen Gallery does after you click “Gallery” menu is that it tries to check for a new version and load some messages. It depends on the speed of your server’s internet access, it may take fairly long to do, especially when you are working on some of the features of it. I figure out a way to temporarily disable it(not completely remove it. I am not sure if it’s good but at least I don’t have to wait for some time after clicking the menu). Continue reading

June 13, 2008 Posted by | Wordpress Tips | , , , , , , | Leave a comment

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

Javascript issue and fixes of WP E-commerce plugin (3.6.6) in WordPress (2.5.1) admin panel

After reading WP e-commerce plugin’s documents and some online articles/blogs, I started to install WP e-commerce 3.6.6 (the latest version as of today) on my local wordpress (2.5.1). And I tried to add one product but I keep getting the following javascript error:

“catagorylist” is not defined

I tried to find out a solution from WP e-commerce’s forum, unfortunately there is no one reporting this issue at all. So I am wondering that most of us are not using the latest version of the plugin, so I dig into the code and figure out the plugin is using the latest version of jQuery, I am documenting this here for myself’s later use just in case I forget it and also throw this out so that others can also benefit, so here is what I did to fix the issue: Continue reading

June 12, 2008 Posted by | How Tos, WP E-Commerce | , , , , | Leave a comment

Collection of articles on setting up an e-commerce site with WordPress and WP e-commerce

I’ve been hunting for an ecommerce plugin of WordPress for my own product site which is still under construction now, and am looking around for the best wordpress e-commerce plugins available for quite sometime, and so far it appears that the WP e-Commerce plugin by Instinct Entertainment is the one looks much promising. Here is a list of valuable articles that I found useful:

an industrial strength elegant easy to use fully featured shopping cart application suitable for selling your products, services, and or fees online.

Continue reading

June 11, 2008 Posted by | How Tos, 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