Kunena 7.0.4 Released

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

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 New add topic icon didn' displayed in the new thread

More
16 years 3 months ago #37561 by BALL24
BALL24 wrote:

Hello,

Your news topics icons need to have a resolution of 32pixels by 32 pixels, you can save it in png or gif and need to be placed in the directory : /components/com_kunena/template/default_ex/images/english/emoticons

Open the file /components/com_kunena/template/default/smile.class.php and at line 170 to 173 and modify this lines :

Code:
<input type = "radio" name = "topic_emoticon" value = "8"<?php echo $selected==7?" checked=\"checked\" ":"";?>/>

<img src = "<?php echo KUNENA_URLEMOTIONSPATH ;?>new_icon.gif" alt = "" border = "0" />


You need to modify the value = "8" and set the name of your new topic icon, here it's : new_icon.gif.

Then in the files /components/com_kunena/template/default_ex/flat.php and /components/com_kunena/template/default_ex/thread.php add your new topic icon, it's the same change for the two files :

Code:
$topic_emoticons[8] = KUNENA_URLEMOTIONSPATH . 'new_icon.gif';


When you have do the modification, try it by creating a new thread and visualize the result.


Hello,

I made all changes as above-mentioned but the new icon is only in the selection when I create a new thread but I started a new thread and selected my new icon and I only see the default icon. The new icon didn't displayed!
Need your help. What is wrong?

Thanks, Martin

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

Time to create page: 0.229 seconds