Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] 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.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.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 How can I remove a column?

More
15 years 2 months ago - 15 years 2 months ago #87126 by pammeluff
Hi,

I'm trying to remove 2 columns (namely the topic replies and topic icon columns )

In Kunena 1.5, this can be done by commenting out the code

www.kunena.org/forum/146-solved-hacks-tr...e-topic-icons-column


But in 1.6, it's different. As I look for the code, I found these from flat.php.
Code:
<td class="kcol-first kcol-ktopicreplies"> <strong> <?php echo CKunenaTools::formatLargeNumber ( $leaf->msgcount-1 ); ?> </strong><?php echo JText::_('COM_KUNENA_GEN_REPLIES') ?> </td> <td class="kcol-mid kcol-ktopicicon"> <?php echo CKunenaLink::GetThreadPageLink ( 'view', intval($leaf->catid), intval($leaf->id), $unreadPage, intval($this->config->messages_per_page), CKunenaTools::topicIcon($leaf), intval($leaf->lastread) ) ?> </td>

However, nothing happens. Am I right to comment out these codes? What else should I do?

Thank yo.
Last edit: 15 years 2 months ago by pammeluff.

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

More
15 years 2 months ago #87129 by coder4life
Is the php code being commented out, sometimes, and I cannot figure out why, html comments will not comment out php code.

make sure you have <!-- --> on the entire body the section you like to remove without more inside the comment body.

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

More
15 years 2 months ago #87199 by pammeluff
I even tried to erase these codes, and still nothing happens.

Also what is the proper way to comment out these codes? I just use <!-- <html> <?php> </html> -->

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

More
15 years 2 months ago #88055 by pammeluff
It works now

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

Time to create page: 0.231 seconds