php5

Added facebook connect widget to tshirtslayer

Added facebook connect widget to tshirtslayer, although it's not the actual integration just the javascript widget, more interesting to see if it has any impact on traffic. time will tell!

Dynamic hook_menu results in Drupal, was 5, not in 6!

So you thought, I'll build a set of menu items depending on some database results (Say a menu link for every node of a certain type the user owns).

Drupal python background server

Heres some code attached I wrote last year but havent published it on drupal.org just yet, it's my python background server for drupal actions, or put simply "Asynchronous python daemon for Drupal interaction"

Just perfect for managing actions that require long, cpu or filesystem intensive operations such as encrypting, building a file, or even interfacing with other hardware/usb/bluetooth etc etc

This is born out of the need to have a

New drupal module: simplenews schedular ( reoccuring newsletters )

A simple but effective drupal newsletter module

Simplenews scheduler sends a newsletter as a re-occurring item based on a schedule.

Simplenews scheduler does so by creating a new "edition" (rendered copy) of a node at the time that it required to be sent again, the original newsletter is never sent but all editions are according to a pre-defined schedule, this is triggered via hook_cron

Drupal bash script to show difference between your theme function override and the original

Heres a handy script I wrote this morning, how do you easily see the differences between your mytheme_function override template.php entries and the original theme_function in the sites/all/modules, modules/, includes/ ?

It's bash to the rescue.

This script builds an index file of known themed functions, extracts your existing declared function and the theme_function from the original and your template file then uses 'diff' to show the difference in side-by-side format! awesome

Zend Studio Debugging and Drupal on PHP 5.x

Try these great books..

Hints for web-developers who develop "on the run"

So you mainly work for yourself, or work out-of-office on a laptop, quite often not from home because staying at home means you keep knicking off to tune your car or do the washing - you've got some serious work todo.

Welcome to the world of the web-developer, mainly - structural and database developers. Your nights are long and the bullshit is high, but the trade-off is that you can do your business anywhere at anytime, it's all about how you manage it.

Im the first to admit, I really should listen to my own advice - but here's a few things i reckon help when you've gotta get out of the house and get some work done.

Horde+IMP webmail on DreamHost (PHP5)

Recently I purchased a DreamHost account, seems to go pretty except for a few small things.
Bottom of this article is my full PHP5+IMP tar ball ready for download so you can get going with the good stuff.
horde
    Annoyances with dreamhost..
  • Dreamhosts's default PHP5 does not have IMAP extention installed
  • You gotta pay extra per month for SSL portforwarding to your IP address (what a jib!)
  • It's a cheap hosting environment so no they dont let you just edit /etc/php.ini and add lib_imap.so, as theres lots of nasty php scripts out there that will do all sorts of terrible things to their PHP 5 / IMAP servers. - so you gotta compile your own PHP..
Dreamhost have their own webmail, so this isnt about installing their existing webmail on dreamhost
Now not being scared of a bit of dirty work i googled for dreamhost compile php cgi-bin and followed the following http://blog.dreamhosters.com/kbase/index.cgi?area=2538
One thing they dont tell you, is to 'strip' your compiled PHP5 binary, it will reduce it from 60mb (yes 60!) to 6
Syndicate content