×
Kunena 5.1 RC 3 Released (16 Feb 2018)

The Kunena team is proud to announce the arrival of Kunena 5.1.0 RC3 [K 5.1.0] which is now available for download as a native Joomla extension for J! 3.8.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. This is a RC release.

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

Solved How can I change the BBcode toolbar buttons?

More
3 years 8 months ago #1 by x85301
x85301 created the topic: How can I change the BBcode toolbar buttons?
Hello,

i tried myself in customizing Kunena a little bit. I found a few things in internet, so i managed to inmpelent function to insert a tweet in Kunena.

But, my problem is that i don't manage to insert a button in BB-Code bar for this thing.

I edited "libraries/kunena/bbcode/editor.xml" so that the help-button does what i need. How can i change the button? I don't want this "?" in there but a twitter logo or something like that.

Can anyone help me?


^^sorry for my bad english, i try asking the question in german also, maybe there are germans here:

^^ Ich habe einen Tweet-BB Code ins Forum eingebaut, der Button hierfür ist der "Help" Button. Also von der Funktionalität her, wenn ich draufklicke erscheinen die Tweet-Tags und wenn die ID eines Tweets dort eingefügt wird, erscheint der Tweet im Forum.

Nur, möchte ich den Button an sich austauschen, und habe keine Ahnung wie das geht. Also ein Twitterlogo o.ä. anstelle des Help-Buttons.

Bin langsam am verzweifeln, wäre echt toll wenn mir da jemand weiterhelfen könnte ;-)

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

More
3 years 8 months ago #2 by rich
rich replied the topic: How can I change the BBcode toolbar buttons?
You need a image editing program. It is the picture default.png in "components/com_kunena/template/blue_eagle/media/iconsets/editor/default".

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

More
3 years 8 months ago #3 by 810
810 replied the topic: How can I change the BBcode toolbar buttons?
This function is added on the new kunena 3.1.
We are fixing the final bugs. Then we are releasing the beta.

Your feedback on the JED helps us improve Kunena!

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

More
3 years 8 months ago - 3 years 8 months ago #4 by sozzled
sozzled replied the topic: How can I change the BBcode toolbar buttons?
It is possible, instead of changing any of the source code or designing a replacement for the file ../components/com_kunena/template/blue_eagle/media/iconsets/editor/default/default.png, to create your own images for each button in the BBcode editor toolbar.

Let's say that you want to change the image for the "help" button. The image for this button is defined in the Kunena Blue Eagle template with the property
background-position: -396px -18px;

This means that the "question mark" image that you see is defined as a sprite . The easiest way to change this behaviour is to add your own definition at the end of your Joomla site template CSS file, something like this:
#Kunena #kbbcode-help-button {
    background: url('----the URL of the image you want to use instead----') no-repeat !important;
}

This is a "quick fix" to the problem and it's as good as what rich and 810 suggested.
Last Edit: 3 years 8 months ago by sozzled.

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

More
3 years 8 months ago #5 by x85301
x85301 replied the topic: How can I change the BBcode toolbar buttons?
thank you guys, managed it :D

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.114 seconds