Archive for the ‘WordPress’ Category

WordPress 2.0.5 RC1 Download

Posted on October 2006 at about 10:44 PM by hwa

Got WordPress 2.0.5 RC1 download link from foolswisdom, you may download WordPress 2.0.5 RC1 now, zip and svn also available. But i strongly recommend you all to join the WP Testers mailing list to discuss in case you found any bugs.

Please remember that WordPress 2.0.5 RC1 is till under Release Candidate, mean that there are still minor things to make sure before it’s release to the public, so if you don’t want to take any risk to try Beta software, you may wait until the official release, most probably in 10 days or so.

WordPress 2.0.5 RC1

Posted on October 2006 at about 11:17 PM by hwa

Saw this on WordPress admin dashboard this morning, WordPress 2.0.5 RC1 is out, but not open to public yet. This isn’t an official release, according to Dougal, WordPress 2.0.5 had change from Beta to Release Candidate, mean that soon it will release to the public.

It’s been almost three months since WordPress 2.0.4 released, the development seem like stopped for quite a long time, i guess most probably is because the team is busy with bbPress, a bulletin board system developed by WordPress team.

For those who want to try out the nightly build, you may join the WP Testers mailing list to get the download link, or you may go WordPress Trac site to have a look on what is new in the next release.

bbPress 0.72

Posted on October 2006 at about 3:26 PM by hwa

Just now after finish writing my blog, i went and have a look at the WordPress news at the admin dashboard there, and this bbPress 0.72 draw my attention, it’s a forum system developed by WordPress team.

bbPress 0.72 is the very first official release of this forum system, they called it 0.72: Bix. 0.72 after WordPress’ auspicious beginnings. These are the key features:

  • Fast and Light: nothing you don’t need.
  • Built in spam protection by Akismet.
  • Really simple interface: we want people using our software to forget that they’re using it.
  • Complete integration with WordPress.
  • Both the look and the functionality are highly customizable.
  • RSS feeds for everything.

I never knew WordPress is developing a forum system until now, and i haven’t tried it out yet, but since it’s developed by WordPress people, so i think it’s something that worth to hype about, WordPress really impressed me.

You can have a look at the example here, at first glance the forum look kinda plain, i guess it’s to suit the WordPress style where everything is mostly black and white, just like a newspaper. But worry now!! Just like WordPress, bbPress also comes with templates function, expect some cool design to come out soon.

Not to forget about the plugins as well, the most powerful features in WordPress to me is the plugins, i mean the plugin developers, because of them, WordPress become much more perfect.

You can read more about bbPress 0.72 at here, and download a copy of it at here.

Edit: Corrected the example link, thanks Matt!! ๐Ÿ˜‰

Adding Google And Slashdot To Sociable

Posted on October 2006 at about 7:36 PM by hwa

To add Google and Slashdot into your Sociable WordPress Plugin, please do the following:

Slashdot:
To add Slashdot into your Sociable, copy and paste to following code into the “$sociable_builtin_known_sites” array in “sociable.php”:

  1. 'Slashdot' => Array(
  2.   'favicon' => 'slashdot.png',
  3.   'url' => 'http://www.slashdot.org/bookmark.pl?
  4.    url=PERMALINK&title=TITLE',
  5. ),

Next copy and paste the following into “$sociable_files” array:

  1. 'images/slashdot.png',

Then save the Slashdot icon below and upload it into “sociable/images/” in your WordPress plugin folder.

Slashdot

After that go to “Admin->Options->Sociable” and click “Restore Built-in Defaults” for the icon to appear in the option page.

Google:
To add Google, copy and paste the following code into the “$sociable_builtin_known_sites” array in “sociable.php”:

  1. 'Google' => Array(
  2.   'favicon' => 'google.png',
  3.   'url' => 'http://www.google.com/ig/add?
  4.    feedurl=PERMALINK&blocked=TITLE',
  5. ),

Next copy and paste the following into the “$sociable_files” array:

  1. 'images/google.png',

Save the following Google icon and upload to “sociable/images/” in your WordPress plugin folder.

Google

Lastly go to “Admin->Options->Sociable” and click “Restore Built-in Defaults” for the icon to appear in the option page.

AdSense Between WordPress Post

Posted on October 2006 at about 10:50 PM by hwa

Few days ago a friend of mine asked me how to insert Google AdSense in between posts in the main page, too bad that she is using Blogger and i’m not familiar with it.

Anyway this is how i do it in WordPress, it’s very easy actually, all you have to do is to insert the following code into The Loop:

  1. < ?php
  2. $gcount++; // google post counter
  3.                
  4. if ($gadv < 3) { // how many ads to display?
  5.   if ($gcount%2 == 0) { // display ad after how many post?
  6.     $gadv++; // count number of adv
  7.     print 'Your Google AdSense Code Here';
  8.   }
  9. }
  10. ?>

Don’t forget to insert your own Google AdSense code, and you can put the above code anywhere in your “single.php” as long as it’s in between the line:

  1. < ?php while (have_posts()) : the_post(); ?>

and

  1. < ?php endwhile; ?>

Which is The Loop that i mentioned earlier.

You may want to change the parameter to suit your need, there are only two parameters you can set, first one is:

For the total number of AdSense display in your home page, remember that Google only allow a maximum number of three AdSense displayed in the same page.

The second parameter would be:

  1. $gcount

This one is to set your AdSense to display after the specific amount of post, the default setting is to display AdSense every two post.

WordPress Merdeka Theme

Posted on October 2006 at about 7:56 PM by hwa

A WordPress theme by ikram_zidane, the “Merdeka” theme, a one panel white colored theme, very clean design, the navigation is hidden on top and will show up when you click the “Navigation” button, brilliant idea!

Merdeka in Bahasa Malaysia is mean freedom, ikram_zidane didn’t mention what’s the reason he name this theme but most probably is to celebrate Malaysia’s independent day, which is on 31th August. ๐Ÿ™‚

It’s a very impressive work done by a boy just 16 years old (2006), added that he is from Malaysia (go go Malaysia boleh!! :P), you can have a look at the demo at here.

Congratulation i would say to ikram_zidane, keep up the good work!! ๐Ÿ˜‰

Visual.SpellCheck And Sociable Fix

Posted on October 2006 at about 4:52 AM by hwa

For those who use the WordPress plugin Visual.SpellCheck and Sociable, i don’t know whether this happen to you or not, but for me if i enable both plugin i will get this strange problem where the “Check Spelling” button from the plugin Visual.SpellCheck in my editor doesn’t show up.

So i went dig up the code and found out that it’s actually the JavaScript from Sociable crashed with the one from Visual.SpellCheck. The JavaScript is from line 355 until 370 in sociable.php, the function of this script is to enable drag and drop in Sociable option page, which i think is very cool.

Anyway i noticed that this block of JavaScript will load every time even thought you are not in the option page, which i think is not necessary. So i moved the JavaScript from line number 355 until 370 which should looks like this:-

  1. <script language="JavaScript" type="text/javascript"><!--
  2. var dragsort = ToolMan.dragsort();
  3. var junkdrawer = ToolMan.junkdrawer();
  4. window.onload = function() {
  5.     dragsort.makeListSortable(
  6.         document.getElementById("sociable_site_list")
  7.     );
  8. }
  9.  
  10. /* make checkbox action prettier */
  11. function toggle_checkbox(id) {
  12.   var checkbox = document.getElementById(id);
  13.     if (checkbox.checked)
  14.         checkbox.parentNode.className = 'active';
  15.     else
  16.         checkbox.parentNode.className = 'inactive';
  17. }
  18. --></script>

And paste the above JavaScript block to line number 504, just before the drag and drop in Sociable option page, or anywhere before the following line:-

  1. <ul id="sociable_site_list"></ul>

And this should fix the “Check Spelling” button won’t load problem. The idea is to only load the JavaScript block in the Sociable option page.

WordPress Spell Check Plugin

Posted on September 2006 at about 5:02 AM by hwa

I have to admit that my English is bad, not only grammar, but the spelling as well, so i do a lot of spelling mistakes. Although there’s a spell check implemented together with the WYSIWYG in WordPress 2.0, but the problems is i don’t use WYSIWYG. So i went out and start searching for WordPress spell check plugin.

There are several WordPress spell check plugin i found on the net, but only one that i really like, introducing Visual.SpellCheck by Matthew Delmarter, an AJAX spell checker that function almost like the one in Gmail, but Pspell must be installed on your server in order to use this plugin.

Visual.SpellCheck
Visual.SpellCheck screenshot.

There’s a live demo in the plugin website, go ahead and try it out, i would say so far this is the best spell check plugin for WordPress.

However it seem like there’s a little problem with this plugin if you use it together with Sociable, a social bookmarking plugin by Peter Harkins, the button “Check Spelling” just don’t want to show up in editor if Sociable is enabled. But worry not, i have a simple fix that will fix this problem, will compile it and post later because now is almost 5am and i’m blur. ๐Ÿ˜ฏ

You can download Visual.SpellCheck at here.

Edit: You can find the Visual.SpellCheck And Sociable fix at here.

WordPress 2.0.4

Posted on August 2006 at about 1:12 AM by hwa

WordPress 2.0.4!! From what the developers said, the latest version fixed over 50 bugs!! So it’s worth to update, so get yourself a copy at here!! And if you are upgrade from previous version, you can go here for the instructions. ๐Ÿ™‚

WordPress 2.0.3

Posted on June 2006 at about 11:47 PM by hwa

WordPress 2.0.3 is out!! Actually it already out for about a month ago, but recently i am changing to a new host, so can’t really update my blog.

Anyway you can download it at here, and for the upgrade instruction please go here, and if you are upgrading from WordPress 2.0.2, there’s a special instruction at here.

And lastly, enjoy^^ ๐Ÿ˜‰