'to_email' => $user['email'],
'uid' => $user['uid'],
'item' => $postarray,
- //'link' => $a->get_baseurl() . '/display/' . $user['nickname'] . '/' . $item,
- 'link' => $a->get_baseurl().'/display/'.get_item_guid($item),
+ 'link' => $a->get_baseurl().'/display/'.urlencode(get_item_guid($item)),
'source_name' => $postarray['author-name'],
'source_link' => $postarray['author-link'],
'source_photo' => $postarray['author-avatar'],
$lastid = $post["id"];
- if (($item != 0) AND ($postarray['contact-id'] != $me["id"])) {
+ //if (($item != 0) AND ($postarray['contact-id'] != $me["id"])) {
+ if ($item != 0) {
require_once('include/enotify.php');
notification(array(
'type' => NOTIFY_TAGSELF,
'to_email' => $user['email'],
'uid' => $user['uid'],
'item' => $postarray,
- //'link' => $a->get_baseurl() . '/display/' . $user['nickname'] . '/' . $item,
- 'link' => $a->get_baseurl().'/display/'.get_item_guid($item),
+ 'link' => $a->get_baseurl().'/display/'.urlencode(get_item_guid($item)),
'source_name' => $postarray['author-name'],
'source_link' => $postarray['author-link'],
'source_photo' => $postarray['author-avatar'],
'to_email' => $user[0]['email'],
'uid' => $user[0]['uid'],
'item' => $postarray,
- //'link' => $a->get_baseurl() . '/display/' . $user[0]['nickname'] . '/' . $item,
- 'link' => $a->get_baseurl().'/display/'.get_item_guid($item),
+ 'link' => $a->get_baseurl().'/display/'.urlencode(get_item_guid($item)),
'source_name' => $postarray['author-name'],
'source_link' => $postarray['author-link'],
'source_photo' => $postarray['author-avatar'],
postToGooglePlus.php
+nxs-http.php
'to_email' => $user[0]['email'],
'uid' => $user[0]['uid'],
'item' => $postarray,
- //'link' => $a->get_baseurl() . '/display/' . $user[0]['nickname'] . '/' . $top_item,
- 'link' => $a->get_baseurl().'/display/'.get_item_guid($top_item),
+ 'link' => $a->get_baseurl().'/display/'.urlencode(get_item_guid($top_item)),
'source_name' => $postarray['author-name'],
'source_link' => $postarray['author-link'],
'source_photo' => $postarray['author-avatar'],
'to_email' => $user[0]['email'],
'uid' => $user[0]['uid'],
'item' => $postarray,
- //'link' => $a->get_baseurl() . '/display/' . $user[0]['nickname'] . '/' . $top_item,
- 'link' => $a->get_baseurl().'/display/'.get_item_guid($top_item),
+ 'link' => $a->get_baseurl().'/display/'.urlencode(get_item_guid($top_item)),
'source_name' => $postarray['author-name'],
'source_link' => $postarray['author-link'],
'source_photo' => $postarray['author-avatar'],
'to_email' => $u[0]['email'],
'uid' => $u[0]['uid'],
'item' => $postarray,
- //'link' => $a->get_baseurl() . '/display/' . $u[0]['nickname'] . '/' . $item,
- 'link' => $a->get_baseurl().'/display/'.get_item_guid($item),
+ 'link' => $a->get_baseurl().'/display/'.urlencode(get_item_guid($item)),
'source_name' => $postarray['author-name'],
'source_link' => $postarray['author-link'],
'source_photo' => $postarray['author-avatar'],
'to_email' => $user[0]['email'],
'uid' => $user[0]['uid'],
'item' => $postarray,
- //'link' => $a->get_baseurl() . '/display/' . $user[0]['nickname'] . '/' . $top_item,
- 'link' => $a->get_baseurl().'/display/'.get_item_guid($top_item),
+ 'link' => $a->get_baseurl().'/display/'.urlencode(get_item_guid($top_item)),
'source_name' => $postarray['author-name'],
'source_link' => $postarray['author-link'],
'source_photo' => $postarray['author-avatar'],
'to_email' => $u[0]['email'],
'uid' => $u[0]['uid'],
'item' => $postarray,
- //'link' => $a->get_baseurl() . '/display/' . $u[0]['nickname'] . '/' . $item,
- 'link' => $a->get_baseurl().'/display/'.get_item_guid($item),
+ 'link' => $a->get_baseurl().'/display/'.urlencode(get_item_guid($item)),
'source_name' => $postarray['author-name'],
'source_link' => $postarray['author-link'],
'source_photo' => $postarray['author-avatar'],