diff --git a/membersince.tgz b/membersince.tgz new file mode 100644 index 00000000..fb44b008 Binary files /dev/null and b/membersince.tgz differ diff --git a/membersince/membersince.php b/membersince/membersince.php new file mode 100644 index 00000000..25d1207c --- /dev/null +++ b/membersince/membersince.php @@ -0,0 +1,17 @@ + + * + */ + +require_once('include/datetime.php'); + +function membersince_install(){ register_hook('profile_advanced','addon/membersince/membersince.php','membersince_display'); } + +function membersince_uninstall(){ unregister_hook('profile_advanced','addon/membersince/membersince.php','membersince_display'); } + +function membersince_display(&$a,&$b) { $b = str_replace('' . "\n" . '
',sprintf( t(' - Member since: %s') . EOL, datetime_convert('UTC',date_default_timezone_get(),$a->profile['register_date'])) . '' . "\n" . '',$b); } \ No newline at end of file diff --git a/twitter.tgz b/twitter.tgz index 26527383..5c1fb361 100644 Binary files a/twitter.tgz and b/twitter.tgz differ