Polling Module show results only for admins

46 views
Skip to first unread message

tdxdave

unread,
Nov 12, 2012, 3:38:20 PM11/12/12
to bigblueb...@googlegroups.com
How feasible would it be to hide the results from a poll except for admin users?

If its possible where should I start to look to make this type of change?

Thanks
Dave

Chad Pilkey

unread,
Nov 12, 2012, 4:05:07 PM11/12/12
to bigblueb...@googlegroups.com
Dave,

You're question here, https://groups.google.com/d/msg/bigbluebutton-dev/50___TQ8MVI/aSU3XH59-4EJ, ties in together with this one so I'm just going to put a longer answer here.

Currently the presenter and any moderators can't vote on a poll, instead they see the Stats Window. So in that sense the final results are hidden from viewers. We ran into an issue though with the polling module and recordings. People wanted to know the results of a poll when they played back a meeting. The solution that was chosen was to generate chat messages from the results finished polls. This way any one viewing a recording can recall what was polled and what happened.

So if you want to hide the results from viewers you can, but you'll lose any recording capability. To disable the chat message you just have to comment out the contents of the method messageForRecording found here, https://github.com/capilkey/bigbluebutton/blob/poll-access/bigbluebutton-client/src/org/bigbluebutton/modules/polling/views/PollingStatsWindow.mxml#L161.

Chad

tdxdave

unread,
Nov 16, 2012, 8:42:07 PM11/16/12
to bigblueb...@googlegroups.com


On Monday, November 12, 2012 4:05:07 PM UTC-5, Chad Pilkey wrote:
Dave,

You're question here, https://groups.google.com/d/msg/bigbluebutton-dev/50___TQ8MVI/aSU3XH59-4EJ, ties in together with this one so I'm just going to put a longer answer here.

Currently the presenter and any moderators can't vote on a poll, instead they see the Stats Window. So in that sense the final results are hidden from viewers. We ran into an issue though with the polling module and recordings. People wanted to know the results of a poll when they played back a meeting. The solution that was chosen was to generate chat messages from the results finished polls. This way any one viewing a recording can recall what was polled and what happened.

So if you want to hide the results from viewers you can, but you'll lose any recording capability. To disable the chat message you just have to comment out the contents of the method messageForRecording found here, https://github.com/capilkey/bigbluebutton/blob/poll-access/bigbluebutton-client/src/org/bigbluebutton/modules/polling/views/PollingStatsWindow.mxml#L161.


Thanks Chad! I did figure this out since it was all in the one file. Since we want to hide the results altogether from regular users this is fine.

Now I need to find a way to access the data from the API to display from within the integration web admin interface.

In addition I also would need to get the chat transcripts and some more data. I'll probably ask some more questions soon. Thanks again.

Dave
Reply all
Reply to author
Forward
0 new messages