Bläddra i källkod

#103 link to all content in author block shouldn't appear in Convos module

Alex Trofimov 11 år sedan
förälder
incheckning
1c3e6f61fb

+ 8 - 0
modules/boonex/convos/classes/BxCnvModule.php

@@ -269,6 +269,14 @@ class BxCnvModule extends BxBaseModTextModule
         return $this->_oTemplate->entryCollaborators ($aContentInfo, 5, 'right');
     }
 
+    /**
+     * No social sharing for private conversations
+     */
+    public function serviceEntitySocialSharing ($iContentId = 0)
+    {
+        return '';
+    }
+
     /**
      * No moderators for personal convos
      */

+ 4 - 0
modules/boonex/convos/classes/BxCnvTemplate.php

@@ -240,6 +240,10 @@ class BxCnvTemplate extends BxBaseModTextTemplate
         return $this->parseHtmlByName('message_preview_in_grid.html', $aVars);
     }
 
+    function getAuthorAddon ($aData, $oProfile)
+    {
+        return '';
+    }
 }
 
 /** @} */