diff options
author | jeroenpraat <jeroenpraat@xs4all.nl> | 2016-01-27 00:24:05 +0100 |
---|---|---|
committer | jeroenpraat <jeroenpraat@xs4all.nl> | 2016-01-27 00:24:05 +0100 |
commit | 68030d12cfefa8982774cca9714b0c1eed7b9537 (patch) | |
tree | 236212dd522b8443206165efa3e9f8fee106c3e2 /mod | |
parent | 3494fddd7c13637c8fb25104002b59448f182e79 (diff) | |
download | volse-hubzilla-68030d12cfefa8982774cca9714b0c1eed7b9537.tar.gz volse-hubzilla-68030d12cfefa8982774cca9714b0c1eed7b9537.tar.bz2 volse-hubzilla-68030d12cfefa8982774cca9714b0c1eed7b9537.zip |
Linking new connection notification to pending connections (see Channel 1) and improved email notifications about new connections. Could not find a way to do this also for the generic notifications. Added hub domain of channel address on the new channel page. A few people on my hub didn't understood. This example will make it more clear. Some minor bits.
Diffstat (limited to 'mod')
-rw-r--r-- | mod/new_channel.php | 1 | ||||
-rw-r--r-- | mod/ping.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mod/new_channel.php b/mod/new_channel.php index 07b6cfc85..630984bf2 100644 --- a/mod/new_channel.php +++ b/mod/new_channel.php @@ -133,6 +133,7 @@ function new_channel_content(&$a) { '$label_name' => t('Channel Name'), '$help_name' => t('Examples: "Bob Jameson", "Lisa and her Horses", "Soccer", "Aviation Group" '), '$label_nick' => t('Choose a short nickname'), + '$nick_hub' => '@' . str_replace(array('http://','https://','/'), '', get_config('system','baseurl')), '$nick_desc' => t('Your nickname will be used to create an easily remembered channel address (like an email address) which you can share with others.'), '$label_import' => t('Or <a href="import">import an existing channel</a> from another location'), '$name' => $name, diff --git a/mod/ping.php b/mod/ping.php index 394dbf089..69d504da1 100644 --- a/mod/ping.php +++ b/mod/ping.php @@ -299,7 +299,7 @@ function ping_init(&$a) { if($r) { foreach($r as $rr) { $result[] = array( - 'notify_link' => $a->get_baseurl() . '/connedit/' . $rr['abook_id'], + 'notify_link' => $a->get_baseurl() . '/connections/ifpending', 'name' => $rr['xchan_name'], 'url' => $rr['xchan_url'], 'photo' => $rr['xchan_photo_s'], |