Seite 1 von 1

Pruning..gesamtbeitragszahl nimmt ab?

Verfasst: 30.11.2006 18:10
von Bernd1976
hallo,

habe heute das automatische pruning eingestellt... jetzt nimmt aber die anzahl der beiträge Unsere Benutzer haben insgesamt XXXX Beiträge geschrieben ab...

kann man das umgehen und die gesamtanzahl der postings bestehen bleibt?

danke und grüße

Verfasst: 01.12.2006 08:42
von Zlocko

Code: Alles auswählen

[ÖFFNE]
/includes/functions.php

[SUCHE]
Code:

      case 'postcount':
      case 'topiccount':
         $sql = "SELECT SUM(forum_topics) AS topic_total, SUM(forum_posts) AS post_total
            FROM " . FORUMS_TABLE;
         break;


[ERSETZEN MIT]

Code:

case 'postcount':
      $sql= "SELECT SUM(user_posts) AS post_total
         FROM phpbb_users WHERE user_id <> 0";
         break;

      case 'topiccount':
         $sql = "SELECT SUM(forum_topics) AS topic_total
            FROM " . FORUMS_TABLE;
         break

Verfasst: 01.12.2006 16:07
von nickvergessen
gilt das dann auch für die user posts?

Verfasst: 01.12.2006 23:37
von Zlocko
Ja :wink: