Kunena 7.0.8 Released

The Kunena team has announce the arrival of Kunena 7.0.8 [K 7.0.8] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Themen, die in diesen Bereich verschoben wurden, gelten allgemein als beendet. Falls es dazu noch zusätzliche Fragen gibt, können diese zwar noch gestellt werden, aber diese alten Themen sollten auf keinen Fall wieder auferstehen, um neue Probleme zu erörtern.
Eröffnet dazu bitte ein eigenes neues Thema.

Question Anzahl Mitglieder werden nicht korrekt angezeit.

More
15 years 5 months ago - 15 years 5 months ago #85648 by xillibit

Dr.Walter_Bishop wrote: Hallo

So hab mir das ganze noch mal angeschaut:)

Anscheinent hat sich in der Datei kunena.stats.class.php ein kleiner schreibfehler eingeschlichen ;)

Die besagte Datei liegt in components\com_kunena\lib\kunena.stats.class.php

Hier der Original Code

Code:
public function loadTotalMembers() { if ($this->totalmembers === null) { $this->_db->setQuery ( "SELECT COUNT(*) FROM #__users WHERE block=0 AND activation=''" ); $this->totalmembers = $this->_db->loadResult (); KunenaError::checkDatabaseError(); }

Hier der Bearbeitet Code
Code:
public function loadTotalMembers() { if ($this->totalmembers === null) { $this->_db->setQuery ( "SELECT COUNT(*) FROM #__users WHERE block=0 OR activation=''" ); $this->totalmembers = $this->_db->loadResult (); KunenaError::checkDatabaseError(); }

Hello,

[strike]What is the difference ? it's exactly the same code for the two ?[/strike]

OR or AND the count will be still wrong

I don't provide support by PM, because this can be useful for someone else.
Last edit: 15 years 5 months ago by xillibit.

Please Log in or Create an account to join the conversation.

More
15 years 5 months ago #85782 by yj47
Whaou !! :woohoo:
Works fine for me
Thanks Dr.Walter_Bishop

Please Log in or Create an account to join the conversation.

Time to create page: 0.208 seconds