Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

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 I deleted the wrong thing...

More
15 years 2 months ago #106482 by Wbizz
I wanted not to show who is online in which forum so I deleted this part in the code in templates/default/categories/category.php. A few days later I noticed that I accidently also deleted the user image/name in each topic and in the overview as you can see in the attachment. Now I don't remember exactly anymore what I have deleted and if it was just this file.... How do I get the users back in the overview but not in Now Online? I rather not reinstall because I have totally customized Kunena for this site.

This is line 115 t/m 142 in templates/default/categories/category.php as it is now:
Code:
<?php if ($category->numTopics != 0) { ?> <td class="kcol-mid kcol-kcatlastpost"> <?php if ($this->config->avataroncat > 0) : ?> <!-- Avatar --> <?php $profile = KunenaFactory::getUser((int)$category->userid); $useravatar = $profile->getAvatarLink('klist-avatar', 'list'); if ($useravatar) : ?> <span class="klatest-avatar"> <?php echo CKunenaLink::GetProfileLink ( intval($category->userid), $useravatar ); ?></span> <?php endif; ?> <!-- /Avatar --> <?php endif; ?> <div class="klatest-subject ks"> <?php echo JText::_('COM_KUNENA_GEN_LAST_POST') . ': '. CKunenaLink::GetThreadPageLink ( 'view', intval($category->catid), intval($category->thread), intval($category->page), intval($this->config->messages_per_page), KunenaParser::parseText($category->subject, 30), intval($category->id_last_msg) );?> </div> <div class="klatest-subject-by ks"> <?php echo JText::_('COM_KUNENA_BY') . ' '; if (!empty($category->userid)) { echo CKunenaLink::GetProfileLink ( intval($category->userid), $this->escape($this->config->username ? $category->username:$category->uname) ); } else { echo CKunenaLink::GetProfileLink ( intval($category->userid), $this->escape($category->mname) ); } echo '<br /><span class="nowrap" title="' . CKunenaTimeformat::showDate ( $category->time_last_msg, 'config_post_dateformat_hover' ) . '">' . CKunenaTimeformat::showDate ( $category->time_last_msg, 'config_post_dateformat' ) . '</span>'; ?> </div> </td>

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

More
15 years 2 months ago #106483 by Admata

Wbizz wrote: Now I don't remember exactly anymore what I have deleted and if it was just this file.... How do I get the users back in the overview but not in Now Online?

You can restore single files by unpacking com-Kunena. You´ll find template files in archive\com_kunena-site. Just upload those files you think you have changed.

If you want to change something visual in your template, you don´t have to necessary change the code.
1. Check Kunena settings. There is meny things you can affect in there. If you don´t want to show who´s online, go to Forum Configuration / plug-ins and change the 'Online Status' to No
2. If you don´t find suitable settings in Forum Configuration, then try to change CSS - not the code. You can download firebug and use that to see how appearance is set. If you want to hide something using CSS, you can just add command 'display: none;' ;)

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

Time to create page: 0.109 seconds