A drupal module for querying a CiviCRM database for donor statistics and producing CSV files from the results.
civicrm/donor_stats_export/overview
- creates a CSV with numbers for new, lapsed, upgraded, downgraded and maintained donors for each target year (these are currently hardcoded to be 2009-2012)
Each of these create a CSV with the breakdown of donors (+contact id, name, email, total) that underly the numbers in overview: civicrm/donor_stats_export/new *total currently includes all donations civicrm/donor_stats_export/lapsed *total is for previous year (0 for target) civicrm/donor_stats_export/upgraded *total is for target year civicrm/donor_stats_export/downgraded *total is for target year civicrm/donor_stats_export/maintained *total is for target year (same as previous)
If any additional arguments are passed to the module, they will be used as a filter for the source. For example,
civicrm/donor_stats_export/new/caprica/the%20internet will only look at donations with the source field 'caprica' or 'the internet'
definitions of donor groups: new: donor's earliest donation is in the target year
Want to guard against spam? Want to make sure sensitive information isn't easily nabbed by an automated script?
Use Enkoder for Drupal! This uses the logic behind Hivelogic's Enkoder to encode any field or arbitrary text in a recursively self-evaluating block of javascript, foiling all but the hardiest of spambots.
You can use this to harden any text-based field and this module also exposes a general-purpose php function (sclib_enkoder) for your own custom uses.
In my examination of the Drupal module landscape, SPAM-hardening solutions either tend to be focused on forms (like CAPTCHA) or provide very limited email encoding (such as by providing HTML entity encoding or exposing an input filter).
By using this module, you
can arbitrarily harden any core text field, even ones that don't use an input filter
can arbitrarily harden any text, not just things look like email addresses.