×
K5.1.1 is released (10 Jun 2018)

The Kunena team is pleased to announce Kunena 5.1.1 [K 5.1.1].
Please read the blog post for information:

× 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
1 year 6 months ago #1 by Baksus
What kind of topic was created by Baksus
What kind of and how do you set if the topic you are making is a question or idea or any other kinda of topic?

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

More
1 year 6 months ago - 1 year 6 months ago #2 by rich
Replied by rich on topic What kind of topic
Our settings here on k.org are:
In "Backend -> Kunena -> Templates -> Crypsis -> Featues -> Show Labels = Topic id" (it shows the labels such as Solved etc...).
and in the "Configuration -> (tab) Frontens -> Selectable Topic Icons = No" (so can only moderators change the labels). The labels are selected with the topic icons.
Last edit: 1 year 6 months ago by rich.

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

More
1 year 6 months ago #3 by Baksus
Replied by Baksus on topic What kind of topic
Is it possible to make your own labels? so that there could be more possible things to set, like, bugs, idea, suggestion, question, report. etc etc?

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

More
1 year 6 months ago - 9 months 4 weeks ago #4 by rich
Replied by rich on topic What kind of topic
Yes, it's possible. you need a copy of the labels.xml. Path is "media/kunena/labels/labels.xml"
Paste this file in "components/com_kunena/template/crypsis(crypsisb3)/config" and edit the file.
Here a example:
1. Download the zip file and unzip it. It include 2 files (the xml files for the labels and a file with codes for the label colors).
2. Upload the labels.xml to "components/com_kunena/template/crypsis(crypsisb3)/config"
3. Paste the less codes in your custom.less ( see here )
4. Create language overrides for yor own text ( see here )

It are this language keys.
COM_KUNENA_LABELS_DISCUSSION *it's a new key and need a language override
COM_KUNENA_LABELS_CLOSED *it's a new key and need a language override

The rest is otional, you need only a override if you to want another text
COM_KUNENA_LABELS_IMPORTANT
COM_KUNENA_LABELS_QUESTION
COM_KUNENA_LABELS_IDEA
COM_KUNENA_LABELS_LOVED
COM_KUNENA_LABELS_SOLVED
COM_KUNENA_LABELS_MERGED

Note! The less-file contains all codes for labels, b2, b3 and Font Awesome icon colors. Copy only the section in your custom.less, which you want to use!

Here the result:
Attachments:
Last edit: 9 months 4 weeks ago by rich.

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

More
9 months 4 weeks ago - 9 months 4 weeks ago #5 by Bouma
Replied by Bouma on topic What kind of topic

rich wrote: Yes, it's possible. you need a copy of the labels.xml. Path is "media/kunena/labels/labels.xml"
Paste this file in "components/com_kunena/template/crypsis(crypsisb3)/config" and edit the file.
Here a example:
1. Download the zip file and unzip it. It include 2 files (the xml files for the labels and a file with codes for the label colors).
2. Upload the labels.xml to "components/com_kunena/template/crypsis(crypsisb3)/config"
3. Paste the less codes in your custom.less ( see here )
4. Create language overrides for yor own text ( see here )


Point 3 and 4, the links give a 404. And any chance to have the info for the blue_eagle5 template as well? thanks
Last edit: 9 months 4 weeks ago by rich. Reason: Links corrected

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

More
9 months 4 weeks ago #6 by rich
Replied by rich on topic What kind of topic
Thanks for the hint. The links are now corrected (also in your message quote text).

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

More
9 months 3 weeks ago #7 by ruud
Replied by ruud on topic What kind of topic
Hi,

I can't get this to work.

I have copied the following file:
cp ./media/kunena/labels/labels.xml ./components/com_kunena/template/crypsis/config/

in ./components/com_kunena/template/crypsis/config/labels.xml I have for this purpose changed the following line (fa question-circle into car)
<label id="2" name="COM_KUNENA_LABELS_QUESTION" b2="question-sign" b3="question-sign" fa="car" labeltype="primary"/>

as you can see no 'car'
and also here no car


Documentation has me running circles... as it 'contradicts' instructions in this post

what am I missing?

sharing = caring
Attachments:

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

More
9 months 3 weeks ago #8 by rich
Replied by rich on topic What kind of topic
On your first image it shows the default topic icon "file" and his label has the id="0" (it's the default label when users not select another symbol). But you have changed the label with ID = 2. Therefore you see not the car.

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).

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

More
9 months 3 weeks ago - 9 months 3 weeks ago #9 by ruud
Replied by ruud on topic What kind of topic

rich wrote: On your first image it shows the default topic icon "file" and his label has the id="0" (it's the default label when users not select another symbol). But you have changed the label with ID = 2. Therefore you see not the car.

The arrow is pointing not at the file, but at the label '? question'. The ? is not replaced by car.

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).


Will give that a try, it's very confusing as you have labels that are displayed as labels (? question) and are set in the template (crypsis), but that are triggered as 'topic icons' which are configured not in the template and which show up as category images....
IMO there are to many 'variables' that need to change...

Will give it another shot at trying to 'fix' this
Thanks @rich for your help so far!

sharing = caring
Last edit: 9 months 3 weeks ago by ruud.

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

More
9 months 3 weeks ago #10 by rich
Replied by rich on topic What kind of topic
Maybe it's a bit confused.

Here the labels from the origina file.

<labels type="qa" width="48" height="48">
<label id="0" name="COM_KUNENA_LABELS_QUESTION" b2="question-sign" b3="question-sign" fa="question-circle" labeltype="primary"/>
<label id="1" name="COM_KUNENA_LABELS_IMPORTANT" b2="notification-circle" b3="exclamation-sign" fa="exclamation-circle" labeltype="primary"/>
<label id="2" name="COM_KUNENA_LABELS_QUESTION" b2="question-sign" b3="question-sign" fa="question-circle" labeltype="primary"/>

As you can see, we have 2x the same label. It shows the "?" on label default and also on label question. Therefore I had changed the labels in my file.
My file:

<labels type="qa" width="48" height="48">
<label id="0" name="COM_KUNENA_LABELS_DISCUSSION" b2="file" b3="file" fa="file" labeltype="discussion"/>
<label id="1" name="COM_KUNENA_LABELS_IMPORTANT" b2="notification-circle" b3="exclamation-sign" fa="exclamation-circle" labeltype="important-label" />
<label id="2" name="COM_KUNENA_LABELS_QUESTION" b2="question-sign" b3="question-sign" fa="question-circle" labeltype="primary"/>

</labels>

It works correctly


If you change the fa image on label id="2", it shows the car symbol on label.

Now you must change also the topic symbol to car and you have for both the car.

But if you want different labels for special categories, that's not possible. This works only with own topic icons.
Attachments:

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

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