I am working on a project that requires some specific functionality, and I thought I would post it here in case someone has done this before or is looking to do the same thing.

I need to be able to have the voting options in my polls be nodes, imported via CCK nodereference autocomplete widget.

For example, I have a business directory of restaurants, and I want to create polls asking "which restaurant has the best service?" and "Which restaurant has the best happy hour?" etc., etc.

For the options, I want to be able to use nodereference widgets to find and import choices from my list of restaurants, both during the creation of the poll, and for other users who want to add (write in) additional choices. The result would have the node teasers displayed as voting options, with links back to the referred nodes.

To add some background, I originally planned to use a voting module like Vote Up/Down, but quickly realized that this would not work because it only allows you to vote on the node, not the question. For instance, a restaurant my have a great happy hour, but lousy service. Separating the question and voting from the node allows this flexibility, and the Advanced Poll module looks to be a great fit, if this modification can be made.

Thanks in advance for any help or guidance you can offer.

Comments

beauz’s picture

I am also looking for something along these lines, can I ask what you ended up using?

kirkcaraway’s picture

I ended up using the Advanced poll module. You can see the site here: http://bestography.com

Not quite finished with the site yet, still have other things to work on.

beauz’s picture

Thanks I ended up writing a custom module based on VotingAPI, Views and CCK nodereference. VotingAPI was actually pretty easy to work with directly.

scottsawyer’s picture

How'd you do it? I want users to enter their uploaded content (MP3's) to a weekly poll. There will be an Ubercart product that gives node access to enter the node reference to the track. I am concerned that the node reference may too difficult for novice users to figure out (I guess that is what help text is for :). The preferable method is to allow the user to upload the MP3 directly into the poll. Then voters can view a list of files and vote for their favorite.

gobinathm’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

D6 is EOL hence this issue won't be fixed (or) attended. So closing it.