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

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 1.7, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Loved Hack poll v0.3.2.2 for Kunena 1.5.12 and 1.0.11

More
16 years 5 months ago #32586 by xillibit
NLkaiser wrote:

I got a bug, you should add a post.php in the default_ex template map ;)

Hello,

Can you precise this, because it's hard to understand ?

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 5 months ago #32608 by Foggo
dyominroma wrote:

how i may fix this


I fixed it by using the post from lavsteph:

Change pollbox.php around line 36
Code:
echo "<fieldset><legend style=\"font-size: 14px;\">"._KUNENA_POLL_OPTIONS."</legend><ul>"; for($i=0; $i < $this_poll_data[0]->options;$i++){ echo "<li><input type=\"radio\" name=\"radio\" id=\"radio_name".$i."\" value=\"".$this_poll_data[$i]->text."\" />".stripslashes($this_poll_data[$i]->text)."<li>"; } echo "</ul></fieldset>";

by
Code:
echo "<fieldset><legend style=\"font-size: 14px;\">"._KUNENA_POLL_OPTIONS."</legend><dl>"; for($i=0; $i < $this_poll_data[0]->options;$i++){ echo "<dt><input type=\"radio\" name=\"radio\" id=\"radio_name".$i."\" value=\"".$this_poll_data[$i]->text."\" />".stripslashes($this_poll_data[$i]->text)."</dt>"; } echo "</dl></fieldset>";

Just change the "ul" in "dl" and the "li" into "dt" and the dots are gone.

And me too am strugling to get the results shown in IE 8.0
In FF everything works excellent (many thanks for this hack btw) but in IE I have a problem to show the results. I can vote, and they are recorded in the DB, but I can see them.
I am still searching for the answer.

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

More
16 years 5 months ago - 16 years 5 months ago #32614 by JoniJnm
One bug ( Foggo's image ), plugins/pollbox.php
Code:
echo "<li><input type=\"radio\" name=\"radio\" id=\"radio_name".$i."\" value=\"".$this_poll_data[$i]->text."\" />".stripslashes($this_poll_data[$i]->text)."<li>"
By
Code:
echo "<li><input type=\"radio\" name=\"radio\" id=\"radio_name".$i."\" value=\"".$this_poll_data[$i]->text."\" />".stripslashes($this_poll_data[$i]->text)."</li>";

If you want an extra bullet:
Code:
echo "<li><input type=\"radio\" name=\"radio\" id=\"radio_name".$i."\" value=\"".$this_poll_data[$i]->text."\" />".stripslashes($this_poll_data[$i]->text)."</li><li>&nbsp;</li>";
Last edit: 16 years 5 months ago by JoniJnm.

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

More
16 years 5 months ago #32621 by Foggo
You're right, but I used the post from lavsteph who has mentioned to add the / at the end.

But if you don't want any dots/bullets before your poll options, you can change it to dl and dt.
I believe that was the question that dyominroma and JBHawaii asked

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

More
16 years 5 months ago - 16 years 5 months ago #32710 by xillibit
New version v0.1.8.2 of the Hack Poll which works on Kunena 1.5.6 :

v0.1.8.2
-FIX : double dots in pollbox (thanks lavsteph, jonijnm...)
-FIX : language strings for english improved (thanks Azure)
-ADD : language strings for brazilianpt (thanks lonnewolf)
-ADD : language strings for russian (thanks dyominroma)
-ADD : new configuration setting which can allow only cetain categories to have a poll

File Attachment:

File Name: hack_poll_v0.gz
File Size:108.35 KB


This version has two news language string, so the following language need to be updated : italian, spanish, dutch, german, brazilanpt and russian.

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

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

More
16 years 5 months ago #32766 by NLkaiser
I get this error ;)
Script: /administrator/components/com_kunena/admin.kunena.php
Line: 889

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

Time to create page: 0.298 seconds