18 June 2011 ~ Comments Off

WooThemes Framework Identifier

I created a simple plugin for WooThemes users. It displays the version of WooThemes Framework in the Right Now dashboard widget. If an update is available a link to the framework update page is displayed and the version that is available from WooThemes. The user will be told to update when a new version is available.

[...]

Continue Reading

17 June 2011 ~ Comments Off

Custom Setup for WordPress Online Installer… Coming Soon

I have been working on a custom setup for the online installer. It allows you to customise your ‘wp-config.php’ file. Increase memory, setup trash, autosave and revisions, localized language of the site, enable networking, insert dummy ‘admin’ user, enable debugging mode and more. Even delete the wp-config-sample.php file when it is finished.

It’s not ready just yet but when it is, it will be as an optional setup, so don’t worry you can still install WordPress using the default WordPress setup if you do not wish to use it.

I will also be changing the style of the setup. New colours and logo. I want to keep the structure as it is at the moment because it is simple and easy to read.

In the future I will have the site translated so that the user can view the setup in there language. More news on that soon.

Continue Reading

24 November 2010 ~ 2 Comments

Tim Thumb Positioning Mods

Many of you want to display your images just right on your site and the majority of you use Tim Thumb script for quick easy cropping and quality control. One of the flaws in Tim Thumb script is that you can’t position the image exactly were you want to crop, you only get a compass cropping system.

  • North = t, tl, lr, tr, rt
  • South = b, bl, lb, br, rb
  • West = l, tl, lt, bl, lb
  • East = r, tr, rt, br, rb

The script basically calculates the height and width of the image and then by the size of the image you want it to be. I find my self in needing something a bit more specific that will allow me to crop a large image to a specific area.

So i decided to add my own combination’s by adding a divider. I’m still testing this out my self and so far it is working so if you wish to use it for yourself you are quite welcome to add the following code to the Tim Thumb script.

Simple open the timthumb.php and locate positional cropping. On the last break; before default: add the following and then save.

case 'ml2':
$src_x = $width/2; // Divides the width by 2
break;
case 'ml3':
$src_x = $width/3; // Divides the width by 3
break;
case 'ml4':
$src_x = $width/4; // Divides the width by 4
break;
case 'ml5':
$src_x = $width/5; // Divides the width by 5
break;
case 'ml6':
$src_x = $width/6; // Divides the width by 6
break;
case 'ml7':
$src_x = $width/7; // Divides the width by 7
break;

This allows you to position the image exactly were you want it in the middle from the left.

To add this mod to your image simply add a=ml0 in your html image string. Change the zero to the number you want to use.

I will add other combination’s in the future.

Enjoy.

Continue Reading

Tags: , ,

10 July 2010 ~ 2 Comments

WP E-Commerce RightNow v0.3

I noticed that a subscriber would be able to see the dashboard widget so this is just a quick update to stop it from showing the webmaster’s current sales. [...]

Continue Reading

09 July 2010 ~ Comments Off

WP E-Commerce RightNow v0.2

I know it’s been a long time since I said there will be an update but I have been kind of busy. I have made sure that it works for WordPress version 3.0 and corrected a link. Removed some other bits just to keep the plugin light and simple. I don’t think there will be any other improvements for this plugin for a while but you are welcome to adapt it if you want. [...]

Continue Reading

17 December 2009 ~ Comments Off

WP E-Commerce RightNow v0.1

This is my first complete WordPress plugin. It’s a Dashboard widget that displays your e-commerce sales for the Current Month. It requires WP E-Commerce plugin to work.

It’s still being tested out and I’m already making improvements for v0.2. You can download it here on my blog or you can download it here at WordPress.org

There at least WordPress can tell you if it works for your WordPress version.

WooThemes Framework Identifier (49)
Mirror Link: WordPress.org ( Link added 19:01 17/12/09 )

Screenshot

WP E-Commerce RightNow - Dashboard Widget

Continue Reading

One of 338 websites proudly supporting Earth Hour.    Use WordPress? Get the plugin.
Performance Optimization WordPress Plugins by W3 EDGE