diff --git a/membersince.tgz b/membersince.tgz new file mode 100644 index 000000000..fb44b0081 Binary files /dev/null and b/membersince.tgz differ diff --git a/membersince/membersince.php b/membersince/membersince.php new file mode 100644 index 000000000..25d1207c2 --- /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 265273838..5c1fb3617 100644 Binary files a/twitter.tgz and b/twitter.tgz differ