- Posts: 8
- Thank you received: 0
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 Enable comments for guests
13 years 7 months ago #134256
by Treverer
Replied by Treverer on topic Enable comments for guests
thanks for your reply.
you and the kunena team must do nothing for me or the community, of course.
i dont know and dont understand, why you did not accept, that the funcionality of the old version was not the same like the 2.x version.
and yes, i really will start to build in what i need by myself.
what i found until now:
PLG_KUNENADISCUSS_NEW_TOPIC_NOT_CREATED and PLG_KUNENADISCUSS_LOGIN_OR_REGISTER
and a interesting part from in the code:
the last case, no topic and no form, is the essential point. there is no message like 'The topic in Kunena hasn't been created yet. Add your reply.' in the html source-code. the php-code will executed - but no message...
i will look for login/register now...
you and the kunena team must do nothing for me or the community, of course.
i dont know and dont understand, why you did not accept, that the funcionality of the old version was not the same like the 2.x version.
and yes, i really will start to build in what i need by myself.
what i found until now:
PLG_KUNENADISCUSS_NEW_TOPIC_NOT_CREATED and PLG_KUNENADISCUSS_LOGIN_OR_REGISTER
and a interesting part from in the code:
Code:
$linktopic = '';
$linktitle = JText::sprintf ( 'PLG_KUNENADISCUSS_DISCUSS_ON_FORUMS', $topic->posts );
if ($topic->exists() && $linkOnly) {
$this->debug ( "showPlugin: Displaying only link to the topic" );
return JHtml::_('kunenaforum.link', $topic->getUri ($category), $linktitle, $linktitle );
} elseif ( $topic->exists() && !$plgShowForm ) {
$this->debug ( "showPlugin: Displaying link to the topic because the form is disabled" );
$linktopic = JHtml::_('kunenaforum.link', $topic->getUri ($category), $linktitle, $linktitle );
} elseif ( !$topic->exists() && !$plgShowForm ) {
$linktopic = JText::_('PLG_KUNENADISCUSS_NEW_TOPIC_NOT_CREATED');
}
the last case, no topic and no form, is the essential point. there is no message like 'The topic in Kunena hasn't been created yet. Add your reply.' in the html source-code. the php-code will executed - but no message...
i will look for login/register now...
Please Log in or Create an account to join the conversation.
13 years 7 months ago - 13 years 7 months ago #134258
by sozzled
I never said that the current version worked correctly (even if it does not work the way you would like it to). I offered you another alternative. People can offer their opinions (good ones or not so good ones) but I don't think that's a reason to say that offering an opinion is not doing something for the community. What we could have done, instead, was to have kept our opinions to ourselves and let you wonder why you no-one was offering help.
Perhaps, with the new information you posted, someone may be able to suggest a better range of options for you to work with. Good luck.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Enable comments for guests
Just because something "worked" (in a particular way) in an older version does not make it right or necessarily feasible to work in a later version. Things change. Sometimes when things worked in an older version, mistakes happen or things are forgotten in a later version. These things happen, too.Treverer wrote: i dont know and dont understand, why you did not accept, that the functionality of the old version was not the same like the 2.x version.
I never said that the current version worked correctly (even if it does not work the way you would like it to). I offered you another alternative. People can offer their opinions (good ones or not so good ones) but I don't think that's a reason to say that offering an opinion is not doing something for the community. What we could have done, instead, was to have kept our opinions to ourselves and let you wonder why you no-one was offering help.
Perhaps, with the new information you posted, someone may be able to suggest a better range of options for you to work with. Good luck.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Last edit: 13 years 7 months ago by sozzled.
Please Log in or Create an account to join the conversation.
13 years 7 months ago - 13 years 7 months ago #134260
by Treverer
Replied by Treverer on topic Enable comments for guests
so, now i must ask something. look at this code from kunenadiscuss.php:
i am not sure 100%, but i think part between
never will run, because the function showForm will never used, if the user can not post. and i also think, the function getLogin is not defined...
p.s.> did not saw your answer before last posting..sorry...
Code:
protected function showForm($row, $category, $topic, $subject ) {
$canPost = $this->canPost ( $category, $topic );
if (! $canPost) {
if (! $this->user->exists()) {
$this->debug ( "showForm: Public posting is not permitted, show login instead" );
$login = KunenaFactory::getLogin ();
$loginlink = $login->getLoginURL ();
$registerlink = $login->getRegistrationURL ();
$this->msg = JText::sprintf ( 'PLG_KUNENADISCUSS_LOGIN_OR_REGISTER', '"' . $loginlink . '"', '"' . $registerlink . '"' );
} else {
$this->debug ( "showForm: Unfortunately you cannot discuss this item" );
$this->msg = JText::_ ( 'PLG_KUNENADISCUSS_NO_PERMISSION_TO_POST' );
}
}
i am not sure 100%, but i think part between
Code:
if (! $canPost) {
if (! $this->user->exists()) {
p.s.> did not saw your answer before last posting..sorry...
Last edit: 13 years 7 months ago by Treverer.
Please Log in or Create an account to join the conversation.
Time to create page: 0.249 seconds