christefano's weblog

A more secure drupal.org

This is a simple Firefox extension that redirects the browser to the secure (SSL) version of the user login and edit pages at drupal.org, drupalcon.org, groups.drupal.org and groupsbeta.drupal.org. The thought behind this was that I didn’t want to expose any passwords while using the open wireless network at Drupalcon Boston 2008.

Add to Firefox
 read more »


Creating posting guidelines for comments

Drupal allows creating posting guidelines for content types but not for comments. Countless weblogs and web columns today have comment posting guidelines and I’ve always been surprised that Drupal doesn’t have built-in support for it.

I’d like to see comment guidelines get into Drupal core but I needed a solution right away and starting writing a custom comment_guidelines module. I was almost done with a first draft of the module when I realized that it was much easier to override the comment form using template.php.  read more »


DreamHost's 2008 prediction comes true

An entry in DreamHost’s official weblog jokingly predicted the future last December when it said, “If your next web hosting bill from us is mysteriously tripled, now you know why.”

In an cruel twist of events, the prediction came true today. Unfortunately, the predicted amount was short by several orders of magnitude. DreamHost’s billing mistake ended up overcharging their customers over US$7M — in one day.  read more »


Be a good front runner

Front running is usually a good thing, especially when it comes to the success of startups and long-distance runners. It’s illegal in other contexts (such as in the stock market), and the term “domain front running” is now being used to describe what can happen if a company unethically snatches your domain idea in between the time you search for a domain and try to register it.  read more »


Preventing users from using throwaway email addresses

A recent client asked us to help prevent members in her online community from using email addresses from throwaway email address providers, and it turned out that we’d already done this before in another project we’ve been working on in our spare time. How convenient! We simply exported the ‘access’ table and imported it into the new project’s database and we were good to go.  read more »


Offering each user a custom login destination

A post on the drupal.org discussion forum recently caught my attention:

I’m running a CMS which restricts access by using OG. As such users are registered to one group or another and in order to do away with unnecessary clicks I’d like a user to be automatically directed to the group front page to which they belong. As such if I belong to the ‘design’ group, the system should automatically redirect me to the ‘design’ home page when I log in. Is there a module that will enable this for me?  read more »


How to create a custom php.ini file when nothing else works

A client of ours was having trouble recently when uploading files to their Drupal site. Their webhost had set values in the default php.ini file too low (a common limitation of shared hosting), and we needed to increase the upload_max_filesize and post_max_size values. This account was limited more than most and overriding the php.ini defaults the usual way (by adding various lines to the .htaccess or settings.php files) didn’t work at all.  read more »


Site search

Christefano quite possibly wrote the the world’s first built-in searchbox for web browsers in 1996, and continues today as an active developer and innovator. With Lee Vodra, he co-founded Exaltation of Larks, a Boston-based design and development firm, and has worked as lead developer on many projects in both the open source and startup communities. » read more