Kunena 6.1.3.2 Released
The Kunena team has announce the arrival of Kunena 6.1.3.2 [K 6.1.3] which is now available for download as a native Joomla extension for J! 4.2.x/4.3.x. This version addresses most of the issues that were discovered in K 6.1.0 and issues discovered during the last development stages of K 6.1
Solved K 4.0 + Kunena Discuss 3.0.7: Guest can post: this feature doesn't work well if Joomla caching or Cache Plugin is enabled!
8 years 2 months ago - 8 years 2 months ago #1
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
K 4.0 + Kunena Discuss 3.0.7: Guest can post: this feature doesn't work well if Joomla caching or Cache Plugin is enabled! was created by sozzled
Can someone please explain why Kunena Discuss "does not work" for guest replies if Joomla caching is enabled?
Screenshot of Kunena Discuss 3.0.7 with debug enabled:
Screenshot of Kunena Discuss 3.0.7 with debug enabled:
Blue Eagle vs. Crypsis reference guide
Read my blog and

Last edit: 8 years 2 months ago by sozzled.
Please Log in or Create an account to join the conversation.
8 years 2 months ago #2
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic K 4.0 + Kunena Discuss 3.0.7: Guest can post: this feature doesn't work well if Joomla caching or Cache Plugin is enabled!
I am still wondering if anyone has an explanation why the Kunena Discuss plugin requires Joomla caching to be turned off if you want to enable guest replies.
Blue Eagle vs. Crypsis reference guide
Read my blog and

Please Log in or Create an account to join the conversation.
8 years 2 months ago #3
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic K 4.0 + Kunena Discuss 3.0.7: Guest can post: this feature doesn't work well if Joomla caching or Cache Plugin is enabled!
As mentioned in
another topic
, Kunena Discuss 3.1 has been released. I am yet to test this new version but I still wonder if there is the same restriction—i.e. Joomla caching needs to be disabled—in order to be able to use Kunena Discuss to allow guests to post comments on articles and, if there is, why is this the case?
I would still like an answer to this basic question, please.
I would still like an answer to this basic question, please.
Blue Eagle vs. Crypsis reference guide
Read my blog and

Please Log in or Create an account to join the conversation.
8 years 1 month ago - 8 years 1 month ago #4
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic K 4.0.3 + Kunena Discuss 3.1.0: plugin does not allow posting by guests if Joomla caching enabled!
I have now spent about an hour testing Kunena Discuss 3.1 with Joomla caching enabled and with Joomla caching disabled.
1) If Joomla caching is enabled and a guest tries to post a comment about a Joomla article, the comment disappears — there is no record of it anywhere — and no messages are posted to the forum.
2) If Joomla caching is disabled and a guest tries to post a comment about a Joomla article, then the message is posted to the forum.
It is not simply a case of "this feature doesn't work well if Joomla caching or Cache Plugin is enabled"; Kunena Discuss does not work at all (for guests) if Joomla caching is enabled. There seems to be something not quite right with the source code (at around lines 545-548) in ../plugins/content/kunenadiscuss/kunenadiscuss.php
but I cannot quite put my finger on what is wrong or why the if-test exists in the way it's written.
I started this topic more than 6 weeks ago. I note that there has been no input from anyone on this matter. The "solution" therefore is to ensure that you disable Joomla caching on your website if you want to use Kunena Discuss.
1) If Joomla caching is enabled and a guest tries to post a comment about a Joomla article, the comment disappears — there is no record of it anywhere — and no messages are posted to the forum.
2) If Joomla caching is disabled and a guest tries to post a comment about a Joomla article, then the message is posted to the forum.
It is not simply a case of "this feature doesn't work well if Joomla caching or Cache Plugin is enabled"; Kunena Discuss does not work at all (for guests) if Joomla caching is enabled. There seems to be something not quite right with the source code (at around lines 545-548) in ../plugins/content/kunenadiscuss/kunenadiscuss.php
Code:
// Process the QuickPost form
$quickPost = '';
$canPost = $this->canPost($category, $topic);
if ($canPost && $plgShowForm && (!$closeTime || $closeTime >= $now))
{
if (JFactory::getUser()->get('guest'))
{
$this->debug("showPlugin: Guest can post: this feature doesn't work well if Joomla caching or Cache Plugin is enabled!");
}
if (JRequest::getInt('kdiscussContentId', -1, 'POST') == $row->id)
{
$this->debug("showPlugin: Reply topic!");
$quickPost .= $this->replyTopic($row, $category, $topic, $subject);
}
else
{
$this->debug("showPlugin: Displaying form");
$quickPost .= $this->showForm($row, $category, $topic, $subject);
}
}
I started this topic more than 6 weeks ago. I note that there has been no input from anyone on this matter. The "solution" therefore is to ensure that you disable Joomla caching on your website if you want to use Kunena Discuss.
Blue Eagle vs. Crypsis reference guide
Read my blog and

Last edit: 8 years 1 month ago by sozzled. Reason: include source code snippet
Please Log in or Create an account to join the conversation.
8 years 1 week ago #5
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic K 4.0.3 + Kunena Discuss 3.1.0: plugin does not allow posting by guests if Joomla caching enabled!
After more than two months (and no response from the developers) I am marking this topic as unresolved.
I think that the only lesson we can learn is this:
If you want to use Kunena Discuss plugin with your forum to allow "guest posting", you must disable Joomla caching first.
I think that the only lesson we can learn is this:
If you want to use Kunena Discuss plugin with your forum to allow "guest posting", you must disable Joomla caching first.
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.254 seconds