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 In the script there is no vote alt

  • lev
  • lev's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Lorem Ipsum...
More
15 years 8 months ago #58550 by lev
In the script there is no vote alt!

Line 239, Column 174: required attribute "alt" not specified
…ts/com_kunena/template/default/images/bar.png" height = "10" width = "5"/></td>

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>


Should be this:
…ts/com_kunena/template/default/images/bar.png" height = "10" width = "5" alt=""/></td>

example of forum

Sorry for my English.
The following user(s) said Thank You: fxstein, @quila, xillibit

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

More
15 years 8 months ago #58565 by @quila
Thank you lev to report this ;)

Regards

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

  • lev
  • lev's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Lorem Ipsum...
More
15 years 8 months ago #58573 by lev
By the way you can fix it so:
/components/com_kunena/template/default/plugin/poll/pollbox.php
line 47
Code:
<td class="kpoll-bar"><img class = "jr-forum-stat-bar" src = "<?php echo KUNENA_JLIVEURL."components/com_kunena/template/default/images/bar.png"; ?>" height = "10" width = "<?php if(isset($row->votes)) { echo (intval($row->votes*25)/5); } else { echo "0"; }?>"/></td>

Append to the end "alt="""
Code:
<td class="kpoll-bar"><img class = "jr-forum-stat-bar" src = "<?php echo KUNENA_JLIVEURL."components/com_kunena/template/default/images/bar.png"; ?>" height = "10" width = "<?php if(isset($row->votes)) { echo (intval($row->votes*25)/5); } else { echo "0"; }?>" alt=""/></td>

All errors are not!

Sorry for my English.

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

  • lev
  • lev's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Lorem Ipsum...
More
15 years 8 months ago #59525 by lev
Hi,

So it is not corrected this error!
In Kunena 1.6 RC2

Sorry for my English.

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

More
15 years 8 months ago - 15 years 8 months ago #59626 by xillibit
Untill now, i hadn't seen your post and nobody has added this fix, now i will add this fix

I don't provide support by PM, because this can be useful for someone else.
Last edit: 15 years 8 months ago by xillibit.

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

  • lev
  • lev's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Lorem Ipsum...
More
15 years 8 months ago #59661 by lev
Hi xillibit,

It is strange that until now have not seen this error ... Because more statistics that there is no error and only in the voting this error there.

Example code from More Statistics:
Code:
<td class="kcol-mid"> <img class = "kstats-bar" src = "http://www.kunena.com/components/com_kunena/template/default/images/bar.png" alt = "" height = "10" width = "100%" /> </td>

Or, for example link:
Code:
<p> <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a> </p>
Or
Code:
<p> <a href="http://jigsaw.w3.org/css-validator/check/referer"> <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Right CSS!" /> </a> </p>

Since <IMG> the syntax would be:
HTML
Code:
<img src="URL" alt="The alternative text">
XHTML
Code:
<img src="URL" alt="The alternative text" />

Also pay attention that "Alt" is present always, unlike "Title".

Sorry for my English.

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

Time to create page: 0.288 seconds