Recent comments

  • Speeding up a Site: Quicker 404 Errors for files in Drupal   17 weeks 6 days ago

    Does this work with imagecache? It is supposed to create a cached image if not found and wondering this setting conflicts with imagecache working.

  • Franciscan Monks Involved in Drupal Core Development!   17 weeks 6 days ago

    This was not a real Franciscan monk. It was Kieran Lal (a.k.a. Amazon) dressed in the habit of a monk, a play on the heritage and name of San Francisco.

    When he put the cape on, his facial features were indistinguishable and therefore looked like His Divine Shadow from Lexx.

  • Speeding up a Site: Quicker 404 Errors for files in Drupal   17 weeks 6 days ago

    As a quick fix for the imagecache issue, you could just remove the image types from the regular expression, or add another check to allow Drupal to run if 'imagecache' is in the URL.

    <?php

    // Allow all images to run, in case of Imagecache
    if (preg_match("/\.(txt|shtml?|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/", $_SERVER['QUERY_STRING'])) {

    // Allow URLs containing 'imagecache' to run
    if (preg_match("/\.(txt|png|gif|jpe?g|shtml?|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/", $_SERVER['QUERY_STRING']) && !strpos($_SERVER['QUERY_STRING'], 'imagecache')) {

  • Drupal: Switching Content Types the Easy Way   17 weeks 6 days ago

    I did something similar to this just yesterday for a content import. If you want to switch everything with one query instead of several, look into the db_placeholders function.

    <?php

    $nodes_to_switch = array(7402, 7409, 7410, 7411, 7412, 7413, 7414, 7415, 7416, 7418, 7419, 7420, 7421, 7422, 7423, 7424, 7428, 7429, 7429, 7430, 7431, 7432, 7433, 7434, 7435, 7435, 7436, 7437, 7438, 7438, 7441, 7442, 37143, 37144);

    // This function will update all the nodes in the node table to the proper type
    // You will need to change the type = '<typename>' to whatever you need:
    db_query("UPDATE {node} n SET type = 'post' WHERE n.nid IN (" . db_placeholders($nodes_to_switch, 'int') . ")", $nodes_to_switch);

    print implode(', ', $nodes_to_switch) . " - You have done " . count($nodes_to_switch) . " nids!\n";

  • Speeding up a Site: Quicker 404 Errors for files in Drupal   17 weeks 6 days ago

    Just FYI, this caused some problems with ImageCache. See: http://drupal.org/node/76824#comment-2925834

  • Franciscan Monks Involved in Drupal Core Development!   18 weeks 22 hours ago

    Looks like they're using ExpressionEngine: http://builtwith.com/ncregister.com

  • Franciscan Monks Involved in Drupal Core Development!   18 weeks 22 hours ago

    @Joel Stein

    Do you know what they're using at www.ncregister.com? I really like the new design.

  • Franciscan Monks Involved in Drupal Core Development!   18 weeks 22 hours ago

    Awesome! Glad to see the R.C. using Drupal so extensively.

  • Franciscan Monks Involved in Drupal Core Development!   18 weeks 23 hours ago

    Close, Jeff—it's "Legionaries". Here's a handful of the websites I'm maintaing for them and Regnum Christi, all fueled by Drupal:

    legionvocations.com
    familiausa.net
    missionnetwork.com
    everestadvantage.org
    clgroups.com
    k4j.org

  • Artisteer - Templates/Themes made easy   18 weeks 2 days ago

    We spent some time creating a nice header to personalize our template and the final result was surprising - take a look for yourself at our catholic church website http://www.catolicosnaflorida.org

  • Plan for Emergencies—Before they Happen   18 weeks 4 days ago

    Hey Matt,
    I use DropBox for backing up to 'the cloud' but that's only 4gig.

    Vista (and I'm sure 7) has a fairly decent backup program to external drive.

    I've used XCopy in the past as a poor man's automated backup:
    http://www.petefreitag.com/item/99.cfm

    Vista Sync Center might do the trick:
    http://www.microsoft.com/windows/windows-vista/features/sync-center.aspx

    I know what you mean about flaky copies though. That's why I'm partial to backup software that performs a verify after copy/backup.

    For me personally, when I was on Windows, I preferred creating images of the entire disk. Symantec Ghost and Acronis True Image are probably the best ones out there.

    The nice thing about an image is if you have a catastrophic hardware failure. Then, instead of having to reload the OS and perform a restore of particular folders, you just restore the image and bam, you're back in biz.

    I've probably seen close to a hundred drive failures over the years (server and pc)...so I don't trust the things at all. I can't count how many times RAID and backups have saved the day.

  • Franciscan Monks Involved in Drupal Core Development!   18 weeks 4 days ago

    Oops! Just realized the link should be a .net (it's updated now).

    I wish they would've purchased .org, .com, .net, etc originally :-/

  • Franciscan Monks Involved in Drupal Core Development!   18 weeks 4 days ago

    Speaking of which, it looks like the http://cycstl.org/ website was hacked.

  • Vatican Secret Archive is Digitizing to Open FITS Format   18 weeks 5 days ago

    Cool!

  • Plan for Emergencies—Before they Happen   18 weeks 5 days ago

    Have been on a bad host that had a server crash, lost my website, and had no backup. That was a nice wake up call to go with a quality host who does actual backups(can you imagine running a hosting company that doesn't backup). I do from time to time back up sites on my own machine just in case.

    Somewhat related, I've had 2 or 3 laptop hard drives crash with irreplaceable pictures, ect, on the drives. I still have the drives in case I ever want to learn how to repair drives. But I'm not paying 2-3 grand for the pictures... unless I win the lottery or something.

    I have an external drive I backup on now, but does anyone know a good software that can automate backups for particular folders? I suppose I could write a batch script and use windows scheduler to do it, but is there any open source kind of tools to manage that? I've found Windows to be somewhat unreliable when copying massive amounts of data.

  • Plan for Emergencies—Before they Happen   18 weeks 5 days ago

    Wow...bummer.

    I feel bad for them...but on the other hand...who was asleep at the wheel? The 'I Love You Virus' struck what...9-10 years ago? That was one of the biggest wake up calls I can recall for most organizations that were at least half-way interested in disaster recovery.

    Stuff happens...I know all too well. Sometimes even decent contingency planning fails.

    You said 'most of their recent data'. Does that mean they at least have a snapshot or db from launch or shortly thereafter.

    I was talking to a prospective web design client today who balked a little at my hosting charges (she's used to the friend of a friend who runs a Ubuntu box in the basement on a timer switch type of hosting plan).

    My monthly hosting charge ain't the cheapest...but my hosting provider runs daily/hourly backups of my VPS and I can have a db or file or directory restored in under 30 minutes.

    To my way of thinking, that should be the norm...not the exception. And those who don't at least shoot for that level of DR...well...let's just leave it at that.

  • Drupal Views Filters: Making Exposed Searches User-Friendly   18 weeks 5 days ago

    I haven't ever tried dong something like that; I don't know if that would be possible, unless you maybe created a view with a block with exposed filters, then set up a redirect that would send the exposed filter information to a page view.

  • Drupal Views Filters: Making Exposed Searches User-Friendly   18 weeks 6 days ago

    By any chance, do you know how to set up an exposed filter so that the exposed filter block appears on all pages of the website, but when the filter is used it then displays the modified view? Unless I'm on the same site as the view for the exposed filter, the block will take me to the homepage.

  • Certified to Rock - Neat Drupal User Involvement Measurement Tool   19 weeks 4 days ago

    That is pretty cool! I'm also rated at 4, though I hope one day to be at 11.

  • Quote demonstrating bad software design   19 weeks 4 days ago

    However, I HAVE seen situations where features that were useful and not hard to find were simply not known to exist by the user.

    I wrote some functionality into an inventory tracking website that I built at work to allow for a user to do a quick lookup on a serial number and do some common operations on that SN. Its not hidden, and in fact, the link is bold to try to drive traffic there. If I spend 15 seconds showing off the functionality to someone, most people like what they see and continue using it. But nobody will choose to go there on their own, even at the prompting of the other technicians.

    While in one sense, you're right, if a feature was 'needed', it would have been discovered or asked about long ago. But I think human apathy can prevent a very useful and well designed feature from being used as well.

  • Quote demonstrating bad software design   19 weeks 5 days ago

    "This helped me (a) cut down on time spent developing features, (b) focus more on making the most used features really good, and (c) cut out all the cruft that was present in the old system."

    Precisely: in the end, it saves so much time, energy and money !

  • First iPhone App from the Vatican:   19 weeks 6 days ago

    In practical terms, yes. Of course, on the iPad, there are many usability differences that must be taken into account (people will hold it two handed... people are more prone to go horizontal... etc.).

    But on the programming side, they are identical. Very identical.

  • First iPhone App from the Vatican:   19 weeks 6 days ago

    RE: the iPhone programming tutorials...

    Is iPhone development the same for the iPad, iow...once you learn one, you have the other?

  • Live Streaming from Rome - Quick Ustreaming at a Multicam Event   19 weeks 6 days ago

    When you used this setup with the separate line-in from sound board, did you have any audio-synch issues? I have read all the Canopus products advertise "audio lock" to keep things in sync, but thought that may only work if you use the audio connections from the canopus (instead of the sound board to 1/4" jack as you have)... Thanks in advance, and great information!

  • First iPhone App from the Vatican:   19 weeks 6 days ago

    I don't mind paying sometimes higher prices for Catholic apps (Universalis, iMissal, Holy Rosary Deluxe, DivineOffice, PatronSaints, etc) but I don't think the $5.99 for this application is fair considering one can receive news from the Vatican and the Holy Father's homilies via RSS (or online through the Safari app on the iPhone) for free. While I like Fr. Mike Manning and the convenience and help to my prayer life to hear him speak daily would be a plus, I wouldn't pay $5.99; maybe $1.99 but not $5.99.