diff options
author | Friendika <info@friendika.com> | 2010-11-04 23:50:32 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-04 23:50:32 -0700 |
commit | b94cb8d234d70bc534ad1cef767b9f62d10eef26 (patch) | |
tree | 9e8cf0d529421c7b8d8e389478be8c4b196d11e6 /mod/register.php | |
parent | 71ae08d506130e45f68cf4e09d71f3a1c2e2d782 (diff) | |
download | volse-hubzilla-b94cb8d234d70bc534ad1cef767b9f62d10eef26.tar.gz volse-hubzilla-b94cb8d234d70bc534ad1cef767b9f62d10eef26.tar.bz2 volse-hubzilla-b94cb8d234d70bc534ad1cef767b9f62d10eef26.zip |
add micro profile photo
Diffstat (limited to 'mod/register.php')
-rw-r--r-- | mod/register.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/register.php b/mod/register.php index 52c3863eb..5c62c1294 100644 --- a/mod/register.php +++ b/mod/register.php @@ -161,15 +161,16 @@ function register_post(&$a) { intval($newuid)); return; } - $r = q("INSERT INTO `contact` ( `uid`, `created`, `self`, `name`, `nick`, `photo`, `thumb`, `blocked`, `pending`, `url`, + $r = q("INSERT INTO `contact` ( `uid`, `created`, `self`, `name`, `nick`, `photo`, `thumb`, `micro`, `blocked`, `pending`, `url`, `request`, `notify`, `poll`, `confirm`, `name-date`, `uri-date`, `avatar-date` ) - VALUES ( %d, '%s', 1, '%s', '%s', '%s', '%s', 0, 0, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s' ) ", + VALUES ( %d, '%s', 1, '%s', '%s', '%s', '%s', '%s', 0, 0, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s' ) ", intval($newuid), datetime_convert(), dbesc($username), dbesc($nickname), dbesc($a->get_baseurl() . "/photo/profile/{$newuid}.jpg"), dbesc($a->get_baseurl() . "/photo/avatar/{$newuid}.jpg"), + dbesc($a->get_baseurl() . "/photo/micro/{$newuid}.jpg"), dbesc($a->get_baseurl() . "/profile/$nickname"), dbesc($a->get_baseurl() . "/dfrn_request/$nickname"), dbesc($a->get_baseurl() . "/dfrn_notify/$nickname"), |