PBBooking 2.2 – Times appearing as g:i a

The 2.2 version of PBBooking has a bug in the individual_freeflow_view_calendar.php file that seems to be affecting users of Joomla! 1.5.

I have been unable to replicate this fault on either 1.7 or 2.5.

On 1.5 to fix this edit your components/com_pbbooking/views/pbbooking/tmpl/individual_freeflow_view_calendar.php

change line 22 to:

<td style="width:50%;"><?php echo JHTML::_('date',$this->date_start->format(DATE_ATOM),'%H:%M %p');?></td>

I will be fixing this in the 2.2.1 update.

Posted in PBBooking | Leave a comment

A Preview of PBBooking 2.2

I feel like I’ve been writing about PBBooking 2.2 a lot lately and not showing anything.

I have just set up a new demo server with PBBooking 2.2 running. I will be uploading this for download early next week once I have finished off documentation. Have a look here to see 2.2 in action:

PBBooking 2.2 Demo Server

There’s a whole pile of new features in 2.2. The two that I am most excited about however are:

1. The inclusion of radio boxes, select boxes, check boxes and text areas in custom fields,

2. The move away from slots and to a free form calendar for appointment booking.

Posted in PBBooking | 2 Comments

Looking for Beta Testers

Are you a current user of PBBooking 2.1?

Would you like more flexibility and customisation options from PBBooking? You may be interested in the PBBooking 2.2 beta program.

I am in the final stages of testing PBBooking 2.2 and am looking for some brave beta testers that are willing to take the plunge and trial the new version. This is only available for people that have purchased an existing copy of 2.1.

New in 2.2 is the ability to:

  • define custom fields to include radio boxes, check boxes and select lists/
  • include any of your custom fields in the emails to clients using place holders.

2.2 is also the first version of PBBooking to use the new free flow calendar. The timeslots of PBBooking 2.0 & 2.1 are gone. Set an opening time, a closing time and a time increment and PBBooking 2.2 will allow users to book at any time where sufficient time is available to match the service duration.

Are You Interested?

Email me and make sure to include the email address that you used when purchasing PBBooking 2.1!

Posted in PBBooking | 5 Comments

Where is the next version????

I’ve had a number of emails about the next version of PBBooking so an update is in order so registered users know the current status.

For a while I’ve been saying the 2.2 release of PBBooking is not far away and in reality it’s not. The scope of PBBooking 2.2 however has increased significantly over the last month or so.

There are two new features I am aiming to have implemented in PBBooking 2.2:

Firstly, payment of bookings through PayPal at time of booking has been a frequent request. This will be included in the 2.2 release. It is currently in early stages and needs some refinement to make the experience flow more smoothly. For those that would like to do credit cards I am also looking at some options from eWay for off site credit card transactions.

Secondly, and a larger change is the move away from fixed time slots and to the use of a free flow calendar. This has been a frequent request and will be a significant change to the workflow behind PBBooking.

Thank you everybody for your patience and I am working towards these updates as quickly as spare time allows.

Posted in PBBooking | Comments Off

Coda-ish Publishing From Textmate

I have long been a big fan of Textmate, but about 6 months ago I decided to take Coda for a spin.

Coda is great, I just love the feel of Textmate more. It was tough though giving up the integrated publishing option that is included in Coda. I know you can send using Transmit and docklets but I wanted something that synched.

If anyone else has been looking for similar functionality here’s how I did it.

Firstly, you need to download and install lftp. This great utility can be found here. It comes as a source tarball and installing requires that you first have pkg-config installed which requires a bunch of other dependencies. I ended up just using macports to get all this stuff installed with:

sudo port install lftp

Once lftp is installed it’s time to write a script to use this in the bundle editor. I decided that I would create a project.xml in the root of the project directory that had all the relevant information.

Here was my first attempt:

    <project>
        <title>For Future Purposes</title>
        <server>
            <location>sftp://username:password@mydomain.com</location>
            <path>/var/www/html/test_proj</path>
        </server>
        <exclude>
            <file>project.xml</file>
            <file>dont-synch</file>
            <file>synchthisdir/dont synch this file</file>
        </exclude>
    </project>

From there I simply wrote a little python script that gets called from the bundle editor in textmate.

    #!/usr/bin/python

    import os
    from xml.etree.ElementTree import ElementTree

    os.system('cd %s' % os.environ['TM_PROJECT_DIRECTORY'])

    tree = ElementTree()
    tree.parse('project.xml')
    host = tree.find('./server/location').text
    path = tree.find('./server/path').text

    excludes = tree.findall('./exclude/file')
    exclude = ""
    for item in excludes:
        exclude = exclude + "--exclude-glob \'%s\' " % item.text

    command = 'lftp -c "open %s;cd %s;mirror --reverse %s"' % (host,path,exclude)

    #print command

    os.system(command)
Posted in Textmate | Comments Off