Kunena 7.0.8 Released

The Kunena team has announce the arrival of Kunena 7.0.8 [K 7.0.8] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.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 9 months ago - 16 years 9 months ago #30879 by paspoes
xillibit wrote:

Version for Kunena 1.5.6, no new features on it :

File Attachment:

File Name: hack_poll_...1008.zip
File Size:118.58 KB


this polls doesn't work, you can add the polls but you cann't see it
Last edit: 16 years 9 months ago by paspoes.

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

More
16 years 9 months ago #31297 by wizzie
Hi I have installed this hack and it is working ok, but I only see this on the buttons _KUNENA_POLL_TITLE

How do I go about changing the text

Darn these pesky computers they never work when you want them to!

Computer Problems? Then Visit Vale Hosting Support
Affordable Web Hosting With Vale Hosting

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

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

I think that you have fogotten to add language strings into administrator/components/com_kunena/language/kunena.yourlanguage.php

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 #31351 by wizzie
Thanks xillibit, that got it sorted :)

Darn these pesky computers they never work when you want them to!

Computer Problems? Then Visit Vale Hosting Support
Affordable Web Hosting With Vale Hosting

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

More
16 years 9 months ago - 16 years 9 months ago #31390 by JoniJnm
Hi xillibit,

There is a bug: when you post a new thread, edit this and make a poll. In the post.php:

//update the poll when an user edit his post

You have to sure that $datas is not null in:
if($datas[0]->options == $optionsnumbers){

Before this you should add:
if (!$data) {
//update #__fb_messages poll_exists to 1
/insert poll
}
elseif($datas[0]->options == $optionsnumbers){...}

I have try to edit the code but I dont know why do you use, for example:
if($datas[0]->options == $optionsnumbers){
$kunena_db->setQuery("UPDATE #__fb_messages SET poll_exist=1 WHERE id=$id");

If ($data) is not null, poll_exists is 1, or not?

I think that you will add:
if(!empty($polltitle) && !empty($optionsnumbers)){
//..
}
else {
//check if poll_exists
//if poll exists update to 0 and delete poll (the user deleted the options)
}

Also, I dont know why you use "messsage_id" instead "thread_id"

(sorry, my english is poor)
Last edit: 16 years 9 months ago by JoniJnm.

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

More
16 years 9 months ago #31478 by xillibit
Thanks for reporting this, i will check when i have time.

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