<html><head/><body><html><head></head><body>I understand the premise, but I disagree. A lot of apps that I use don't have maintainers. However, the comments are typically helpful. I believe this should be approached differently.<br><br><div class="gmail_quote">"AndrĂ© Hentschel" <nerv@dawncrow.de> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px">Am 28.04.2013 18:57, schrieb Rosanne DiMesio:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Forced moderation of comments could work for apps with maintainers who are doing their job, but most of the spam I recently deleted was in unmaintained apps. My suggestion would be to block comments altogether on unmaintained apps, not just because of spam, but because of other inappropriate things that are not being monitored, such as posting links to illegal downloads. As for the maintainers who clearly aren't doing their jobs (about 20-25% of the spam I found was in entries with maintainers), admins already have the capability of removing them.</blockquote><br /><br />---<br />include/version.php |    9 ++++++---<br />1 file changed, 6 insertions(+), 3 deletions(-)<br /><br />diff --git a/include/version.php
b/include/version.php<br />index 8f02b24..bf1d7ab 100644<br />--- a/include/version.php<br />+++ b/include/version.php<br />@@ -1180,9 +1180,12 @@ class version {<br /><br />echo note::displayNotesForEntry($this->iVersionId);<br /><br />-        // Comments Section<br />-        if($this->iVersionId)<br />-            Comment::view_app_comments($this->iVersionId);<br />+        if(sizeof($aMaintainers)>0)<br />+        {<br />+            // Display comments section in case version has maintainers<br />+            if($this->iVersionId)<br />+                Comment::view_app_comments($this->iVersionId);<br />+        }<br />}<br /><br />public static function lookup_name($versionId)</pre></blockquote></div></body></html></body></html>