Home arrow Support arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
[done] Rank Top 3 Out of 8 Choices? (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: [done] Rank Top 3 Out of 8 Choices?
#21496
fmark (User)
Fresh Lemon
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:[done] Rank Top 3 Out of 8 Choices? 1 Month, 2 Weeks ago Karma: 0  
I've got a working patch to add min_answers support to "Multiple Options" type questions for LimeSurvey 1.71. I haven't tested it thoroughly yet, however, nor ported it 1.8, nor does it support ranked questions yet (as ranked doesn't support max_answers in 1.71). As it is pretty simple, I would be happy to polish it up and do the necessary to make it work however.

If I do so, how would I go about getting this added to mainline for lime survey 1.8 or 1.9?
 
Logged Logged  
  The administrator has disabled public write access.
#21507
Mazi (Moderator)
Moderator Lime
Posts: 3503
graph
User Offline Click here to see the profile of this user
Re:[done] Rank Top 3 Out of 8 Choices? 1 Month, 2 Weeks ago Karma: 28  
We are very interested in your work. Would be great if we could integrate it into the next 1.80 release.

There are two options:
a) you get the latest source code by SVN and integrate your new feature
b) you wait for the next 1.80 RC2 release (will be out next week)

Then it's best if you can support us with a diff patch so we can easily put your changes into the core.

..and some testing would be nice, too

If you have questions about the limesurvey code or how to implement new features it's always best to join the limesurvey IRC .
Our developers don't hang around in the forum much so please contact them at our IRC.

Be patient, often our developers only answer after a few minutes or the developer who can help you isn't around. In this case please try again later.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#21697
fmark (User)
Fresh Lemon
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:[done] Rank Top 3 Out of 8 Choices? 1 Month, 1 Week ago Karma: 0  
Sorry for the delayed reply, the website has been unreachable for the last few days here in Australia.

I've rebased my patch against the current svn head (presumably 1.80RC2 now, last revision was r6092. It currently only implements min_answers for multiple options questions without comments (type M) but can be easily extended to do min_answers for multiple options with comments and ranking question types.

As this is my first patch for lime survey I would be keen to get a code review if possible as well. Can this discussion here, or would the bug tracker be a better venue.

Anyway, patch is attached. I look forward to receiving your feedback.

Cheers,

fmark
 
Logged Logged  
  The administrator has disabled public write access.
#21698
fmark (User)
Fresh Lemon
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:[done] Rank Top 3 Out of 8 Choices? 1 Month, 1 Week ago Karma: 0  
Hrmf, message boards ate my attachment (doesn't like ".diff" files), trying again as a ".txt" file.

-fmark
File Attachment:
File Name: min_answers.txt
File Size: 4210
 
Logged Logged  
  The administrator has disabled public write access.
#21699
ElMatador69 (Moderator)
LimeSurvey Team
Posts: 1603
graphgraph
User Offline Click here to see the profile of this user
Re:[done] Rank Top 3 Out of 8 Choices? 1 Month, 1 Week ago Karma: 31  
Please open a ticket in the bugtracker and attach your .diff-file there - the forum isn't the right place for such things - THX for your work!
 
Logged Logged  
 
Get in touch with the LimeSurvey Development Team via IRC
If our informations and answers were useful to you, please consider a donation to the LimeSurvey Project!
  The administrator has disabled public write access.
Go to top