Helping Others Help Others

Daily emails from chkrootkit using postfix / sendmail command

You have installed chkrootkit and it's now running with daily cron, but unless you are logging in daily to check the logs, you won't know of any potential problems. Here's a simple way to have the daily report emailed to you with only postfix installed, using the sendmail command. Edit /etc/chkrootkit.conf and add the following REPORT_EMAIL="email@domain.com" Edit /etc/cron.daily/chkrootkit and towards the bottom of the file, replace $CHKROOTKIT $RUN_DAILY_OPTS with $CHKROOTKIT > $LOG_DIR/chkrootkit.log #Run chkrootkit and save the logfile ( echo "Subject: [chkrootkit] $(hostname -f) - Daily

Presenting at Southwest Drupal Summit

Southwest Drupal Summit 2011 will be held on January 27-28, 2011 in Houston. This weekday event will cater to the business side of Drupal development and will feature numerous featured speakers, including Dries via video from Australia! On Thursday, January 27, 2011 at 10:55 AM I will be presenting CiviCRM for Non-Profits and Small Businesses. Join in and learn about what an integrated CRM system can do for your organization! If you are following on Twitter, look up @SWDrupalSummit.

Presenting at SandCamp San Diego

SandCamp 2011 will be held on January 8-9, 2011 in San Diego with several hundred registered attendees and a great lineup of sessions. On Sunday, January 9, 2011 at 9:00 AM I will be presenting CiviCRM for Non-Profits and Small Businesses. Join in and learn about what an integrated CRM system can do for your organization! If you are following on Twitter, lookup @drupalsandiego.

December CiviCRM Meetup

Join us on the second Monday in December (12/13) at Level Ten offices to learn more about Custom Profiles, Custom Fields, and setting up online membership sign-up forms. RSVP on the Meetup site. Bring along your friends and associates, as well as questions and examples of the work you may be doing with CiviCRM.

Presenting at DrupalCamp Austin

Update: See the video after the jump! DrupalCamp Austin 2010 will be held November 20-21 with more than 300 attendees from all over the United States and as far away as Canada and Sweden. On Sunday, November 21, 2010 at 4:30 PM I will be presenting CiviCRM for Non-Profits and Small Businesses. Join in and learn about what an integrated CRM system can do for your organization! If you are following on Twitter, use #drupalatx.

Sort Multiple Formats of Date Fields in Views

Scenario: two or more content types. First content type uses a CCK Date field with date, hours, minutes, while the other content type(s) only need a date field without the hours and minutes. Because a CCK Date field sets the granularity globally, most users set up two different fields with two different granularity settings. This works well, until there is a need to display all of the content sorted by date - Views can't sort and/or merge two independent fields and then do a global sort. The answer is surprisingly simple. In the appropriate content type, define only one CCK Date field and set

November CiviCRM Meetup

Following up on our discussion from the October meeting, we will focus on the business strategy of CiviCRM implementation as well as specific hands on configuration of individual components. Join us on the second Monday in November (11/8) at Level Ten offices for an informal discussion. RSVP on the Meetup site. What questions should you ask before introducing CiviCRM into your organization? How should you plan for the implementation process? What are the best practices when working with CiviCRM?

Node ID as View Argument from SEO-friendly URL Path

Scenario: two content types - department, employee. Employee has a CCK node reference back to department, with a Pathauto setting for URL generation in the format of department/employee. Within the Views page views we want 2 or more separate lists, perhaps one displaying current associated employee projects, and another one all past projects. The respective page displays would have paths set to department/%/current and department/%/past, with % being the employee argument used within the view. Normally, that's not a problem as the argument can be set to Provide default argument and the Default

Disable Google Analytics by Role, User, or nid

If you utilize the code to disable Google Analytics by role or user within the module, it leaves you no easy way to exclude individual nodes. Getting the node id (nid) and adding a few extra lines of code that will check against a predefined array results in new code: <?php global $user; // These are the roles, uid, and nid which should not see this module $notallowed_role = array('Administrator','Contributor','Forum admin'); $notallowed_uid = array(1,8); $notallowed_nid = array(1,2,3); // Assume they can see it to start $valid=TRUE; // Go through each role the user is in and, if we hit a role

Inaugural Dallas / Fort Worth CiviCRM Meetup

Following the great response from OpenCamp and the recent Dallas Drupal User group meeting, the Dallas / Fort Worth CiviCRM Meetup is a reality! Join us on October 11 at this inaugural meeting to find how you can use this open source solution in your non-profit organization or a small business. We'll cover the basics of CiviCRM and explore the newest features released in version 3.2.3. We'll hold an informal open floor for people to present how they use CiviCRM and for others to ask questions about the CRM system.