via twitter: Very much in love with amr-users, plus S2members

Thanks to Silvia for this comment expressing her appreciation of the users plugin.

twitter comment

She has also figured out the power of the pluggable functions based on the user meta field names, and suggested one of her own.  I have modified it slightly to account for the fact that other ‘add ons’ may have the unix timestamp formatting function (eg the ym addon) .

Plugin Name: amr-users-plus-s2m
Plugin URI:
Author URI:
Description: Adds extra functions for Subscribe2Member amr-users
License: GPL2

/* -------------------------------------------------------------*/
if (!function_exists('ausers_format_s2member_auto_eot_time')) {
	function ausers_format_s2member_auto_eot_time($v, $u) {
		return ausers_format_unix_timestamp($v);
if (!function_exists('ausers_format_unix_timestamp')) {
	function ausers_format_unix_timestamp($v) {
		if (empty($v)) return('');
		return (date ('Y-M-d', (int) $v));