Ikool’s Blogbed

How to view more than 7 days’ history data in wordpress.com

While blogging in your wordpress.com account, you may always want to check if your blog’s pageviews is increased or improved, what trend of blog is, where are the visitors coming from, which posts have better pageviews, and even search terms from search engine. I found referrer and search statistics are very useful, they are great hints to improve your blogs pageranks in search engines such as google, yahoo etc. But I was feeling hopeless to see only 7 days history data and then I found it’s a simple job to view more statistic data back to history ;-). This howto is about going beyond the limited history data (by default 7 days) to 9 days (seems it still doesn’t solve my issue though, but what can we do).

If you logged in and visit your wordpress stat page using this link http://<YOUR_USERNAME>.wordpress.com/wp-admin/index.php?page=stats or moving your mouse over your wordpress.com admin “My Account” menu and clicking stat, you will be presented with wodpress.com’s statistics page. There are 7 sections: Pageviews Graphs(daily, weekly and monthly), Referrers, Top Posts & Pages, Search Engine Terms, Clicks, Blog Stat and Incoming Links. We will see how to view more history data for Referrers, Top Posts & Pages, Search Engine Terms, Clicks.

As mentioned above, WordPress.com currently only displays 7 days history data for wordpress bloggers, but this limit can be modified through changing URLs on your browser’s location bar. Note the system currently only allows for a max of 9 days’ result to be returned and default to 7 days, here is how: Continue reading

July 10, 2008 Posted by | How Tos, Technology, Wordpress Tips | , , , | 1 Comment

Tips on display categories in WP ecommerce

There are a few ways to enable WordPress e-commerce plugin to display categories. Some of them are not so obvious to be noticed. Well, you have to bear with that since it’s open source world, what can you expect more. Most of the time we have to dig into the code to figure things out. And I am hoping my finding will help someone else out there. My environment (Windows XP, WordPress 2.5.1 and WP e-commerce 3.6.6) may be different from yours, therefore, the tips here may not apply to yours and you have to use your own judgement, but you may still learn something useful here though. Keep on reading.

Tip #1: Add [showcategories] to your post or page wherever you want it to go, WordPress engine will figure out how to replace this by the corresponding product category list

Tip #2: Calling nzshpcrt_display_categories_groups() function directly. This function is defined in products_page.php. There are a few references to it in this release. Here are:

wp-e-commerce\products_page.php(45): function nzshpcrt_display_categories_groups() {
wp-e-commerce\products_page.php(101): echo nzshpcrt_display_categories_groups();
wp-e-commerce\products_page.php(167): echo nzshpcrt_display_categories_groups();
wp-e-commerce\wp-shopping-cart.php(2015): $output = nzshpcrt_display_categories_groups();

Line numbers may be off a bit, so in this case you will need to just look around. It should not be a big problem

Tip #3: Calling show_cats_brands() directly. Well, this is the core to showing categories. You definitely need to take a look at this function if your changes won’t work. This function is defined in show_cats_brands.php, and here is the signature:

function show_cats_brands($category_group = null , $display_method = null, $order_by = 'name')

June 23, 2008 Posted by | How Tos, Wordpress Tips, WP E-Commerce | , , , , , | 8 Comments

Tips on inserting multiple media files to your post

After uploading multiple images/audios/videos In WordPress 2.5.1 while creating or editing a post/page, users can insert the whole gallery into the post/page. This tips is very useful when you want to upload a few images/audios/videos. Otherwise, you will have to insert each one of the uploaded images one by one by clicking the “Add Image/Video/Audio” button and a few other clicks. Well, here is how you can do that by just one click:

  • Start to write a new post or page, or edit an existing post/page
  • Click any one of “Add Media” buttons (Add an Image, Add Video, Add Audio and Add Media) which is located on the top of post/page editor
  • Upload multiple media files
  • After upload is done, click “Gallery” tab and scroll to the bottom, and press “insert gallery into post”
  • Or you can just close the upload window after completing upload, and add to your post or page

June 22, 2008 Posted by | How Tos, Wordpress Tips | , , , , | Leave a comment

Tips on uploading multiple media files in WordPress

In WordPress 2.5.1, users can upload multiple images/audios/videos. Here is how you can do it:

  • Start to write a new post or page, or edit an existing post/page
  • Click any one of “Add Media” buttons (Add an Image, Add Video, Add Audio and Add Media) which is located on the top of post/page editor
  • Make sure you have chosen “Flash uploader” instead of “Browser upload”.
  • Press “Choose files to upload” button to choose multiple files

June 22, 2008 Posted by | How Tos, Wordpress Tips | , , , | Leave a comment

Embed Video/Audio in WordPress 2.5.1

I have been looking for a powerful wordpress audio/video player for long time, I am presently using Audio player for my audios, it turns out decently. I also tried to get vodpod and coolplayer to work for my videos, it seems to me the setup is too much. And I just noticed that WordPress has media support moment ago by playing around with ikool.wordpress.com (this blog) and WordPress 2.5.1, it works pretty well. And I just check WordPress FAQ, there are plenty of instructions as listed below:

Is it amazing?

I also notice that many people are looking for plugins for videos and audios, pretty much like what I was doing and I hope this helps them. One more suggestion is what’s supported in WordPress probably is good enough for your use unless the types of your audios/videos are very special

UPDATE @06/24/2008: insert youtube links won’t work the way it’s supposed to be

June 17, 2008 Posted by | audio, How Tos, Video | , , , , , , , , | 4 Comments

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

Tips on speeding up load time of WP e-commerce plugin in Admin Panel

I have to say WP e-commerce solves a big problem for so many of us who want to set up an online shopping site. It’s so lovely to have it around. But I have to admit that accessing e-commerce menu in administration panel is a headache, especially when web server is on a slow network. Therefore, I try figuring out how to speed it up. Here is what I noticed:

  1. The plugin tries to load feeds from http://www.instinct.co.nz/feed by making the following call (display_log.php):

    You can just comment out this line if you want. This works for me in my development environment.

    Continue reading

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

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