Kunena 6.3.8 Released
The Kunena team has announce the arrival of Kunena 6.3.8 [K 6.3.8] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.
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
I have created a hack for add poll in kunena it's now functionnal but only on Kunena 1.0.11 and 1.5.12, for previous versions check in the thread,you make poll but with infinite options , but you can make suggestions and report bug or feature request for this hack.
Voting poll options
Add a new poll when you create a new thread :
Kunena 1.5.12 :
Changelog, an extended changelog is present in the archive :
v0.3.2.2
-Missing part of code in kunena.php to leverage polls
v0.3.2.1
-Forgot to put right to load the poll class
v0.3.2
-Change in backend to avoid the assertion failed error
-add the five popular polls into stats
v0.3.1
-Fix bug when an user vote on option where it exists already a vote
-fix undefined variable into pollbox when you allow multiples votes for the same user
v0.3.0
-Backport of the polls from kunena 1.6.0DEV to 1.5.8, this means some adaptations on the code
-Rewrite of the hack
-Use now a class nammed kunena.poll.class.php
-you can set a time for the live of the poll, this is optional
-little change on the database model
-you can't submit your post if you haven't filled the polltitle and the options, this shows an alert
-use the class for the polls instead some code
-when you delete a thread, if a poll exist there is delete too
v0.2.0
-Rewrite of the hack
-Use of a new database model
-Show in statiscs the five popular polls
-For prevent spam the users need to wait some time before vote a new time
-Add in the poll results the list of users which are voted for this poll
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.
Look at kunena.php and search for "getpreview". Something similar would do it.
Regarding bugs:
- Did you look at the html if you have hidden <input name="id"> in there?
- To show polls only once (per page), just move it to view.php
- Useless html: see above.
Please Log in or Create an account to join the conversation.
Did you mean that you will get the whole page instead of the info you were requesting?
yes is that.
I haven't think to do like this.- Did you look at the html if you have hidden <input name="id"> in there?
The logic poll for displayed it is in view.php, but on all the posts of the thread the poll is displayed like this and I want that is displayed only on the first post of the thread :- To show polls only once (per page), just move it to view.php
Now fixed
Do you have an idea for the wrong id when an want to save this post in edit mode ?
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.
Easiest way to show this only in the first message, is to check ($fmessage->parent == 0) before adding the poll html.
As for id: please look at your form (html) that it contains the right id.
Please Log in or Create an account to join the conversation.
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.
- johnnydement
-
- Offline
- Elite Member
- I'm back
![:) :)](/media/kunena/emoticons/8.png)
Please Log in or Create an account to join the conversation.
New version 0.1.1 with some improvements, read the first post
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.
- grumblemarc
-
- Offline
- Elite Member
- Still making trouble
- Posts: 1107
- Thank you received: 3
We love stars on the Joomla Extension Directory .
![:-) :-)](/media/kunena/emoticons/9.png)
Please Log in or Create an account to join the conversation.
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.
Now, I have fixed this bug, it was before the v0.1
i am using your hack, but i get a error after trying to publish.
error:
An unknown SQL error occured and your message was not posted. If the problem persists, please contact the administrator.
Please Log in or Create an account to join the conversation.