From: Brion Vibber <brion@pobox.com>
Date: Tue, 16 Nov 2010 00:38:18 +0000 (-0800)
Subject: Tweak remote profile action: hide stats from sidebar, tweak wording on remote notice
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fdcaac365354fb7315263373bae6094eab6aa3c8;p=quix0rs-gnu-social.git

Tweak remote profile action: hide stats from sidebar, tweak wording on remote notice
---

diff --git a/plugins/ModPlus/remoteprofileaction.php b/plugins/ModPlus/remoteprofileaction.php
index 5b25da1701..caa5e6fbf3 100644
--- a/plugins/ModPlus/remoteprofileaction.php
+++ b/plugins/ModPlus/remoteprofileaction.php
@@ -59,7 +59,8 @@ class RemoteProfileAction extends ShowstreamAction
         $url = $this->profile->profileurl;
         $host = parse_url($url, PHP_URL_HOST);
         $markdown = sprintf(
-                _m('This profile is registered on another site; see [the profile page on %s](%s).'),
+                _m('This remote profile is registered on another site; see [%s\'s original profile page on %s](%s).'),
+                $this->profile->nickname,
                 $host,
                 $url);
         $html = common_markup_to_html($markdown);
@@ -97,4 +98,9 @@ class RemoteProfileAction extends ShowstreamAction
         // skip tag cloud
     }
 
+    function showStatistics()
+    {
+        // skip
+    }
+
 }
\ No newline at end of file