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.

Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Solved How to add icon for subscribe in default_row.php

More
11 years 4 months ago - 11 years 4 months ago #166453 by Armor
Hi ;)
I have a question, how I can add an icon subscribed topic in the list of topics ?


in file blue_eagle/html/category/default_row.php
Code:
<?php if ($this->topic->getUserTopic()->favorite) { echo $this->getIcon ( 'kfavoritestar', JText::_('COM_KUNENA_FAVORITE') ); } if ($this->me->exists() && $this->topic->getUserTopic()->posts) { echo $this->getIcon ( 'ktopicmy', JText::_('COM_KUNENA_MYPOSTS') ); } if ($this->topic->unread) {
I tried to add something like this
Code:
$this->topic->getUserTopic()->subscribe
but does not work. ;)

If you have any suggestions, It will be nice :silly: best regards.
Last edit: 11 years 4 months ago by Armor.

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

More
11 years 4 months ago #166647 by Armor
Is no one tried to do it?

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

More
11 years 4 months ago - 11 years 4 months ago #166651 by 810
Code:
$userTopic = $this->topic->getUserTopic(); if ($userTopic->subscribed) { echo $this->getIcon ( 'ktopicmy', JText::_('COM_KUNENA_MYPOSTS') ); }
Last edit: 11 years 4 months ago by 810.
The following user(s) said Thank You: Armor

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

Time to create page: 0.111 seconds