Polls no longer auto-start?? How to restart?

17 views
Skip to first unread message

Andrew Christensen

unread,
Sep 13, 2013, 1:14:00 AM9/13/13
to pollevery...@googlegroups.com
I've run into another problem. It seems that sometime in the last couple weeks Poll Everywhere changed things and now when you create and MCP through the API (using the gem), the poll has a note on it saying that you have to start the poll. It didn't used to be this way and I didn't change any code.

I've managed to work around it by adding :state=>'opened' to the from_hash and then adding @mcp.start right after the creation command

However, there's another problem.

We need to be able to create a series of polls in advance of our event and be able to activate/start them on-the-fly using our interface (and not have to use the timers in the PE widget etc). I tried to do the following (just like in the test scripts) after calling the config parameters:

@mcp = PollEverywhere::MultipleChoicePoll.get(
      :permalink => "abcdefgh"
)
@mcp.start

Obviously the abcdefgh is an example where in reality it's an actual permalink.

But I'm getting errors in the code. I have a feeling that I'm not querying to create the mcp object properly.

Can someone help me?

Thanks

Brad Gessler

unread,
Sep 13, 2013, 1:26:41 PM9/13/13
to pollevery...@googlegroups.com
Could you put the code, errors, and stack trace in a gist and include in a reply?

Brad

--
You received this message because you are subscribed to the Google Groups "Poll Everywhere Development & API Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polleverywhere-...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages