Posts Tagged ‘WordPress’

WordPress 2.0.7 And bbPress 0.75

Posted on January 2007 at about 1:12 AM by hwa

Today WordPress just released it latest version, WordPress 2.0.7, this release is mainly focus on security fix in a PHP bug, the FeedBurner issue in WordPress 2.0.6 also solved in this version. Other changes are:

  • Security fix for wp_unregister_GLOBALS() to work around the zend_hash_del_key_or_index bug in PHP 4 versions less than 4.4.3 and PHP 5 versions less than 5.1.4 with register_globals set to “On.”
  • Feeds now properly serve 304 Not Modified headers instead of mismatched 200/304 headers (a.k.a. the FeedBurner bug).
  • Backport of another 304 Not Modified fix from WordPress 2.1
  • Deleting WordPress Pages no longer gives an “Are You Sure?” prompt.
  • After deleting a WordPress Page, you are now properly redirected to the Edit Pages screen.
  • Sending an image at original size in Internet Explorer no longer adds an incorrect “height” attribute.

You can download the latest version of WordPress at here, or head over to Mark’s blog to get the necessary upgrade file if you are upgrading from WordPress 2.0.6.

Mark also mention in WordPress development blog that the next major release of WordPress (WordPress 2.1) will be out soon by the end of this month.

Other than that bbPress 0.75 also released today, same like WordPress 2.0.7 one of the major fix is the PHP bug. To download latest version of bbPress please go here.

Continue On Fighting Spams

Posted on January 2007 at about 10:28 PM by hwa

Remember the fighting spams article i wrote the other day? So far my spam forces are doing well, they reduced the spam a bit and my wp-comments-post.php not as flooded as last time.

However today i read something from Lorelle VanFossen’s blog where she talk a little bit about Bad Behavior, the following quote makes me want to install Bad Behavior:

Bad Behavior is a unique comment spam fighter. It’s goal is similar to Akismet and Spam Karma, but Bad Behavior stops known comment spammers from even getting into the door of your blog. It turns them away before they get a chance to post by testing IP addresses and other criteria to determine if they are human or machine, and shoots down the machines and known enemies of blogs.

Yes i need something like that, a first layer defend, a spam fighter that will stop spams even before it touch my wp-comments-post.php. 😈

Updated To WordPress 2.0.6 And FeedBurner Fix

Posted on January 2007 at about 1:18 AM by hwa

Just updated my WordPress to the latest version, WordPress 2.0.6, and also applied the FeedBurner fix, where sometime FeedBurner will return an error telling that you have invalid xml, or an error message like below:

Your server disconnected us before sending the full source feed content. If your blogging platform is TextPattern, this is a known bug, and a fix can be found here: http://forum.textpattern.com/viewtopic.php?id=11247

Here’s an explanation from NeoSmart:

Explanation

FeedBurner uses something called “Conditional Get requests” to ask your server whether or not the page has changed since the last it viewed it, in order to save you some bandwidth. Depending on how popular your site is, FeedBurner may hit up your feed up to hundreds of times a day, so this is a really good idea! Unfortunately, in WordPress 2.0.6, your site doesn’t respond in a way that FeedBurner recognizes. The 304 headers it sends back to let it know that the content hasn’t changed are malformed and corrupt – and FeedBurner has no idea what they mean.

To fix this problems is easy, all you have to just open up your functions.php inside your wp-includes folder, go to line 2231, 2233 and 2234 and comment out this three lines, like below:

  1. ...
  2. //if ( substr(php_sapi_name(), 0, 3) == 'cgi' )
  3.     @header("HTTP/1.1 $header $text");
  4. //else
  5.     //@header("Status: $header $text");
  6. ...

That should fix your feed problem, there are a few more solutions from Mark Jaquith and NeoSmart, head over to their blog and find the one suit you most! 🙂

What Is FlatPress?

Posted on January 2007 at about 5:00 PM by hwa

I remember that few years back, where people just get to know PHP, and CGI was still ruling the internet, back at that time many web application was using a very special kind of primitive database, called flat-file database.

A flat-file database is a kind of database that is made from text, mean that you can open and see what is inside the database by using any text editor, there’s no complicated SQL command or whatever, just a simple text file, and all your data are stored into this text file. Well, basically that’s the idea.

But of course there’s a drawback with flat-file, a major one is flat-file database is extremely slow.

So what is FlatPress? FlatPress is a version of WordPress that doesn’t require any MySQL database, it use flat-file database to store data. This could be very useful if you are looking for an economic web hosting plan, or you can even find a free web hosting to host your WordPress as long as it support PHP.

According to NoWhereMan, the FlatPress developer, only the simplest plugin will work with FlatPress, however Akismet and some simple theme will still work with FlatPress.

Fighting Spams

Posted on January 2007 at about 10:53 PM by hwa

Spam really drive me crazy! 😡 Few days ago my host sent me an email telling that my wp-comments-post.php is under attack, the server was flooded and they have to CHMOD it to 000, causing visitors unable to comment in my blog. Out of desperation and frustration i installed Spam Karma 2. 😡

Actually before this i already have Akismet, and it’s doing a great job in fighting spams, Akismet filtered almost all of my spams, since i install Akismet until now, only a few spams get through Akismet, this is good, but i need more than that. 😡

Although Akismet filtered the spams, however my wp-comments-post.php still get flooded, this is because Akismet only let the spam goes into moderate mode, it doesn’t really stop the spam from coming in. So i went out and search for more.

Now i’m inviting Spam Karma 2 to join my forces, hoping that it will help me to fight spams, and yes my spam did reduced, now everyday i receive around ten spams or more, this is very good. But i want the spam to be stopped once and for all, not giving it a single chance to touch my wp-comments-post.php.

I’m still observing whether the spammers still flooding my wp-comments-post.php or not, hopefully it’s not, but if yes, then i will invite more into my forces and by then let’s see who will win this time! 😈

bbPress 0.74

Posted on January 2007 at about 2:15 AM by hwa

Just about one hour the WordPress 2.0.6 released, here come the bbPress 0.74!!

According to the main site, these are some of the changes:

  • init hook has been changed to bb_init for better compatibility with WordPress.
  • When users are deleted, they’re really deleted now.
  • Somewhat simpler installation procedure. When installing, you’ll also be informed if any of those little configuration variables are incorrectly set.
  • A place to store options in the database! Woo!

To find out more about the release, you can go to Aditya’s blog to look for the overall changes.

WordPress 2.0.6

Posted on January 2007 at about 2:50 AM by hwa

Around 5 hours ago WordPress had released it latest version, WordPress 2.0.6, according to Matt this release include a very important security fix and as usual everyone is recommended to upgrade to this latest version, other changes are:

  • The aforementioned security fixes.
  • HTML quicktags now work in Safari browsers.
  • Comments are filtered to prevent them from messing up your blog layout.
  • Compatibility with PHP/FastCGI setups.

There’s a new anti-XSS function called attribute_escape() and also a new filter called query which will allow you to filter any query during runtime. Head over to the download section to download WordPress 2.0.6.

As for me, the internet is still slow and i’m having hard time to log into my FTP, have to wait some time until i update mine. 🙁

My Own Content Management System

Posted on December 2006 at about 9:54 PM by hwa

Been rushing assignment for the pass few days, at least for a week, it was terrible. 🙁 During the time my daily schedule was totally messed up, other than sleep, eat and of course bath, i got no time to do other thing, not even shit!! 😆

Anyway my assignment is developing a simple CMS (Content Management System) by using PHP and MySQL as database, the program is simple though, nothing fancy there, the user can post entries from their admin panel and there is a comment system.

I think i will continue develop this piece of software, because before i found WordPress, i always wanted to create my very own CMS software, because back at that time CMS like Drupal, Mambo and many others are too advance and heavy for me, all i want is a CMS that is for blogging purpose, so i found WordPress. 🙂

However for now all i want to do is take a good rest, today i slept until 7pm OMG!! 😯 And i had stop touching WoW for like five days already. 😥

WordPress Meet Up In Kuala Lumpur, Malaysia

Posted on December 2006 at about 8:43 PM by hwa

God damn it i missed out this one!!! 😡 Today only i knew there’s this WordPress meeting on 16th December at Starbucks in Berjava Times Square but it’s too late!! This is sucks man, for i missed out the chance to see other local WordPress community.

I wonder when there will be another meeting for local WordPress community… 🙁

Ikram-zidane.com v2

Posted on December 2006 at about 1:13 AM by hwa

Congratulation Ikram-zidane.com for launching the Ikram-zidane.com v2, it’s a whole new design and like usual the design really impressed me, keep up the good work! 😉