Archive for the ‘Patches’ Category

Batch Print Center (osCommerce mod) missing label print fix

Sunday, April 27th, 2008

Update: The fix below only works for printing the first order number in the range. For the complete fix on Labels per page, please download the zip file added below.

I’ve had some time to look at the codes, and I managed to fix the bug for this missing label print.

Basically, the bug occurs when you select the “Labels” type of template, then select a range of orders, say 1-10, and click Send. The output pdf only shows labels for orders 2-10.

Read the rest of this entry »

The Postie plugin patch for Wordpress 2.5

Friday, April 4th, 2008

Here’s a hack I did for Postie to work with Wordpress v2.5. The following fixes are present in this patch:

  1. Category specification in Subject - the database tables in v2.5 have changed drastically. I’ve updated Postie’s handling of categories to reflect those changes.
    Note: This will only work for Wordpress v2.5.
  2. exec(’chmod 0755′ . $file) - my hosting provider has disabled the exec function (for security reasons), so I’ve changed all calls to exec-chmod to php’s built-in chmod.
  3. missing ‘)’ in line 70 of postieIMAP.php file
Read the rest of this entry »