Kunena 6.3.7 Released

The Kunena team has announce the arrival of Kunena 6.3.7 [K 6.3.7] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.

Question search not showing category name, subject and link to the actual post

More
1 month 5 days ago - 1 month 5 days ago #1 by rwillems
Something odd happening here, not using any template overrides. The search just doesnt show the actual information of a topic anymore. How to debug this issue? It's a private forum.
Code:
<?php /**  * Kunena Component  *  * @package         Kunena.Template.Aurelia  * @subpackage      Layout.Search  *  * @copyright       Copyright (C) 2008 - @currentyear@ Kunena Team. All rights reserved.  * @license         https://www.gnu.org/copyleft/gpl.html GNU/GPL  * @link            https://www.kunena.org  **/ defined('_JEXEC') or die(); use Joomla\CMS\Language\Text; use Kunena\Forum\Libraries\Factory\KunenaFactory; use Kunena\Forum\Libraries\Forum\Message\KunenaMessage; use Kunena\Forum\Libraries\Icons\KunenaIcons; use Kunena\Forum\Libraries\Template\KunenaTemplate; use Kunena\Forum\Libraries\User\KunenaUserHelper; $message              = $this->message; $topic                = $message->getTopic(); $category             = $topic->getCategory(); $author               = $message->getAuthor(); $isReply              = $message->id != $topic->first_post_id; $config               = KunenaFactory::getConfig(); $name                 = $config->username ? $author->username : $author->name; $me                   = isset($this->me) ? $this->me : KunenaUserHelper::getMyself(); $this->ktemplate      = KunenaFactory::getTemplate(); $subjectlengthmessage = $this->ktemplate->params->get('SubjectLengthMessage', 20); ?> <div id="kunena_search_results" class="row">     <div class="col-md-2 text-center">         <ul class="list-unstyled text-center profilebox">             <li>                 <strong><?php echo $author->getLink(null, null, 'nofollow', '', null, $topic->getCategory()->id); ?></strong>             </li>             <li><?php echo $author->getLink($author->getAvatarImage(KunenaFactory::getTemplate()->params->get('avatarType'), 'post')); ?></li>         </ul>     </div>     <div class="col-md-10">         <small class="text-muted float-end d-none d-sm-inline-block" style="margin-top:-5px;"> <?php echo KunenaIcons::clock(); ?> <?php echo $message->getTime()->toSpan(); ?><?php if ($message->modified_time) : ?> - <?php echo KunenaIcons::edit() . ' ' . $message->getModifiedTime()->toSpan(); ?>         <?php endif; ?></small>         <div class="badger-left badger-info <?php if ($message->getAuthor()->isModerator()) : ?> badger-moderator <?php endif; ?> message-<?php echo $message->getState(); ?> khistory">             <div class="mykmsg-header alert alert-secondary">                 <?php                 $title   = KunenaMessage::getInstance()->getsubstr($this->escape($message->subject), 0, $subjectlengthmessage);                 $langstr = $isReply ? 'COM_KUNENA_MESSAGE_REPLIED_NEW' : 'COM_KUNENA_MESSAGE_CREATED_NEW';                 echo Text::sprintf($langstr, $message->getAuthor()->getLink(), $this->getTopicLink($topic, $message, null, null, KunenaTemplate::getInstance()->tooltips() . ' topictitle', $category, true, false)); ?>             </div>             <div class="kmessage">                 <?php if (!$isReply) :                     echo $message->displayField('message');                 else :                     echo (!$me->userid && $config->teaser) ? Text::_('COM_KUNENA_TEASER_TEXT') : $this->message->displayField('message');                 endif; ?>             </div>         </div>     </div> </div>
Last edit: 1 month 5 days ago by rwillems. Reason: adding the code

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

More
1 month 5 days ago #2 by Pinkeltje
Can you reproduce the problem in this forum?

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

More
1 month 4 days ago #3 by rwillems
No that is the weird thing, I have done some testing here and it works fine. However on my own install it does not. In the configuration reporting I couldnt find anything odd as well.

Is there a code I could use to debug more?

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

More
1 month 4 days ago #4 by Pinkeltje
Maybe with Kunena debug enabled?
Or post your report configuration here.

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

More
1 month 4 days ago #5 by rwillems
This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 300 seconds | Max execution memory: 512M | Max file upload:

Kunena menu details:

Warning: Spoiler!

Joomla default template details : g5_epsilon | author: RocketTheme, LLC | version: 2.5.0 | creationdate: December 17, 2021

Kunena default template details : Aurelia | author: Kunena Team | version: 6.3.6 | creationdate: 2024-10-28

Kunena template params:

Warning: Spoiler!

Kunena version detailed: Kunena 6.3.6 | 2024-10-28 [ Git Repository ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: CommunityBuilder 2.9.3+build.2024.10.02.18.57.11.f6795ce5a

Third-party SEF components: None

Plugins: None

Modules: None

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

More
1 month 4 days ago #6 by Pinkeltje
Only thing I can think of is a problem with your menu.

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

More
1 month 4 days ago #7 by rich
I think we've had a similar issue before? You still have the same problem ( see here ).

Quote from rich from the other topic:

I am irritated by the two menu items in the hidden menu that should lead to the same destination (category) with different addresses. If these also have different authorisations, e.g. for special users, then normal users cannot create posts in the category.

If you generally only want to release the forum for registered users, then do this via the Kunena configuration Security tab -> Registered users only).
With your configuration, you can currently call up the index and Recent Topics by manually entering the address in the browser. However (as you have already mentioned) there are no posts available.

How do you manage your access to the forum? According to the configuration report, it is public, but there are no categories or posts.
For example .../forum/index or .../forum/recent or .../forum/search can be accessed via the browser address, but there are no categories or posts.
If nothing is available, there is no search result.


Important! Always create a backup before you make any changes to your website!

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

More
1 month 4 days ago #8 by Pinkeltje
There are results with /forum/search?query=translate&searchdate=all&childforums=1
Which doesn't make sense.

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

More
1 month 3 days ago #9 by rwillems
Oooh good find! I have changed that setting now. There was no real reason why this was set up this way. Think last time someone checked it out was before 2011.

The duplicate items were trashed, I've deleted them for sanities sake ;)

Access to the forum homepage is set up via an menu item alias on the main menu.

Updated config:

This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 300 seconds | Max execution memory: 512M | Max file upload:

Kunena menu details:

Warning: Spoiler!

Joomla default template details : g5_epsilon | author: RocketTheme, LLC | version: 2.5.0 | creationdate: December 17, 2021

Kunena default template details : Aurelia | author: Kunena Team | version: 6.3.6 | creationdate: 2024-10-28

Kunena template params:

Warning: Spoiler!

Kunena version detailed: Kunena 6.3.6 | 2024-10-28 [ Git Repository ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: CommunityBuilder 2.9.3+build.2024.10.02.18.57.11.f6795ce5a

Third-party SEF components: None

Plugins: None

Modules: None

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

More
1 month 3 days ago #10 by rich
The settings and Kunena menus are now correct. Are you still unable to find the topics?


Important! Always create a backup before you make any changes to your website!

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

Time to create page: 0.451 seconds