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 Removing certain forum template icons (mp)

More
16 years 9 months ago - 16 years 9 months ago #25219 by Sasquash
Hello,

I am creating a template on my own and have run into a little snag. Wondering if anyone can help me out.

I am trying to get rid of and add some of the icons that appear in the bottom of the messages and the page. Is this a design issue or a hack issue? I can change ones that are already in place by just renaming the new image to the old image that was being called up. But where do I change what icons are being called up?

I think that this is the major roadblock that I am having is where in these components does the CMS tell the browsers where to look for the image? XML?

Thanks for listening and I hope someone can help me out. In the mean time I'll just alter the ones I can.

Squash


these icons
^
Last edit: 16 years 9 months ago by Sasquash.

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

More
16 years 9 months ago #25230 by xillibit
Hello,

for this open the file components/com_kunena/template/default_ex/message.php and comment the following lines :

line 353 :
Code:
echo isset($fbIcons['quickmsg']) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['quickmsg'] . '" border="0" alt="' . _KUNENA_QUICKMSG . '" />' . '' : ' <img src="' . KUNENA_URLEMOTIONSPATH . 'quickmsg.gif" border="0" alt="' . _KUNENA_QUICKMSG . '" />';

lines 365 and 366 :
Code:
echo " " . $msg_reply; echo " " . $msg_quote;

line 371 :
Code:
echo " " . $msg_merge;

line 375 :
Code:
echo " " . $msg_split;

line 378 :
Code:
echo " " . $msg_delete;

line 381 :
Code:
echo " " . $msg_edit;

I don't provide support by PM, because this can be useful for someone else.

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

More
16 years 9 months ago #25263 by Sasquash
Seriously thank you for the immediate and straight forward answer to this question. I guess I was wondering if anyone could explain to me what this line means


for this open the file components/com_kunena/template/default_ex/message.php and comment the following lines :

line 353 :

Code:
echo
isset($fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons . '" border="0" alt="' . _KUNENA_QUICKMSG . '" />' . '' : ' <img src="' . KUNENA_URLEMOTIONSPATH . 'quickmsg.gif" border="0" alt="' . _KUNENA_QUICKMSG . '" />';

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

More
16 years 8 months ago #25280 by xillibit
This line is like an if, if the variable $fbIcons is defined so, it display the <img src="' . KUNENA_URLICONSPATH . $fbIcons . '" border="0" alt="' . _KUNENA_QUICKMSG . '" /> in the contrary case it will display <img src="' . KUNENA_URLEMOTIONSPATH . 'quickmsg.gif" border="0" alt="' . _KUNENA_QUICKMSG . '" />

I don't provide support by PM, because this can be useful for someone else.

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

Time to create page: 0.258 seconds