Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.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
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Question thank yous max number does not work
14 years 9 months ago #103114
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re: thank yous max number does not work
Confirmed. The setting works with less than 10 but not greater than 10. This needs further investigation. Thanks for reporting this.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
14 years 9 months ago #103120
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: thank yous max number does not work
I have found where is the issue, open the file \administrator\components\com_kunena\libraries\tables\kunenathankyou.php at line 175 replace this :
by this :
Code:
function getUsers($pid, $named = '', $limit = 10) {
// TODO: accept list of users
$name = 'username';
if ($named === 'name')
$name = 'name AS username';
$query = "SELECT u.{$name}, u.id
FROM #__users AS u
LEFT JOIN {$this->_tbl} AS s
ON u.id = s.userid
WHERE s.postid={$this->_db->quote($pid)}";
$this->_db->setQuery ( $query, 0, $limit );
$res = $this->_db->loadObjectList ();
// Check for an error message.
if ($this->_db->getErrorNum ()) {
$this->setError ( $this->_db->getErrorMsg () );
return false;
}
return $res;
}
by this :
Code:
function getUsers($pid, $named = '') {
// TODO: accept list of users
$name = 'username';
if ($named === 'name')
$name = 'name AS username';
$query = "SELECT u.{$name}, u.id
FROM #__users AS u
LEFT JOIN {$this->_tbl} AS s
ON u.id = s.userid
WHERE s.postid={$this->_db->quote($pid)}";
$this->_db->setQuery ( $query, 0 );
$res = $this->_db->loadObjectList ();
// Check for an error message.
if ($this->_db->getErrorNum ()) {
$this->setError ( $this->_db->getErrorMsg () );
return false;
}
return $res;
}
I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: drlovecat
Please Log in or Create an account to join the conversation.
14 years 9 months ago #103132
by drlovecat
Replied by drlovecat on topic Re: thank yous max number does not work
Thanks,
It's work as well
It's work as well
Please Log in or Create an account to join the conversation.
14 years 9 months ago #103165
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: thank yous max number does not work
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
14 years 8 months ago #104985
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re: thank yous max number does not work
Fixed in K 1.7.0.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Time to create page: 0.227 seconds