×
Kunena 5.1.18 Released (30 Jun 2020)

The Kunena team has announce the arrival of Kunena 5.1.18 [K 5.1.18] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1.

× Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question What kind of topic

More
2 years 10 months ago - 2 years 10 months ago #11 by rich
Replied by rich on topic What kind of topic
@ruud
In the original files are the topic icons and labels with IDs 5, 6 and 7 comment out. If you edit this lines, you can use additionally (or instead of other symbols) these icons and labels for your own categories.
Last edit: 2 years 10 months ago by rich.

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

More
2 years 10 months ago #12 by ruud
Replied by ruud on topic What kind of topic
Hi Rich,
thanks foryour help. I got it now :)
sticking to the labels only: only language overrides and color changes.
Not using the topic icons.

Now it fits perfectly my support process :woohoo:

Thanks!
regards,
Ruud.

sharing = caring

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

More
2 years 10 months ago #13 by Bouma
Replied by Bouma on topic What kind of topic

rich wrote: @ruud
In the original files are the topic icons and labels with IDs 5, 6 and 7 comment out. If you edit this lines, you can use additionally (or instead of other symbols) these icons and labels for your own categories.


This is actually what I did on my side. But, if you want to ADD new icons, extra to the existing one, you need to edit somewhere else, which is like HTML, and until now, I have no clue where to add some html lines in the blue_eagle5 template.

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

More
2 years 10 months ago - 2 years 10 months ago #14 by ruud
Replied by ruud on topic What kind of topic

rich wrote: Second question: You see your customized topic symbols in the editor, if you create the topic in a category, where your customized topic icons are allowed (Category Manager -> Category -> Category Settings -> Topic Icons: Own Icon folder).


There is definately a bug in here (or I am missing something :S

I have adjusted the labels > these work correct now,
I have copied the media/kunena/topic_icons/default directory to media/kunena/topic_icons/och-support
I have changed an icon and I have added (uncommented) an icon in file media/kunena/topic_icons/och-support/topicicons.xml.

I set in the category settings the new directory to och-support
In the kunena configuration I set the 'Selectable Topic Icons' to yes...

when adding a new topic into the category I get the new buttons... so far so good.


But when I moderate a topic in that category I get the default buttons....


So it looks like the moderate buttons are NOT respecting the category topic icons, OR I am still missing a change....

EDIT: I think this is a bug... when changing the /media/kunena/topic_icons/default/topicicons.xml to be the same as media/kunena/topic_icons/och-support/topicicons.xml then in the moderate screen the correct buttons are shown... BUT when updating Kunena I will loose my changes :(
EDIT2: reported: github.com/Kunena/Kunena-Forum/issues/5523


sharing = caring
Attachments:
Last edit: 2 years 10 months ago by ruud. Reason: BUG

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

More
2 years 10 months ago #15 by rich
Replied by rich on topic What kind of topic
@ruud
Confirmed, it's a bug.


@Bouma

Bouma wrote:

rich wrote: @ruud
In the original files are the topic icons and labels with IDs 5, 6 and 7 comment out. If you edit this lines, you can use additionally (or instead of other symbols) these icons and labels for your own categories.


This is actually what I did on my side. But, if you want to ADD new icons, extra to the existing one, you need to edit somewhere else, which is like HTML, and until now, I have no clue where to add some html lines in the blue_eagle5 template.

You can use for each single category 10 different selectable topic icons. That's not enough?
The following user(s) said Thank You: ruud

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

More
2 years 10 months ago #16 by Bouma
Replied by Bouma on topic What kind of topic

rich wrote: @ruud
Confirmed, it's a bug.


@Bouma

Bouma wrote:

rich wrote: @ruud
In the original files are the topic icons and labels with IDs 5, 6 and 7 comment out. If you edit this lines, you can use additionally (or instead of other symbols) these icons and labels for your own categories.


This is actually what I did on my side. But, if you want to ADD new icons, extra to the existing one, you need to edit somewhere else, which is like HTML, and until now, I have no clue where to add some html lines in the blue_eagle5 template.

You can use for each single category 10 different selectable topic icons. That's not enough?


I'll need to look further the way you explain it. Cause I can make the IDs 5,6,7 to show. Can you confirm that all this will also work with the "blue_eagle5" template? the one that Kunena sell.

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

More
2 years 10 months ago - 2 years 10 months ago #17 by ruud
Replied by ruud on topic What kind of topic

rich wrote: @ruud
Confirmed, it's a bug.


fix? please test :) github.com/Kunena/Kunena-Forum/pull/5525

also, where can I change the class on the locked label / badge? Want to change the class because the red is to... red :)
EDIT: Never mind... hard coded :(
                                <?php if ($topic->locked != 0) : ?>
                                        <span class="label label-important">
                                                <?php echo KunenaIcons::lock(); ?> <?php echo JText::_('COM_KUNENA_LOCKED'); ?>
                                        </span>
                                <?php endif; ?>

sharing = caring
Last edit: 2 years 10 months ago by ruud.
The following user(s) said Thank You: rich

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

More
2 years 10 months ago #18 by rich
Replied by rich on topic What kind of topic
Thank you, your fix works.

also, where can I change the class on the locked label / badge? Want to change the class because the red is to... red :)
EDIT: Never mind... hard coded :(

It needs no own class. The label Locked is a system label and will only used for locked topics.
You have created little mistake, you use the same label type in your custom label.xml. Go to your customized labels.xml and rename the label type from important to implement (or similar). Then you have the extra class.
Example:
<label id="10" name="COM_kUNENA..." b2="remove" b3="remove" fa="times" labeltype="implement"/>
span.label.label-important {
    background-color: #0f0ccc;
}
span.label.label-implement {
    background-color: black;
}
Result:



@Bouma
If you make all correct, then it works. But don't change sytem or template files otherwise you can destroy your page!
Attachments:

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

More
2 years 10 months ago #19 by Bouma
Replied by Bouma on topic What kind of topic
Thanks Rich, I'll give it a try, and let you know the result.

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

More
2 years 10 months ago #20 by ruud
Replied by ruud on topic What kind of topic

rich wrote: It needs no own class. The label Locked is a system label and will only used for locked topics.
You have created little mistake, you use the same label type in your custom label.xml. Go to your customized labels.xml and rename the label type from important to implement (or similar). Then you have the extra class.

Top! 'fixed' :) onlinecommunityhub.nl/forum/
Thanks for helping out @Rich.

sharing = caring

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.986 seconds